SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-01-10 12:36:30

AltoNordica
New Member
Registered: 2012-11-11
Posts: 7

[solved] Danish characters in rc.xml

I would like to add a key binding to Alt-æ in ~/.config/openbox/rc.xml but cannot make it work. I have tried using, among others,  "A-æ" and ""A-0xE6"" where i got the value from xev. Tips ?

Ther relevant line from xev was

state 0x0, keycode 47 (keysym 0xe6, ae), same_screen YES,

Using ae (which I misread as æ) instead of the hex key makes it work.

Last edited by AltoNordica (2013-01-10 20:13:45)

Offline

Be excellent to each other!

#2 2013-01-10 13:22:48

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: [solved] Danish characters in rc.xml

Did you add it like this,

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

(That whole section is one keybinding from rc.xml.)


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#3 2013-01-10 13:44:14

AltoNordica
New Member
Registered: 2012-11-11
Posts: 7

Re: [solved] Danish characters in rc.xml

fatmac wrote:

Did you add it like this,

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

(That whole section is one keybinding from rc.xml.)

I did this to set toggling full screen

<keybind key="A-æ">
    <action name="ToggleFullScreen"/>
</keybind>

Where æ is a Danish character placed on the keyboard to the right of the L key. I tried using the keycode in hex as well. A regular character like eg. F works when I try that.

Offline

#4 2013-01-10 16:15:27

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: [solved] Danish characters in rc.xml

Not sure but, try adding </action> before </keybind>

I'm taking it from :-

    <keybind key="A-Tab">
      <action name="NextWindow">
      <finalactions>
        <action name="Focus"/>
        <action name="Raise"/>
        <action name="Unshade"/>
      </finalactions>
      </action>
    </keybind>

Last edited by fatmac (2013-01-10 16:17:46)


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo