Active Topics

 


Reply
Thread Tools
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#1
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.
Attached Images
 
 
andrewfblack's Avatar
Posts: 1,656 | Thanked: 1,196 times | Joined on Apr 2008 @ Alabama, USA
#2
Originally Posted by munky261 View Post
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.
__________________
Home Page - Preenv Wiki

**All Posts are made as a Community Member and not as a Super Moderator of this site.
 
munky261's Avatar
Posts: 1,674 | Thanked: 171 times | Joined on Mar 2007 @ Anderson, IN
#3
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?
 

The Following User Says Thank You to munky261 For This Useful Post:
ian_ryge's Avatar
Posts: 138 | Thanked: 262 times | Joined on Oct 2006
#4
Originally Posted by munky261 View Post
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
Code:
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).

Let me know if anything is unclear.

Last edited by ian_ryge; 2009-02-07 at 00:06.
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#5
Originally Posted by ian_ryge View Post
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).
"gtk-update-icon-cache" doesn't work either?
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:24.