SliTaz SliTaz Forum

You are not logged in.

#1 2012-11-06 18:35:18

jjk
Member
Registered: 2012-09-22
Posts: 82

compose key

hello,

I'd like to setup a compose key for my keyboard so i can type special characters which i need to type German.

could you help me to set it up correctly, ive googled about it but couldnt manage to follow the tutorial right.

maybe you can explain it to me.

your help is much appreciated

JJK

Offline

#2 2012-11-07 00:29:12

lexeii
Administrator
Registered: 2012-03-21
Posts: 1,853

Re: compose key

Hi jjk,

In Linux you can do same things different ways.

1) edit your /etc/X11/xorg.conf.d/40-Keyboard.conf (you need root rights):

Before line "EndSection" add this line:

[c]Option "XkbOptions" "compose:ralt"[/c]
I think you have not other lines with "XkbOptions"?

Your compose key will be RightAlt, but you need to restart X (reboot system or logout/login to system).

2) Or you can open your terminal and type:

[c]setxkbmap -option "compose:ralt"[/c]
And your compose key will be RightAlt immediately. But system forget this after reboot, and you need to put this option to your ~/.config/openbox/autostart.sh (you can find "Auto started applications" in the SliTaz menu for it).

You can set other key up for Compose key. Citation from /usr/share/X11/xkb/rules/base.lst:

[c]Compose key          Compose key position
  compose:ralt         Right Alt
  compose:lwin         Left Win
  compose:rwin         Right Win
  compose:menu         Menu
  compose:lctrl        Left Ctrl
  compose:rctrl        Right Ctrl
  compose:caps         Caps Lock
  compose:102          <Less/Greater>
  compose:paus         Pause
  compose:prsc         PrtSc
  compose:sclk         Scroll Lock[/c]
Good luck!

Offline

#3 2012-11-08 15:03:20

jjk
Member
Registered: 2012-09-22
Posts: 82

Re: compose key

hi thanks for helping,

second method worked for me.

so the problem is solved

thx

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.018 seconds, 7 queries executed - Memory usage: 1.53 MiB (Peak: 1.77 MiB) ]