Victor Ananjevsky
2011-09-19 17:01:02 UTC
Hi, List
Please look at program i wrote for creating dynamic xdg menus in fvwm.
http://pastebin.com/TmhLRFfp
This program creates menus with icons and localized names. Each submenu is a
dynamic menu creates with DynamicPopupAction.
System icons caches in $XDG_CONFIG_HOME/fvwm, so this path mus be added to
fvwm's ImagePath
Program runs as
fvwmmenu [-s SIZE] [-t TERM] MenuName [/Path/To/Submenu]
Parameter '-s' sets the size of cached icons. By default size of icons for
menu from gtk settings is used. '-t' sets the command for terminal emulator.
By default it is sets to "xterm". Terminal command must understand '-e' parameter
for launching applications.
MenuName is a case-insensitive menu name, for example "Applications" or
"Settings". Special menu name "Recent" create menu for recently opened files.
Optional argument /Path/To/Submenu specifies only one submenu to create.
For example, command 'fvwmmenu Applications /Development' create only
Development menu for Applications.
Program requires gtk+ and gnome-menus.
Hope it will be useful not only for me. Any comments or suggestions are
very appreciated.
Please look at program i wrote for creating dynamic xdg menus in fvwm.
http://pastebin.com/TmhLRFfp
This program creates menus with icons and localized names. Each submenu is a
dynamic menu creates with DynamicPopupAction.
System icons caches in $XDG_CONFIG_HOME/fvwm, so this path mus be added to
fvwm's ImagePath
Program runs as
fvwmmenu [-s SIZE] [-t TERM] MenuName [/Path/To/Submenu]
Parameter '-s' sets the size of cached icons. By default size of icons for
menu from gtk settings is used. '-t' sets the command for terminal emulator.
By default it is sets to "xterm". Terminal command must understand '-e' parameter
for launching applications.
MenuName is a case-insensitive menu name, for example "Applications" or
"Settings". Special menu name "Recent" create menu for recently opened files.
Optional argument /Path/To/Submenu specifies only one submenu to create.
For example, command 'fvwmmenu Applications /Development' create only
Development menu for Applications.
Program requires gtk+ and gnome-menus.
Hope it will be useful not only for me. Any comments or suggestions are
very appreciated.
--
Victor Ananjevsky <***@gmail.com>
Victor Ananjevsky <***@gmail.com>