You are not logged in.
Hi,
I was wondering if I can specify the icons for applications. Currently my gVim is using a "general" icon when in the panel but has the right icon when I create a launcher. This is how it looks like. Any suggestions?
Thanks!
Last edited by dsdeiz (2011-01-10 00:50:57)
Offline
Sure!
Right-click on it and select "edit launcher"
Offline
Hi, actually the launcher is just fine. It's the icon in the panel and the actual window that isn't using gvim's default icon.
Offline
Then you need to edit gvim's .desktop file.
I don't know the exact name since I don't have it installed, but it will probably be gvim.desktop, inside /usr/share/applications
Offline
Hi,
Yep, I have a gvim.desktop in /usr/share/applications. What it contains is:
Type=Application
TryExec=gvim
Exec=gvim
Icon=gvim
Terminal=false
...
Type=Application
TryExec=gvim
Exec=gvim
Icon=gvim
Terminal=false
There is also gvim.png in /usr/share/pixmaps.
Offline
I never use desktop icons, so I may be way off base.
But have you tried giving the full path to the gvim.png ?
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Heya, tried your suggestion. I've put:
Icon=/usr/share/pixmaps/gvim.png
Then restarted x and ran but no dice.
Offline
I believe that should have worked...
have you checked file/folder permissions ?
Offline
Err, it was gvim specific. I wasn't able to set the 'i' flag for guioptions in my .gvimrc.. Thanks!
Last edited by dsdeiz (2011-01-10 01:02:20)
Offline