You are not logged in.
I have a UK keyboard and I'm trying to get "dead keys" working on console with a pure systemd instalation without sucess...
The reason is that I need characters like: áãàõéò and so on...
On X it works great with the following code on "/etc/X11/xorg.conf.d/10-evdev.conf"
Section "InputClass"
Identifier "evdev keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
Option "XkbLayout" "gb"
Option "XkbVariant" "intl"
EndSection
but I'm not finding a way to make it work on console with systemd, searching for documentation on google didn't help me either.
Here my "/etc/vconsole.conf" file right now:
KEYMAP=uk
FONT=lat9w-16
FONT_MAP=8859-1_to_uni
Offline
try the us-acentos
Last edited by rutgerr (2012-08-12 20:47:30)
Offline
@rutgerr,
Thanks, it could be an workaround but is not the solution I expected cause it mess with all other keys (~@|"£!) since UK and US have a different layout. Before systemd everything use to work as expected when using rc.conf
Offline
Well, if works before there's no reason to don't work now
Try a setup in this way:
KEYMAP=uk
FONT=
FONT_MAP=
Offline
Your suggestions was the last one I tried, but again no changes. Maybe before systemd the system was using "/etc/X11/xorg.conf.d/10-evdev.conf" globally.
Also, I tried to insert XKBVARIANT (the same parameter from 10-evdev) on "/etc/vconsole.conf". but no luck:
KEYMAP=uk
FONT=
FONT_MAP=
XKBVARIANT=intl
It's kinda of ironic how is so simple to have an international layout for an american keyboard and so tricky to get the same result on a UK one.
Offline
I'll try to unpack the uk.map.zip and edit to insert rules for dead keys like we have already on us-acentos.map.zip. (can't think on another solution right now)
systemd is not exacly new (opensuse 12.1 was using it on lauch), but oh my... what a poor documentation.
Offline
Maybe this will help:
http://sourceforge.net/projects/ukikl/
Offline
Have you tried
$ setxkbmap -layout gb -variant intl
That's what I'm using on a UK keyboard to get the French accents.
I've put it into my Openbox autostart script, as when I was using it in the /etc/X11/xorg.conf.d/10-evdev.conf it kept being wiped away when updates occurred.
With it, No need for a compose key; typing apostrophe followed by a vowel will give you the accented vowel, the same with grave key, umlaut key, caret key, tilde key.
Just have to remember that a real apostrophe will have to be followed by a space.
Offline
you can also use xmodemap to create your own layout
First write out your current xmodmap:
xmodmap -pke > ~/.Xmodmap
then edit the file I use alt + a = ä, etc.
it looks like this:
keycode 30 = u U udiaeresis Udiaeresis
keycode 32 = o O odiaeresis Odiaeresis
keycode 38 = a A adiaeresis Adiaeresis
Hope it helps to customize your layout
cheers
mijenix
Offline
@oupsemma thanks, maybe I wasn't clear cause my english sometimes fails but the issue I'm describing is console (terminal) related only (ctrl+alt+F1...6). When using a terminal like xterm / yakuake on X (KDE here) it works perfectly. Setxkbmap sets keyboard setup for X and it's working great already.
@mijenix thanks for all the details, but I think the above applies to xmodmap too (X related)
I'll try just to keep some distance from terminal (virtual console) from now on guys. I can use xterm anyway Thanks for all replies, I just can't think on any other distro community that's rocks like archlinux.
Offline