You are not logged in.

#1 2011-07-10 12:48:12

grandmouse
Member
From: germany, bonn
Registered: 2005-05-14
Posts: 90

[Workaround] archlinux-xdg-menu (0.7.5.1-1) makes no category icons

at least in my case with icewm

/usr/bin/xdg_menu seems to fail at line 1652:

my $menu_icon = findicon($menu->{'PrepIcon'}) || "folder";

it can not find the menu category icons (*.directory entries in /usr/share/desktop-directories) and defaults to "folder"

workaround:

change icon name to menu name in /usr/bin/xdg_menu

#my $menu_icon = findicon($menu->{'PrepIcon'}) || "folder";
my $menu_icon = $menu_name.'.png';

update-menus

symlink ~/.icewm/themes/my_theme/icons/<category>.png
to ~/.icons/my_icons/categories/16/my_category_icon.png for all menu folders.
The category names are just the names displayed when you open the menu, therefore language dependant.

Last edited by grandmouse (2011-07-11 11:14:32)

Offline

Board footer

Powered by FluxBB