Swap LAlt and LCtrl and also set Caps to Ctrl
Clash Royale CLAN TAG#URR8PPP
up vote
0
down vote
favorite
I want to swap lctl
and lalt
. I also want caps
to also be ctl
.
Following various Internet advice, I have edited my /etc/X11/xorg.conf
file to include the following:
Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbOptions" "ctrl:nocaps,ctrl:swap_lalt_lctl"
EndSection
This causes Caps
to be remapped as Ctrl
, but then LCtrl
is mapped to Ctrl-Alt
.
I have tried variations, including:
- Space or no space after the comma separating the
XkbOptions
- Two separate lines for each
Option "XkbOptions"
- Reversing the order in which the options are listed
I notice that my Identifier
and bool for MatchIsKeyboard
differ from various other resources. Identifier is the only mandatory option. And since I'm able to elicit some behavior, I deduce that keyboard-layout
is valid. It seems like "on"
and "True"
are synonymous.
How can create the keybindings I desire?
I'm running Debian 9.2.
linux debian systemd xorg
add a comment |Â
up vote
0
down vote
favorite
I want to swap lctl
and lalt
. I also want caps
to also be ctl
.
Following various Internet advice, I have edited my /etc/X11/xorg.conf
file to include the following:
Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbOptions" "ctrl:nocaps,ctrl:swap_lalt_lctl"
EndSection
This causes Caps
to be remapped as Ctrl
, but then LCtrl
is mapped to Ctrl-Alt
.
I have tried variations, including:
- Space or no space after the comma separating the
XkbOptions
- Two separate lines for each
Option "XkbOptions"
- Reversing the order in which the options are listed
I notice that my Identifier
and bool for MatchIsKeyboard
differ from various other resources. Identifier is the only mandatory option. And since I'm able to elicit some behavior, I deduce that keyboard-layout
is valid. It seems like "on"
and "True"
are synonymous.
How can create the keybindings I desire?
I'm running Debian 9.2.
linux debian systemd xorg
Have you looked into using xmodmap to accomplish this? I used to accomplish a similar task using xmodmap to swap some keys around.
â Mountainerd
Nov 20 '17 at 1:54
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
I want to swap lctl
and lalt
. I also want caps
to also be ctl
.
Following various Internet advice, I have edited my /etc/X11/xorg.conf
file to include the following:
Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbOptions" "ctrl:nocaps,ctrl:swap_lalt_lctl"
EndSection
This causes Caps
to be remapped as Ctrl
, but then LCtrl
is mapped to Ctrl-Alt
.
I have tried variations, including:
- Space or no space after the comma separating the
XkbOptions
- Two separate lines for each
Option "XkbOptions"
- Reversing the order in which the options are listed
I notice that my Identifier
and bool for MatchIsKeyboard
differ from various other resources. Identifier is the only mandatory option. And since I'm able to elicit some behavior, I deduce that keyboard-layout
is valid. It seems like "on"
and "True"
are synonymous.
How can create the keybindings I desire?
I'm running Debian 9.2.
linux debian systemd xorg
I want to swap lctl
and lalt
. I also want caps
to also be ctl
.
Following various Internet advice, I have edited my /etc/X11/xorg.conf
file to include the following:
Section "InputClass"
Identifier "keyboard-layout"
MatchIsKeyboard "on"
Option "XkbOptions" "ctrl:nocaps,ctrl:swap_lalt_lctl"
EndSection
This causes Caps
to be remapped as Ctrl
, but then LCtrl
is mapped to Ctrl-Alt
.
I have tried variations, including:
- Space or no space after the comma separating the
XkbOptions
- Two separate lines for each
Option "XkbOptions"
- Reversing the order in which the options are listed
I notice that my Identifier
and bool for MatchIsKeyboard
differ from various other resources. Identifier is the only mandatory option. And since I'm able to elicit some behavior, I deduce that keyboard-layout
is valid. It seems like "on"
and "True"
are synonymous.
How can create the keybindings I desire?
I'm running Debian 9.2.
linux debian systemd xorg
asked Nov 20 '17 at 1:19
Lorem Ipsum
1494
1494
Have you looked into using xmodmap to accomplish this? I used to accomplish a similar task using xmodmap to swap some keys around.
â Mountainerd
Nov 20 '17 at 1:54
add a comment |Â
Have you looked into using xmodmap to accomplish this? I used to accomplish a similar task using xmodmap to swap some keys around.
â Mountainerd
Nov 20 '17 at 1:54
Have you looked into using xmodmap to accomplish this? I used to accomplish a similar task using xmodmap to swap some keys around.
â Mountainerd
Nov 20 '17 at 1:54
Have you looked into using xmodmap to accomplish this? I used to accomplish a similar task using xmodmap to swap some keys around.
â Mountainerd
Nov 20 '17 at 1:54
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f405691%2fswap-lalt-and-lctrl-and-also-set-caps-to-ctrl%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Have you looked into using xmodmap to accomplish this? I used to accomplish a similar task using xmodmap to swap some keys around.
â Mountainerd
Nov 20 '17 at 1:54