You are not logged in.
Pages: 1
I've installed Arch on a Virtual Machine, I've copied a lot of dotfiles from a previous Arch installation (that was setted up with an italian keyboard); then I change the keyboard xorg configuration, the .Xresources configuration in order to set up the uk keyboard, but I don't get any chance to change my keyboard layout: the keyboard is still in italian. I read all the keyboard layout wiki, but it seems everything ok: can you help me?
Offline
Please show what you've already done, post all the configurations you've adjusted that might relate to this well as
localectl
Mod note, moving to NC
Offline
localectl
System Locale: LANG= en_US.UTF-8
VC keymap: uk
X11 Layout: uk
X11 Model: pc105
The .Xresources file into the home directory is:
setxkbmap -model pc105 -layout uk
The 00-keyboard file
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "uk"
Option "XkbModel" "pc105"
EndSection
Maybe the problem is the wrong keyboard model?
Offline
loginctl session-status # to ensure this is actually an xorg session
setxkbmap -query -v
Online
c2 - giacomo (1000)
Since: Thu 2018-06-14 11:31:38 CEST; 1h 20min ago
Leader: 918 (sddm-helper)
Seat: seat0; vc1
Display: :0
Service: sddm; type x11; class user
State: active
Unit: session-c2.scope
├─ 918 /usr/lib/sddm/sddm-helper --socket /tmp/sddm-authbf95c170-d7a5-40b8-8f14-7df7289ccec3 --id 163 --start i3-with-shmlog --user giacomo
├─ 926 i3-with-shmlog
├─ 958 i3bar --bar_id=bar-0 --socket=/run/user/1000/i3/ipc-socket.926
├─ 960 /bin/sh -c i3status -c ~/.i3/i3status.conf | ~/.i3/i3status-wrapper.py
├─ 961 i3status -c /home/giacomo/.i3/i3status.conf
├─ 962 python /home/giacomo/.i3/i3status-wrapper.py
├─ 977 terminology -d=xcwd
├─ 979 /usr/bin/efreetd
├─ 994 /bin/bash
└─5091 loginctl session-status
Jun 14 11:41:35 arch sudo[1809]: giacomo : TTY=pts/0 ; PWD=/media/sf_Documents/MPI Problem ; USER=root ; COMMAND=list /usr/bin/pacman --color auto -S community/dos2unix
Jun 14 11:41:35 arch sudo[1810]: giacomo : TTY=pts/0 ; PWD=/media/sf_Documents/MPI Problem ; USER=root ; COMMAND=/usr/bin/pacman --color auto -S community/dos2unix
Jun 14 11:41:35 arch sudo[1810]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 14 11:41:45 arch sudo[1810]: pam_unix(sudo:session): session closed for user root
Jun 14 12:41:50 arch sudo[4464]: giacomo : a password is required ; TTY=pts/0 ; PWD=/media/sf_Documents/MPI Problem ; USER=root ; COMMAND=list /usr/bin/pacman --color auto -S community/dos2unix
Jun 14 12:41:53 arch sudo[4466]: giacomo : TTY=pts/0 ; PWD=/media/sf_Documents/MPI Problem ; USER=root ; COMMAND=validate
Jun 14 12:41:53 arch sudo[4467]: giacomo : TTY=pts/0 ; PWD=/media/sf_Documents/MPI Problem ; USER=root ; COMMAND=list /usr/bin/pacman --color auto -S community/dos2unix
Jun 14 12:41:53 arch sudo[4468]: giacomo : TTY=pts/0 ; PWD=/media/sf_Documents/MPI Problem ; USER=root ; COMMAND=/usr/bin/pacman --color auto -S community/dos2unix
Jun 14 12:41:53 arch sudo[4468]: pam_unix(sudo:session): session opened for user root by (uid=0)
Jun 14 12:41:55 arch sudo[4468]: pam_unix(sudo:session): session closed for user root
Warning! Multiple definitions of keyboard layout
Using command line, ignoring X server
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+query+inet(evdev)
geometry: pc(pc105)
Multiple definition keyboard layout... Interesting....
Offline
1) .Xresources is usually not used to invoke shell commands
2) stat /usr/share/X11/xkb/symbols/uk
I misread your former comments (maybe because you're using the US locale), but the UK has no keyboard layout - Great Britain has ;-)
http://projectbritain.com/britain/greatbritain.htm
Online
2) stat /usr/share/X11/xkb/symbols/uk
I haven't the symbols folder...
Offline
That's the point: there is no "uk" layout. Most of todays UK use the "gb" layout.
Online
That's the point: there is no "uk" layout. Most of todays UK use the "gb" layout.
I've corrected the .Xresources and the 00-keyboard files with layout "gb", but I still have no success.
The setxkbmap -query -v command reports as follows:
Trying to build keymap using the following components:
keycodes: evdev+aliases(qwerty)
types: complete
compat: complete
symbols: pc+query+inet(evdev)
geometry: pc(pc105)
rules: evdev
model: pc105
layout: it
Offline
Instead of the error it now says
layout: it
Again: ~/.Xresources are NOT supposed to run commands like a bash script - you're probably setting the layout in some sddm or i3wm config.
Online
you're probably setting the layout in some sddm or i3wm config.
Yeah, you were right!!!!!! The problem was in the i3 config file, now everything works, thanks!!!!!!! Please, how can I mark the topic as solved?
Last edited by giacombum (2018-06-15 11:58:54)
Offline
Please, how can I mark the topic as solved?
By editing the first post in this thread and preprending [SOLVED] to the title.
Offline
You also should review your ~/.Xresources, it's usually the thing piped into xrdb and not supposed to be a shell script.
Online
Pages: 1