You are not logged in.

#1 2010-01-19 00:00:36

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

Keybinding Superuser

I get an error message (Openbox) if I try this in rc.xml....

       

<keybind key="A-F5">
<action name="execute"><execute>gksu thunar</execute></action>
</keybind>

I have this Superuser in my menu OK but I can't keybind it.

Is it because of the space between gksu and thunar?


x86_64 Arch Openbox, Debian PEKwm

Offline

#2 2010-01-19 00:52:55

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Keybinding Superuser

I recommend you to use obkey. It's very easy to use and more powerful that edit manually the .xml file.

$ sudo yaourt -S obkey-git

Last edited by n0dix (2010-01-19 00:53:08)

Offline

#3 2010-01-19 03:16:45

Mardoct
Member
Registered: 2009-08-17
Posts: 208

Re: Keybinding Superuser

addr wrote:

I get an error message

Protip: ALWAYS post what any relevant error messages said verbatim.


The human being created civilization not because of willingness but of a need to be assimilated into higher orders of structure and meaning.

Offline

#4 2010-01-19 03:33:48

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: Keybinding Superuser

Does it make a difference if you try gksudo instead of gksu?

Offline

#5 2010-01-19 21:06:19

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

Re: Keybinding Superuser

I haven't tried gksudo but the thing is <gksu thunar> works fine in the menu but I can't get the keybind to work.

The error it gives refers to the line number after the last one in my rc.xml and says something about an incomplete tag at that line number. I haven't been within 300 lines of that number.
I placed 5 or 6 other keybindings using copy & paste and they are all fine. The only difference in syntax is the space between gksu and thunar as far as I can see.


x86_64 Arch Openbox, Debian PEKwm

Offline

#6 2010-01-22 03:26:07

addr
Member
From: Manitoba
Registered: 2008-12-04
Posts: 73

Re: Keybinding Superuser

It wasn't the space but the case!

This works...

               

<keybind key="A-F5">
<action name="execute"><execute>gksu Thunar</execute></action>
</keybind>

x86_64 Arch Openbox, Debian PEKwm

Offline

#7 2010-01-22 03:32:40

n0dix
Member
Registered: 2009-09-22
Posts: 956

Re: Keybinding Superuser

Don't forget to add the SOLVED tag in the title.

Offline

Board footer

Powered by FluxBB