Registered Member
|
I have installed plasma on a laptop with a Belgian keyboard. Before installing the second face of Arch plasma, the graphical part, I placed this command: 'echo KEYMAP=be-latin1 > /etc/vconsole.conf'. By this I had the Belgian azerty keyboard, but after installing plasma, I lost azerty and the system goes back to qwerty. Many thanks for your help.
|
|
the vconsole layout has nothing to do with the X11 keyboard.
run "kcmshell5 keyboard" and configure the layout there. Alternatively, you can set it using "setxkbmap" (a CLI tool) or via an xorg.conf snippet https://wiki.archlinux.org/index.php/Ke ... on_in_Xorg |
Registered Member
|
Via "kcmshell5 keyboard", I now do have azerty Belgian layout, but the option to 'spare layouts' on 'keyboard hardware and layout' is deactivated, and there is no way how to tick the 'spare layouts' option. After a relogin I do maintain the Belgian azerty layout, however when loggin in I do have to fill in my password as if the US qwerty keyboard is still active. How might I login with the azerty Belgian layout?
|
|
spare layout only makes sense for >= 3 configured layouts.
To have the keyboard setup for the display manager (where you log in) you'll have to use a forementioned xorg.conf snippet (which is imo far more reasonable anyway - you can match eg. the keyboard vendor and this way change the layout automagically with the keyboard, ie. you plug in an azerty keyboard, it's magically azerty, you plugin a qwerty keyboard, it's magically qwerty and with two keyboards, each works as expected) See the link for details (it doesn't matter if you don't use arch, they just have the best docs alongside gentoo |
Registered Member
|
What changes do I have to make in 'xinitrc'?
Setting verbose level to 10 locale is C Trying to load rules file ./rules/evdev... Trying to load rules file /usr/share/X11/xkb/rules/evdev... Success. Applied rules from evdev: rules: evdev model: hpdv5 layout: be Trying to build keymap using the following components: keycodes: evdev+aliases(azerty) types: complete compat: complete symbols: pc+be+inet(evdev) geometry: hp(dv5) xkb_keymap { xkb_keycodes { include "evdev+aliases(azerty)" }; xkb_types { include "complete" }; xkb_compat { include "complete" }; xkb_symbols { include "pc+be+inet(evdev)" }; xkb_geometry { include "hp(dv5)" } /etc/X11/xinit/xinitrc #!/bin/sh userresources=$HOME/.Xresources usermodmap=$HOME/.Xmodmap sysresources=/etc/X11/xinit/.Xresources sysmodmap=/etc/X11/xinit/.Xmodmap # merge in defaults and keymaps if [ -f $sysresources ]; then xrdb -merge $sysresources I've taken 'hpdv5' because I did not see another option for my laptop: 'hp pavillon 17'. From hp information I do not see any information on the keyboard vendor or model: http://support.hp.com/us-en/document/c03930556 |
|
None, xinitrc is per session (ie after login)
Please see the link I posted, https://wiki.archlinux.org/index.php/Ke ... tion_files |
Registered Member
|
I've read the stuff but do not know what to do:
setxkbmap [-hpdv5 xkb_hpdv5] [-be xkb_be] \ > [-azerty xkb_azerty] [-ctrl xkb_ctrl] Error loading new keyboard description
Last edited by maanvol on Sun Nov 08, 2015 3:56 pm, edited 1 time in total.
|
|
The brackets generally mean [this is optional]
And setxkbmap doesn't help you here, you're interested in the "Using X configuration files" section - otherwise you'd have to setxkbmap from some display manager (sddm?) scripts. Try sth. like /etc/X11/xorg.conf.d/00-keyboard.conf
This will match all keyboards, but pc104 won't necessarily get you all your multimedia keys enabled (if you have such) |
Registered Member
|
Now the system remains stuck at boot up:
upload pic Apparently after restarting the system opts for the US layout, because after login in by 'qwerty', the plasma has the azerty layout. I'll try to remove the last change to see if the system is willing to boot up again. |
Registered Member
|
|
|
You're the second person to tell me the system is "stuck" because of an Xorg.conf snippet - I don't know what happens there, but the screenshot isn't any helpful - the relevant information can be found in /var/log/Xorg.*.log
Do you also have some static "/etc/X11/xorg.conf"? (and if: why?) |
Registered Member
|
"Do you also have some static "/etc/X11/xorg.conf"? " Not that I am aware of. How might I find out whether I have it?
Log: 13.461] X.Org X Server 1.17.4 Release Date: 2015-10-28 [ 13.461] X Protocol Version 11, Revision 0 [ 13.461] Build Operating System: Linux 4.2.5-1-ARCH x86_64 [ 13.461] Current Operating System: Linux Arch_Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 [ 13.461] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6801aa9f-c35c-40a3-8012-2ca0751bea4c rw quiet [ 13.461] Build Date: 01 November 2015 10:36:50AM [ 13.461] [ 13.461] Current version of pixman: 0.32.8 [ 13.461] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 13.461] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 13.461] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 9 09:07:40 2015 [ 13.585] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 13.585] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 13.654] (==) No Layout section. Using the first Screen section. [ 13.654] (==) No screen section available. Using defaults. [ 13.654] (**) |-->Screen "Default Screen Section" (0) [ 13.654] (**) | |-->Monitor "<default monitor>" [ 13.655] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 13.655] (==) Automatically adding devices [ 13.655] (==) Automatically enabling devices [ 13.655] (==) Automatically adding GPU devices [ 13.684] (WW) The directory "/usr/share/fonts/Type1/" does not exist. [ 13.684] Entry deleted from font path. [ 13.684] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/". [ 13.684] Entry deleted from font path. [ 13.684] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/"). [ 13.684] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/". [ 13.684] Entry deleted from font path. [ 13.684] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/"). [ 13.684] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/TTF/, /usr/share/fonts/OTF/ [ 13.684] (==) ModulePath set to "/usr/lib/xorg/modules" [ 13.684] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 13.684] (II) Loader magic: 0x817d60 [ 13.684] (II) Module ABI versions: |
|
That is the *complete* log of the failed X11 server? Looks indeed incomplete, but no warnings about invalid config or similar, just stalled on loading modules. |
Registered Member
|
/etc/X11/xorg.conf
stat: cannot stat ‘/etc/X11/xorg.conf’: No such file or directory I'll do 'failed system' over again and then I place here the log of the 'failed system'. Thank you, kindly. |
Registered Member
|
This time filling in the '00-keyboard' file went well, but still no changes. I still have the US layout for logging in.
Log: [ 12.505] X.Org X Server 1.17.4 Release Date: 2015-10-28 [ 12.505] X Protocol Version 11, Revision 0 [ 12.505] Build Operating System: Linux 4.2.5-1-ARCH x86_64 [ 12.505] Current Operating System: Linux Arch_Linux 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86_64 [ 12.505] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux root=UUID=6801aa9f-c35c-40a3-8012-2ca0751bea4c rw quiet [ 12.505] Build Date: 01 November 2015 10:36:50AM [ 12.505] [ 12.505] Current version of pixman: 0.32.8 [ 12.505] Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. [ 12.505] Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. [ 12.505] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Nov 9 17:35:39 2015 [ 12.563] (==) Using config directory: "/etc/X11/xorg.conf.d" [ 12.563] (==) Using system config directory "/usr/share/X11/xorg.conf.d" [ 12.603] (==) No Layout section. Using the first Screen section. [ 12.603] (==) No screen section available. Using defaults. [ 12.603] (**) |-->Screen "Default Screen Section" (0) [ 12.603] (**) | |-->Monitor "<default monitor>" [ 12.603] (==) No monitor specified for screen "Default Screen Section". Using a default monitor configuration. [ 12.603] (==) Automatically adding devices [ 12.603] (==) Automatically enabling devices [ 12.603] (==) Automatically adding GPU devices [ 12.629] (WW) The directory "/usr/share/fonts/Type1/" does not exist. [ 12.629] Entry deleted from font path. [ 12.629] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/100dpi/". [ 12.629] Entry deleted from font path. [ 12.629] (Run 'mkfontdir' on "/usr/share/fonts/100dpi/"). [ 12.629] (WW) `fonts.dir' not found (or not valid) in "/usr/share/fonts/75dpi/". [ 12.629] Entry deleted from font path. [ 12.629] (Run 'mkfontdir' on "/usr/share/fonts/75dpi/"). [ 12.629] (==) FontPath set to: /usr/share/fonts/misc/, /usr/share/fonts/TTF/, /usr/share/fonts/OTF/ [ 12.629] (==) ModulePath set to "/usr/lib/xorg/modules" [ 12.629] (II) The server relies on udev to provide the list of input devices. If no devices become available, reconfigure udev or disable AutoAddDevices. [ 12.629] (II) Loader magic: 0x817d60 [ 12.629] (II) Module ABI versions: ^G Get Help ^O Write Out ^W Where Is ^K Cut Text ^J Justify ^C Cur Pos ^Y Prev Page M-\ First Line M-W WhereIs Next ^X Exit ^R Read File ^\ Replace ^U Uncut Text ^T To Spell ^_ Go To Line ^V Next Page M-/ Last Line M-] To Bracket |
Registered users: Bing [Bot], blue_bullet, Google [Bot], rockscient, Yahoo [Bot]