View previous topic :: View next topic |
Author |
Message |
trollo n00b
Joined: 10 Sep 2004 Posts: 44 Location: Berlin
|
Posted: Mon Feb 17, 2014 1:37 am Post subject: Icon guidelines for Linux/Gentoo/Gnome? |
|
|
I just spent some time getting a proper icon for media-sound/picard on my relatively fresh Gnome 3 system. It initially just installed a picard.ico into /usr/share/pixmaps/ which apparently wasn't recognized by Gnome. I don't know much about ebuilds, but I decided to meddle around with it a bit in my local overlay.
First I tried to install picard.svg (there are SVGs in the source package) into /usr/share/icons/hicolor/scalable/apps/ with
Code: | newicon -s scalable resources/img-src/Picard-256.svg picard.svg |
which I thought to be the proper location. Didn't work. (The file was correctly copied but Gnome didn't display the icon)
Then I tested creating ~/.icons/hicolor/scalable/apps as user and putting picard.svg in there. This worked, but didn't satisfy me since I wanted to make the ebuild properly install the icon globally, so I tried my luck installing it into /usr/share/pixmaps/ with
Code: | newicon resources/img-src/Picard-256.svg picard.svg |
and it worked as well.
But to be honest, I'm confused. So before I open a bug with my fixed ebuild, I want to understand this. Why didn't my first approach work? What are the guidelines regarding icon locations in Linux/Gentoo/Gnome? Why are ebuilds even installing *.ico files, isn't that a Windows format? |
|
Back to top |
|
|
Dominique_71 Veteran
Joined: 17 Aug 2005 Posts: 1877 Location: Switzerland (Romandie)
|
Posted: Wed Mar 19, 2014 6:47 pm Post subject: |
|
|
It's explained into the devman. As you was able to use the newicon command, I guess you read that.
It can be a problem with the desktop file provided by picard in /usr/share/applications. If the icon name is provided, and is not the same as the one you used, your desktop will fail to show the icon. I am also not sure if you can have svg files into /usr/share/icons. If not explained into the devman, you can find it into the freedesktop menu specification at freedesktop.org _________________ "Confirm You are a robot." - the singularity |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|