You are not logged in.

#1 2009-05-21 19:13:11

tuxfusion
Member
Registered: 2007-12-31
Posts: 98

openbox single button shortcut advise

Hi all,

my goal is to link Openbox root-menu to just the "Super" key this is simple :

  <keybind key="Super_L">
      <action name="ShowMenu">
        <menu>root-menu</menu>
      </action>
    </keybind>

however i have multiple binds to Super, like Super+Rclick , Super-<single keys for applications>
example :

  <keybind key="W-e">
      <action name="Execute">
        <startupnotify>
          <enabled>true</enabled>
          <name>thunar</name>
        </startupnotify>
        <command>thunar</command>
      </action>
    </keybind>

the W-e stands for windooze key+e.

Now the root-menu bind at the beginning gets called even if i do a "chain" like W-e , W-t which brakes all those binds.
There is a press/click event for the mouse which might help here but not so for the keyboard.
Is there another way to solve this ?

Regards

Offline

#2 2009-05-22 00:01:18

Knute
Member
From: Minot, ND
Registered: 2009-03-17
Posts: 604

Re: openbox single button shortcut advise

You need to choose....  Either the root menu on one key, or your other bindings.

Maybe you could link the root menu to the letter "e"!  roll

The way that openbox does things prevents what you want to do, as it can't tell if you want the chain or not.

I suppose that you could link those things as hotkeys in your menu that way when you hit the windblows key, the menu will come up and then e would run thunar.   That is, if I'm thinking openbox can do that.  Check on openbox.org and see.

HTH


Knute

Offline

Board footer

Powered by FluxBB