You are not logged in.
See https://bbs.archlinux.org/viewtopic.php … 6#p2221506.
Last edited by jebez (2025-01-21 16:50:52)
Offline
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
I.e. what does
$ localedef --list
yield?
Inofficial first vice president of the Rust Evangelism Strike Force
Offline
localectl will only configure /etc/X11/xorg.conf.d/00-keyboard.conf which isn't getting parsed by KDE (wayland), just set it explicitly once in KDE.
Last edited by V1del (2025-01-21 12:59:51)
Offline
Sorry for https://archlinuxarm.org/ schard, I didn't know, from there to throw Feature request: F2FS support for the BIOS...
arch-chroot /mnt localedef --list
in archlinux-2025.01.01-x86_64.iso &
localedef --list
in my Arch Linux KDE: nothing.
So
localectl set-keymap fr
can't work in archlinux-*-x86_64.iso? Only once in my Arch Linux KDE (it works)?
Sorry V1del it was wrong (I reinstalled with my script) I updated this post.
Last edited by jebez (2025-01-21 16:18:39)
Offline
what do you mean exactly, do you get an error from your script or is it simply not set in KDE? that keymap command will set it for the console and for xorg. Wayland enviroments have their own config which isn't going to be covered, since your linked post talks about a KDE session it stands to reason you actually mean a KDE session where you will have to configure this explcitly (or write ~/.config/kxbrc accordingly: https://bbs.archlinux.org/viewtopic.php?id=302504
Offline
See my previous post, does edit a post signal you?
Last edited by jebez (2025-01-21 15:03:34)
Offline
what exactly doesn't work? And yes generally speaking a lot of systemd utilities need a proper session bus which isn't available in a chroot. AFAIK localectl shouldn't be one of them, but it's entirely unclear what error you're getting or what your expectation is.
Offline
In my install script https://bbs.archlinux.org/viewtopic.php … 5#p2221235 there's
arch-chroot /mnt bash -c "...
localectl set-keymap fr
..."
& just simply
arch-chroot /mnt localectl set-keymap fr
don't work: reboot on my fresh Arch Linux KDE, it's still qwerty, not azerty.
But here if I do
localectl set-keymap fr
it works.
So it not possible to do it in archlinux-*-x86_64.iso?
Last edited by jebez (2025-01-21 16:22:33)
Offline
localectl will talk via dbus and potentially inform the session of the change. If you do that on the chroot there's no session to inform, so it will only write two files, neither of which will be read by KDE.
Offline
Ok thanks. Kamehameha!
With
arch-chroot /mnt bash -c "...
localectl set-keymap fr
..."
localectl status
&
arch-chroot /mnt localectl status
both output:
System Locale: LANG=C.UTF-8
VC Keymap: fr
X11 Layout: fr
X11 Options: terminate:ctrl_alt_bksp
so it affects archlinux-2025.01.01-x86_64.iso, not /mnt.
Should add that in https://wiki.archlinux.org/title/Linux_ … figuration.
Last edited by jebez (2025-01-21 20:31:26)
Offline