r0nster
09-23-2001, 04:27 PM
By browsing the xscreensaver manual page, I came across a good tip to add an xscreensaver menu to Enlightenment's menu system. Take in mind you can use this to make your own custom menus. First create a file named xscreensaver.menu in your ~/.enlightenment dir. Within my xscreensaver.menu, I have the following: "XScreenSaver Commands"
"Blank Screen Now" NULL exec "xscreensaver-command -activate"
"Lock Screen Now" NULL exec "xscreensaver-command -lock"
"Screen Saver Demo" NULL exec "xscreensaver-command -demo"
"Screen Saver Prefs" NULL exec "xscreensaver-command -prefs"
"Reinitialize Saver" NULL exec "xscreensaver-command -restart"
"Kill Screen Saver" NULL exec "xscreensaver-command -exit"
"Launch Screen Saver" NULL exec "xscreensaver"
be sure that xscreensaver is in your $PATH :)
Now, to add the xscreensaver menu to the existing menu system... Open up file.menu and add this to the existing list:
"XScreensaver" NULL menu "xscreensaver.menu"
save your changes and restart Enlightenment to be safe. Your new xscreensaver menu should be amongst the other entries :)
Taking this tip a bit further, you can make your own sub-menus for things like: e-mail, chat clients, office apps, games,and so on.
Have fun :)
[ 23 September 2001: Message edited by: r0nster ]
"Blank Screen Now" NULL exec "xscreensaver-command -activate"
"Lock Screen Now" NULL exec "xscreensaver-command -lock"
"Screen Saver Demo" NULL exec "xscreensaver-command -demo"
"Screen Saver Prefs" NULL exec "xscreensaver-command -prefs"
"Reinitialize Saver" NULL exec "xscreensaver-command -restart"
"Kill Screen Saver" NULL exec "xscreensaver-command -exit"
"Launch Screen Saver" NULL exec "xscreensaver"
be sure that xscreensaver is in your $PATH :)
Now, to add the xscreensaver menu to the existing menu system... Open up file.menu and add this to the existing list:
"XScreensaver" NULL menu "xscreensaver.menu"
save your changes and restart Enlightenment to be safe. Your new xscreensaver menu should be amongst the other entries :)
Taking this tip a bit further, you can make your own sub-menus for things like: e-mail, chat clients, office apps, games,and so on.
Have fun :)
[ 23 September 2001: Message edited by: r0nster ]