Support Requests item #701167, was opened at 2003-03-10 17:05
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428681&aid=701167&group_id=40696
Category: None
Group: None
Status: Open
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: putting a command in menu - failure
Initial Comment:
I'm attempting to put something into my menu file so
that I can lock the screen(using xscreensaver) from the
menu. What I'm putting in is this: [exec] (Lock
Screen) {xscreensaver-command -lock}
However, when I click on the menu item that I've
created, nothing happens. I've run the same command
from a terminal and had it work. I find this rather
puzzling. Is there something that I've missed, or
should this work?
Susannah Larrabee
[EMAIL PROTECTED]
----------------------------------------------------------------------
Comment By: Scott R. Godin (webdragon)
Date: 2003-03-10 23:21
Message:
Logged In: YES
user_id=231518
I start xscreensaver from .Xclients with the line
xscreensaver &
then, once blackbox is running, I have the following menu
items controlling things.
[submenu] (X Utils) {X Utilities}
[submenu] (ScreenSaver) {}
[exec] (Activate Screensaver Now)
{xscreensaver-command -activate}
[exec] (LOCK Screensaver Now)
{xscreensaver-command -lock}
[exec] (Screensaver Prefs)
{xscreensaver-command -prefs}
[exec] (Screensaver Demo Mode)
{xscreensaver-command -demo}
[end]
etc..etc...etc...
ignore the linewrapping. This is blackbox 0.65.0 final, and
it DOES work. EVEN with extra parameters.
Normally I use bbconf to configure the menu. recommended.
----------------------------------------------------------------------
Comment By: Ciprian Popovici (sfrowd)
Date: 2003-03-10 18:37
Message:
Logged In: YES
user_id=667423
Check the error messages on the console you started X from.
My guess is that you can't execute that command from the
menu because it contains extra parameters. Latest BlackBox
versions can only execute programs or scripts from the menu,
without parameters. Try putting that command in a script,
then run that script instead from the menu.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=428681&aid=701167&group_id=40696
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
List archives: http://asgardsrealm.net/lurker/splash/index.html
Trouble? Contact [EMAIL PROTECTED]