atom icon indicating copy to clipboard operation
atom copied to clipboard

The icons don't show up

Open mikwee opened this issue 3 years ago • 5 comments

I installed the package, and for some reason many icons don't show up. Only the .rb icon shows Why is that? Thank you.

mikwee avatar Aug 08 '22 12:08 mikwee

Seems to be a conflict with another package. What other packages have you installed? You can find out by running the following command in your terminal:

apm list -i

Alhadis avatar Aug 08 '22 13:08 Alhadis

I think it didn't put apm in my PATH, but here's the active packages: Pulsar_Edit_rds3UyXMPX

mikwee avatar Aug 08 '22 13:08 mikwee

I think it didn't put apm in my PATH

You can install apm by running Install Shell Commands from the application menu.

but here's the active packages:

Disable each of the other packages one-by-one, restarting the editor every time you do. That should help you locate the offending package.

Alhadis avatar Aug 12 '22 17:08 Alhadis

I disabled each of them and both, and got the same result. Disabling file-icons removes the icons, predictably.

mikwee avatar Aug 14 '22 12:08 mikwee

Alright, so the only possibility left is that the package wasn't installed correctly. This sometimes happens when a connection is interrupted during an installation (the bundled icon-fonts do contribute to an above-average tarball size…)

Run the steps documented here, and try reinstalling file-icons again. I recommend using NPM instead of APM, since APM (Atom's package manager) seems to lack error-handling whatsoever (therefore resulting in corrupted downloads being "installed"…)

rm -rf ~/.atom/.apm ~/.atom/packages/file-icons
cd ~/.atom/packages
git clone https://github.com/file-icons/atom.git file-icons && cd file-icons
npm install --production # Installs runtime dependencies needed by the package
# Then restart Atom

Alhadis avatar Aug 14 '22 12:08 Alhadis