You are not logged in.
Hi,
I was wondering if it was possible to define a keybind with only one key. For example, when I press the windows key only, it runs a program of my choice.
But, I would like to have other keybinds at the same time which use the windows key too, but with another key. For example W-x and W-f but also W only.
How can I do this with openbox?
Offline
Do you have it working in another WM/DE?
Since there is no way to tell for your WM to discern between W and W+$whatever afaik, I think it's a rather stupid idea. However, you can dive right in and edit rc.xml and test for yourself.
You can be your very own guinea pig. Exciting isn't it .
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Do you have it working in another WM/DE?
Since there is no way to tell for your WM to discern between W and W+$whatever afaik, I think it's a rather stupid idea. However, you can dive right in and edit rc.xml and test for yourself.
You can be your very own guinea pig. Exciting isn't it .
Actually it isn't working if only "W" is specified in rc.xml.
That's why I'm asking if there's another trick to get this working.
I think I was able to do this either in gnome or xfce, can't remember which, though.
Offline
Why not try a simple mnemonic system: 'Windows-f' launches Firefox, 'Windows-x' launches xterm, and so on.
Offline
It is possibe. I believe "SuperL" or "SuperR" are the labels for the windows keys on your keyboard. Place in the appropriate part of rc.xml and presto!
Offline
It is possibe. I believe "SuperL" or "SuperR" are the labels for the windows keys on your keyboard. Place in the appropriate part of rc.xml and presto!
This works perfectly as long as you only have this keybind that uses Super_L. Thanks.
But if I have this in rc.xml:
<keybind key="W-x">
<action name="Execute">
<execute>urxvt</execute>
</action>
</keybind>
<keybind key="Super_L">
<action name="Execute">
<execute>leafpad</execute>
</action>
</keybind>
When pressing Super, it runs leafpad. Fine.
But when pressing Super+x, it first runs leafpad, and then urxvt. It there some way to make this only run urxvt?
Offline