You are not logged in.
Pages: 1
Just finishing up a brand new ArchLinux install (2017.09.01 iso) along with i3 on one of my Intel NUC's (NUC7i7BNH) with a Cherry JK-03 keyboard with swedish keys (åäö). I decided to go with xterm instead of xfce4-terminal on this install. Keyboard layout is set to sv-latin1 and works great in TTY, but when starting X and xterm i dont have swedish keyboard layout.
localectl status
System Locale: LANG=en_US.UTF-8
VC Keymap: sv-latin1
X11 Layout: n/a/etc/vconsole.conf
KEYMAP=sv-latin1Tried "KEYMAP=sv" aswell without success.
I have tried localectl set-keymap --no-convert sv-latin1 without error messages, but still no swedish characters in xterm.
(If it's that simple that i have to run xrdb ~/.Xresources i would appreciate if anyone knows where tilde (~) is located on default US keyboard. I have searched but the suggestions doesn't work for my keyboard.)
Last edited by dockland (2017-09-05 17:10:55)
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
(If it's that simple that i have to run xrdb ~/.Xresources i would appreciate if anyone knows where tilde (~) is located on default US keyboard).
Um, just manually expand the tilda...
xrdb /home/dockland/.XresourcesOffline
/etc/vconsole.conf only configures the TTY behaviour. You need to configure the X keyboard layout separately. Xresources has nothing to do with this, AFAIK.
Have you read https://wiki.archlinux.org/index.php/Ke … on_in_Xorg?
Offline
Yes, haha, of course. Works but keymap is still US layout. I think i've missed something very very basic.
I do have a ~/.Xresources
Xterm.termname: xterm-256color
Xterm.vt100.locale: true
Xterm.vt100.metaSendsEscape: true
Xterm.vt100.saveLines: 10000
Xterm.vt100.selectToClipboard: true
Xterm.vt100.reverseVideo: truebut it doesn't generate any changes, for example, background is still white and text is black. I've rebooted between any changes, just to be sure everything is loaded from scratch.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
/etc/vconsole.conf only configures the TTY behaviour. You need to configure the X keyboard layout separately. Xresources has nothing to do with this, AFAIK.
Have you read https://wiki.archlinux.org/index.php/Ke … on_in_Xorg?
Yes, but only the "Using localectl" part. As the "localectl set-keymap --no-convert sv-latin1" command in my first post.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Offline
I checked, the /etc/X11/xorg.conf.d is empty.
I forgot to do Xorg :0 -configure (as root) that generates a skeleton as per the wiki, but got a segmentation fault, and my xorg log was empty. I'm going to install lightdm, greeter and xfce4 to be able to troubleshoot on the same computer.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Forget about Xorg -configure.
/etc/X11/xorg.conf.d/11-keyboard.conf
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbLayout" "sv" # what you apparently want
Option "XkbOptions" "terminate:ctrl_alt_bksp,compose:caps" # handy ;-)
EndSectionCheck "man xorg.conf" for other options, you probably need to pick the proper variant and stuff.
Offline
Forget about Xorg -configure.
/etc/X11/xorg.conf.d/11-keyboard.confSection "InputClass" Identifier "Keyboard Defaults" MatchIsKeyboard "yes" Option "XkbLayout" "sv" # what you apparently want Option "XkbOptions" "terminate:ctrl_alt_bksp,compose:caps" # handy ;-) EndSectionCheck "man xorg.conf" for other options, you probably need to pick the proper variant and stuff.
Ok, thanks. What is wrong with "Xorg -configure" due to it's still in the wiki?
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
It's broken for ages - to the degree where I doubt this is a "bug" bug.
In general, static configs as produced by that command are deprecated and discouraged for nearly a decade.
Offline
Ok, thanks. setxkbmap worked fine. Marking thread as solved.
I possess a device, in my pocket, that is capable of accessing the entirety of information known to man.
I use it to look at funny pictures of cats and to argue with strangers.
Offline
Pages: 1