[arch-general] How can I set CAPS LOCK as Escape throughout reboot
Hello, Currently I use "setxkbmap -option caps:escape" and it works well, but I'd like to know how to make it persistent through reboot. I set this line in .xinitrc but it didn't work. Thanks J
On 17 August 2017 at 15:51, Junayeed Ahnaf via arch-general <arch-general@archlinux.org> wrote:
Hello,
Currently I use "setxkbmap -option caps:escape" and it works well, but I'd like to know how to make it persistent through reboot. I set this line in .xinitrc but it didn't work.
depends on your login manager and the desktop environment. Gnome will overwrite XKB settings anyway. KDE would if configured. some login managers (or their Xsession scripts) will read ~/.Xkbmap as options to setxkbmap -- damjan
Fixed following this : https://www.chorompotro.com/2017/08/13/2-random-things-check-arch-installati... On 08/17/2017 07:51 PM, Junayeed Ahnaf via arch-general wrote:
Hello,
Currently I use "setxkbmap -option caps:escape" and it works well, but I'd like to know how to make it persistent through reboot. I set this line in .xinitrc but it didn't work.
Thanks
J
AFAIK `.xinitrc` is sourced only if you start your DE/WM with `startx`. basically it depends on what display manager and/or DE/WM you are using, but a general solution that applies to most cases is put "setxkbmap -option caps:escape" in `~/.xprofile` since most display manager executes it, or messing with your WM/DE settings On Thu, Aug 17, 2017 at 01:51:59PM +0000, Junayeed Ahnaf via arch-general wrote:
Hello,
Currently I use "setxkbmap -option caps:escape" and it works well, but I'd like to know how to make it persistent through reboot. I set this line in .xinitrc but it didn't work.
Thanks
J
-- No computers were harmed in the making of this email, only free (as in freedom) software was used
On 08/17/2017 09:51 AM, Junayeed Ahnaf via arch-general wrote:
Hello,
Currently I use "setxkbmap -option caps:escape" and it works well, but I'd like to know how to make it persistent through reboot. I set this line in .xinitrc but it didn't work.
https://wiki.archlinux.org/index.php/Keyboard_configuration_in_Xorg#Setting_... This is possible through xorg.conf.d as well. -- Eli Schwartz
On Thu, Aug 17, 2017 at 01:51:59PM +0000, Junayeed Ahnaf via arch-general wrote:
Hello,
Currently I use "setxkbmap -option caps:escape" and it works well, but I'd like to know how to make it persistent through reboot. I set this line in .xinitrc but it didn't work.
It should work. I have a similar line with caps:none in xinitrc and it works. Perhaps smth from your desktop undoes your setting? Cheers, -- Leonid Isaev
participants (5)
-
Damjan Georgievski
-
Eli Schwartz
-
Junayeed Ahnaf
-
Leonid Isaev
-
Omar Polo