You are not logged in.
Hi, All!
I want to start discussion about menu hierarchy for window managers and
it's autogeneration from .desktop files.
So I create wiki page
http://wiki.archlinux.org/index.php/WM_Menu_hierarchy
Feel free to edit and discuss...
Offline
I want to implement it after discussion if ready-to-use solution will not be found.
Offline
Surely this should be based on the freedesktop catergories? Or is it already?
Offline
Yes, I'm going to use Categories from .desktop file. I'm not sure how, but I hope to find some solution to map Categories to menu tree item. This is subject to discuss too.
Offline
What's the use of the .desktop files?
Coming from Debian I was used to having the menus (was using Fluxbox at the time) updated whenever I installed/remove anything.. however after moving to Arch Linux and switching to Openbox I've managed my menus manually and I prefer to keep it that way. Hence I would like it to be an optional thing.
PC: Antec P182B | Asus P8Z77-V PRO | Intel i5 3570k | 16GB DDR3 | GeForce 450GTS | 4TB HDD | Pioneer BDR-207D | Asus Xonar DX | Altec Lansing CS21 | Eizo EV2736W-BK | Arch Linux x86_64
HTPC: Antec NSK2480 | ASUS M3A78-EM (AMD 780G) | AMD Athlon X3 425 | 8GB DDR2 | GeForce G210 | 2TB HDD | Arch Linux x86_64
Server: Raspberry Pi (model B) | 512MB RAM | 750GB HDD | Arch Linux ARM
Offline
...or it should be separated submenu with autogenerated items.
Btw - freedesktop standard - http://standards.freedesktop.org/menu-s … atest.html
Offline
What's the use of the .desktop files?
It provides info about icon, localized application name, etc. Should be used by different DEs.
Offline
I finished my research.
gnome and kde are xdg compatible. So they picks up .desktop files
automaticaly.
TODO:
- make common xdg configuration in /etc/xdg/menu and
/usr/share/desktop-directories. (gnome/kde have own)
- write parser for xdg XML (perl) to simplify output format
- write few WM methods which take parsed output from xdg parser and make
menu items.
Output format from xdg parser:
path/to/application1/in/menu
icon-name1.png
command to run app1
long application1 description
path/to/application2/in/menu
icon-name2.png
command to run app2
long application2 description
4 lines per menu item.
Suggestions?
Offline
I put xdg-menu package into AUR
http://aur.archlinux.org/packages.php?d … 1&ID=10286
and create a wiki page
http://wiki.archlinux.org/index.php/XdgMenu
Please test it and give me feedback.
Offline