Discussion:
[Fluxbox-users] keys: exec and ShowDesktop on same line?
Jonathan Reed
2010-02-15 20:05:47 UTC
Permalink
I'd like create a shortcut for showing the desktop and then locking my
screen but i cant seem to get the :ShowDesktop function and the :exec to
bind to a key on the same line in the keys file.
Heres what I have tried:

*Mod4 d :ShowDesktop
Mod4 o :exec Mod4 d && xtrlock*

and..

*Mod4 d :ShowDesktop
Mod4 o :ShowDesktop :exec xtrlock
*

Any suggestions?
Sven Michel
2010-02-15 20:36:01 UTC
Permalink
Post by Jonathan Reed
I'd like create a shortcut for showing the desktop and then locking my
screen but i cant seem to get the :ShowDesktop function and the :exec
to bind to a key on the same line in the keys file.
/Mod4 d :ShowDesktop
Mod4 o :exec Mod4 d && xtrlock/
and..
/Mod4 d :ShowDesktop
Mod4 o :ShowDesktop :exec xtrlock
/
Any suggestions?
Yes, what about reading the wiki page?
http://www.fluxbox-wiki.org/index.php?title=Keyboard_shortcuts#MacroCmd_Syntax

Regards,
tenner
Post by Jonathan Reed
------------------------------------------------------------------------
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
------------------------------------------------------------------------
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Jonathan Reed
2010-02-15 20:54:50 UTC
Permalink
wonderful!

Mod1 l :MacroCmd {ShowDesktop} {Exec xtrlock}

did the trick.
Post by Sven Michel
Post by Jonathan Reed
I'd like create a shortcut for showing the desktop and then locking my
screen but i cant seem to get the :ShowDesktop function and the :exec to
bind to a key on the same line in the keys file.
/Mod4 d :ShowDesktop
Mod4 o :exec Mod4 d && xtrlock/
and..
/Mod4 d :ShowDesktop
Mod4 o :ShowDesktop :exec xtrlock
/
Any suggestions?
Yes, what about reading the wiki page?
http://www.fluxbox-wiki.org/index.php?title=Keyboard_shortcuts#MacroCmd_Syntax
Regards,
tenner
Post by Jonathan Reed
------------------------------------------------------------------------
------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev
------------------------------------------------------------------------
_______________________________________________
Fluxbox-users mailing list
https://lists.sourceforge.net/lists/listinfo/fluxbox-users
Loading...