You are not logged in.

#1 2011-10-12 18:59:54

possiblefool
Member
From: UK
Registered: 2011-06-18
Posts: 29

Disable openbox bindings[solved] cant be done!

I'm trying to learn the basics of blender as Im thinking about taking a design course, but some of the keyboard shortcuts & mouse controls dont work, as they match my openbox ones.
One option of course is to change either ob/blender's current bindings but I'd rather not for obvious reasons.
Is there any way to disable bindings for a particular program? I'm guessing not as neither the arch or openbox wiki seem to mention such an option but I figured I'd check if anyone had an alternate solution before I start busting up my rc.

Last edited by possiblefool (2011-10-12 20:10:24)

Offline

#2 2011-10-12 19:14:52

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: Disable openbox bindings[solved] cant be done!

<!--
    ...
-->
openbox --reconfigure

Offline

#3 2011-10-12 19:30:44

possiblefool
Member
From: UK
Registered: 2011-06-18
Posts: 29

Re: Disable openbox bindings[solved] cant be done!

Erm, sorry if I'm being dense here kaustic.. are you pointing me toward a fix, or was that just your clever way of saying that I'll need to change the shortcuts?!

Offline

#4 2011-10-12 19:39:42

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: Disable openbox bindings[solved] cant be done!

possiblefool wrote:

Erm, sorry if I'm being dense here kaustic.. are you pointing me toward a fix, or was that just your clever way of saying that I'll need to change the shortcuts?!

He suggests to comment out some relevant section. tongue
But in fact you will have to change the shortcuts. I for example did change the openbox keys to some sequences which usually do not interfere with those the applications usually need. Just something like this using the Windows (W) key as some kind of "openbox hotkey".

    <!-- Keybindings for window switching -->
    <keybind key="W-Tab">
      <action name="NextWindow">
	<dialog>none</dialog>
      </action>
    </keybind>
    <keybind key="W-S-Tab">
      <action name="PreviousWindow"/>
    </keybind>
    <keybind key="C-W-Tab">
      <action name="NextWindow">
        <panels>yes</panels>
        <desktop>yes</desktop>
      </action>
    </keybind>

BTW search the forums. There are several topics on openbox keybindings.


To know or not to know ...
... the questions remain forever.

Offline

#5 2011-10-12 19:40:02

Earnestly
Member
Registered: 2011-08-18
Posts: 805

Re: Disable openbox bindings[solved] cant be done!

Ah, what bernarcher said.

You could possibly make a script with sed and hack your way to success; but you'd probably be better off with what bernarcher suggested if it's possible.

(ps: I have tried to use <!DOCTYPE> and <!ENTITY> to try include a seperate .xml file containing keybinds, although no errors, it doesn't work.)

Last edited by Earnestly (2011-10-12 19:42:27)

Offline

#6 2011-10-12 20:09:09

possiblefool
Member
From: UK
Registered: 2011-06-18
Posts: 29

Re: Disable openbox bindings[solved] cant be done!

Kaustic wrote:

I'm saying you'll have to comment ( <!-- --> ) out the keybinds and then reconfigure openbox.

Haha alrite then, couldnt decide if you were offering advice or dissmissing me with "no comment, reconfigure openbox"

Kaustic wrote:

You could possibly make a script using sed to automatically do that for you then launch blender via a function in your .bashrc to disable/enable your keybinds.

Possibly, learning new shortcuts would probably take me less time..I figured I'd post on the off chance someone else would have a nice little script handy that'd do something along those lines.

bernarcher wrote:

But in fact you will have to change the shortcuts.

Ok thanks, looks like a few weeks of fumbling around till the new shortcuts sink in for me then!

bernarcher wrote:

BTW search the forums. There are several topics on openbox keybindings

I did, promise, just didnt find anything relevent, I know how to change them I just didnt wanna relearn new ones!

Offline

#7 2011-10-12 20:16:29

hbekel
Member
Registered: 2008-10-04
Posts: 311

Re: Disable openbox bindings[solved] cant be done!

You might use a keychain (or a chroot'ed keychain), see http://openbox.org/wiki/Help:Bindings#Key_chains. That way you can "hide" openbox bindings behind a single key, so they won't interfere with other programs' bindings.

Offline

#8 2011-10-12 22:15:14

possiblefool
Member
From: UK
Registered: 2011-06-18
Posts: 29

Re: Disable openbox bindings[solved] cant be done!

That could be worth looking at, thanks hbekel.

Offline

Board footer

Powered by FluxBB