Moderator: Moderators
Awesome
With xdg_menu
$ xdg_menu --format awesome >>~/.config/awesome/menu.lua
Then edit your rc.lua as shown below
Add a require statment for your new menu.lua file
Add an entry to your awful.menu object for your new menu which calls xdgmenu
...
require("menu")
...
...
mymainmenu = awful.menu({ items = { { "awesome", myawesomemenu, beautiful.awesome_icon },
{ "Applications", xdgmenu },
{ "open terminal", terminal }
}
})
...sabayonuser@localhost ~ $ xdg-desktop-menu --help
xdg-desktop-menu - command line tool for (un)installing desktop menu items
Synopsis
xdg-desktop-menu install [--noupdate] [--novendor] [--mode mode]
directory-file(s) desktop-file(s)
xdg-desktop-menu uninstall [--noupdate] [--mode mode] directory-file(s)
desktop-file(s)
xdg-desktop-menu forceupdate [--mode mode]
xdg-desktop-menu { --help | --manual | --version }
Use 'man xdg-desktop-menu' or 'xdg-desktop-menu --manual' for additional info.
Return to Beginners|Newbies Area
Users browsing this forum: No registered users and 2 guests