View Full Version : A Couple Of Icon Questions
munky261
02-04-2009, 05:37 AM
I was wondering if anyone knows how to make a program display a certain icon in the task navigator when opened. As you can can see the icon for the email client is too big, I eedited the .desktop file to tell it to display this icon in the app menu....but then not it doesnt display the small icon anymore when open. I have edited other .desktop files the same way and the small icons still show right though some others dont as well. Can anyone sugeggest a line I can add to the .desktop file to fix this? Now for my second question...when a program launches either by the standard app menu or personal menu or whatever...and when the banner pops up some programs display an icon with it and some dont is there anyway i can make the default behavior for ALL programs to not show an icon with the text? Ideally something on the command ine, but i can edit all .desktop files if necessary.
andrewfblack
02-04-2009, 09:03 AM
I was wondering if anyone knows how to make a program display a certain icon in the task navigator when opened. As you can can see the icon for the email client is too big, I eedited the .desktop file to tell it to display this icon in the app menu....but then not it doesnt display the small icon anymore when open. I have edited other .desktop files the same way and the small icons still show right though some others dont as well. Can anyone sugeggest a line I can add to the .desktop file to fix this? Now for my second question...when a program launches either by the standard app menu or personal menu or whatever...and when the banner pops up some programs display an icon with it and some dont is there anyway i can make the default behavior for ALL programs to not show an icon with the text? Ideally something on the command ine, but i can edit all .desktop files if necessary.
If you changed the name of the icon make sure you have the right small icon in the right place. I think the best thing is to not rename the icons just replace them. Then you don't have to edit .desktop files.
munky261
02-04-2009, 09:14 AM
I went thru and tried every icon possible and none would change the app menu icon. How can I make a different icon show in the task navigator?
ian_ryge
02-06-2009, 07:03 PM
I went thru and tried every icon possible and none would change the app menu icon. How can I make a different icon show in the task navigator?
I only tried theming the email app icons (the various sizes of qgn_list_messagin.png), but since it worked for those I bet it will work for other apps too. Andrew is correct, you shouldn't edit the .desktop file for this purpose.
The small icons (for open apps) can be found in /usr/share/icons/hicolor/26x26/hildon/
Of course, if you replace icons in the hicolor directory, the change will apply to all themes, which probably isn't what you want.
Instead, put your new icons in the appropriate theme directory, i.e.
/usr/share/icons/THEME-NAME/26x26/hildon/qgn_list_messagin.png
Note that if a theme includes a 26x26 version of an icon, but not the other sizes, the small icon will be scaled and used for all sizes (which is ugly). So, for any 26x26 icon that you theme, you'll also want to make versions for any other sizes you find in the hicolor directory. (In the case of qgn_list_messagin.png, the hicolor directory includes versions in 26x26, 64x64, and scalable).
After adding or replacing icons, be sure to run gtk-update-icon-cache -f /usr/share/icons/THEME-NAME/
Also, note that while app icons are themable, you'll have to either restart or run 'killall hildon-desktop' after switching themes for these icons to change (Maemo bug 3659 (https://bugs.maemo.org/show_bug.cgi?id=3659)).
Let me know if anything is unclear.
BrentDC
02-06-2009, 09:24 PM
Also, note that while app icons are themable, you'll have to either restart or run 'killall hildon-desktop' after switching themes for these icons to change (Maemo bug 3659 (https://bugs.maemo.org/show_bug.cgi?id=3659)).
"gtk-update-icon-cache" doesn't work either?
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.