Enabling dead keys on the keyboard

Please post all general support questions for LXDE here.
Locked
ertpresso
Posts: 2
Joined: Fri Aug 27, 2010 7:16 pm

Enabling dead keys on the keyboard

Post by ertpresso »

Hello,

How can I enable dead keys on the keyboard? I need to type characters with accent such as "â". I am using Lubuntu 10.04.

I added following section into xorg.conf file created by X -configure command. I moved that file into /etc/X11 directory.

Code: Select all

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "tr"
Option "XkbVariant" "intl"
Option "XkbOptions" "compose:rwin"
EndSection
Edit: I see that this command does the job but I'd like to set this permanently. I don't understand why xorg.conf does not work...

Code: Select all

setxkbmap -model pc105 -layout tr -variant intl -option "compose:rwin"
Edit 2: I found the reason why xorg.conf seemed ineffective by examining "/var/log/Xorg.0.log".
Then I added

Code: Select all

Option "AllowEmptyInput" "FALSE"
in ServerLayout section in xorg.conf. Now it works!

Edit 3: I thought it worked but actually it did not... I am sorry for editing many times. There was another problem about "kbd". It is logged in Xorg.0.log that kbd was not found. :shock: Because I don't have enough time to investigate further, I have found a workaround. I added setxkbmap command mentioned above into the file "/etc/xdg/lxsession/Lubuntu/autostart". Now it really works. :)
Locked