Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Icon guidelines for Linux/Gentoo/Gnome?
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message

Joined: 10 Sep 2004
Posts: 44
Location: Berlin

PostPosted: Mon Feb 17, 2014 1:37 am    Post subject: Icon guidelines for Linux/Gentoo/Gnome? Reply with quote

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
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
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
View user's profile Send private message

Joined: 17 Aug 2005
Posts: 1705
Location: Switzerland (Romandie)

PostPosted: Wed Mar 19, 2014 6:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

Jump to:  
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