You are not logged in.
Pages: 1
i dont know why it is not in wiki https://wiki.archlinux.org/index.php/XdgMenu
xdg generate menus for awesome two
$ xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu >~/.config/awesome/xdg-menu.lua
it generate something like this
menu98edb85b00d9527ad5acebe451b3fae6 = { {"Avant Window Navigator", "avant-window-navigator"},
..
menud334dfcea59127bedfcdbe0a3ee7f494 = { {"DraftSight", "\"/opt/dassault-systemes/draftsight/bin/DraftSight\""},
...
menuc8205c7636e728d448c2774e6a4a944b = { {"Avahi SSH Server Browser", "/usr/bin/bssh"},
...
xdgmenu = { {"Accessories", menu98edb85b00d9527ad5acebe451b3fae6},
{"Graphics", menud334dfcea59127bedfcdbe0a3ee7f494},
{"Internet", menuc8205c7636e728d448c2774e6a4a944b},
i just dont know how to call that file in rc.lua to be a submenu. i'am not in lua... so any ideas?
Last edited by simke (2011-06-03 19:58:37)
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline
To me it looks like the lua syntax used in Awesome's rc.lua. You can probably just past it in rc.lua and replace the default example menu.
github - tweets
avatar: The Oathmeal
Offline
yes. i use it that way.
but when i install new application, copy paste again! there is a simple way, but i dont know how!
Last edited by simke (2011-06-03 20:32:38)
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline
it is simple!
$ xdg_menu --format awesome --root-menu /etc/xdg/menus/arch-applications.menu >~/.config/awesome/xdg-menu.lua
and add to rc.lua require("xdg-menu"), and {"xdg", xdgmenu} to menu
...
require("xdg-menu")
...
...
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{"xdg", xdgmenu},
...
Last edited by simke (2011-06-03 20:48:01)
I'm a Paladin with 18 charisma and 97 hit points. I can use my helm of disintegration and do one D4 damage as my half-elf mage wields his plus-five holy avenger.
Offline
Pages: 1