How to set Level3_Shift to Caps Lock AND Compose to Caps Lock+Ctrl in XFCE?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
1
down vote

favorite












I switched from SUSE recently, which uses KDE as a default desktop environment. In KDE, it is possible to archieve such a setup with GUI options, but not in XFCE.



I've tried set up the ~/.Xmodmap file the following way:



clear Lock
clear Control
clear Mod2
clear Mod5
keycode 77 = Caps_Lock Num_Lock Caps_Lock Num_Lock
keycode 66 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
keycode 37 = Control_L NoSymbol Control_L NoSymbol Multi_key Multi_key
add Control = Control_L Control_R
add Lock = Caps_Lock
add Mod2 = Num_Lock
add Mod5 = ISO_Level3_Shift


What happens:




  • Caps Lock functionality goes to Num Lock


  • Num Lock functionality goes to Shift + Num Lock

What I expected to happen, but it did not:




  • Caps Lock button should be ISO_Level3_Shift (it is, according to xev, but it has the functionality of usual Shift somewhy)

  • Pressing Caps Lock + Left Ctrl should act as Compose key (does not work).

What am I doing wrong? Xubuntu 18.04, fresh installation







share|improve this question





















  • If you did it in KDE using system settings, it's probably easier to do it via xkb options. Please tell us how you did it in KDE.
    – danzel
    Jun 19 at 15:54














up vote
1
down vote

favorite












I switched from SUSE recently, which uses KDE as a default desktop environment. In KDE, it is possible to archieve such a setup with GUI options, but not in XFCE.



I've tried set up the ~/.Xmodmap file the following way:



clear Lock
clear Control
clear Mod2
clear Mod5
keycode 77 = Caps_Lock Num_Lock Caps_Lock Num_Lock
keycode 66 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
keycode 37 = Control_L NoSymbol Control_L NoSymbol Multi_key Multi_key
add Control = Control_L Control_R
add Lock = Caps_Lock
add Mod2 = Num_Lock
add Mod5 = ISO_Level3_Shift


What happens:




  • Caps Lock functionality goes to Num Lock


  • Num Lock functionality goes to Shift + Num Lock

What I expected to happen, but it did not:




  • Caps Lock button should be ISO_Level3_Shift (it is, according to xev, but it has the functionality of usual Shift somewhy)

  • Pressing Caps Lock + Left Ctrl should act as Compose key (does not work).

What am I doing wrong? Xubuntu 18.04, fresh installation







share|improve this question





















  • If you did it in KDE using system settings, it's probably easier to do it via xkb options. Please tell us how you did it in KDE.
    – danzel
    Jun 19 at 15:54












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I switched from SUSE recently, which uses KDE as a default desktop environment. In KDE, it is possible to archieve such a setup with GUI options, but not in XFCE.



I've tried set up the ~/.Xmodmap file the following way:



clear Lock
clear Control
clear Mod2
clear Mod5
keycode 77 = Caps_Lock Num_Lock Caps_Lock Num_Lock
keycode 66 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
keycode 37 = Control_L NoSymbol Control_L NoSymbol Multi_key Multi_key
add Control = Control_L Control_R
add Lock = Caps_Lock
add Mod2 = Num_Lock
add Mod5 = ISO_Level3_Shift


What happens:




  • Caps Lock functionality goes to Num Lock


  • Num Lock functionality goes to Shift + Num Lock

What I expected to happen, but it did not:




  • Caps Lock button should be ISO_Level3_Shift (it is, according to xev, but it has the functionality of usual Shift somewhy)

  • Pressing Caps Lock + Left Ctrl should act as Compose key (does not work).

What am I doing wrong? Xubuntu 18.04, fresh installation







share|improve this question













I switched from SUSE recently, which uses KDE as a default desktop environment. In KDE, it is possible to archieve such a setup with GUI options, but not in XFCE.



I've tried set up the ~/.Xmodmap file the following way:



clear Lock
clear Control
clear Mod2
clear Mod5
keycode 77 = Caps_Lock Num_Lock Caps_Lock Num_Lock
keycode 66 = ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift ISO_Level3_Shift
keycode 37 = Control_L NoSymbol Control_L NoSymbol Multi_key Multi_key
add Control = Control_L Control_R
add Lock = Caps_Lock
add Mod2 = Num_Lock
add Mod5 = ISO_Level3_Shift


What happens:




  • Caps Lock functionality goes to Num Lock


  • Num Lock functionality goes to Shift + Num Lock

What I expected to happen, but it did not:




  • Caps Lock button should be ISO_Level3_Shift (it is, according to xev, but it has the functionality of usual Shift somewhy)

  • Pressing Caps Lock + Left Ctrl should act as Compose key (does not work).

What am I doing wrong? Xubuntu 18.04, fresh installation









share|improve this question












share|improve this question




share|improve this question








edited Jun 2 at 19:51









Vlad Spirin

3203417




3203417









asked Jun 2 at 14:19









Skirmy

62




62











  • If you did it in KDE using system settings, it's probably easier to do it via xkb options. Please tell us how you did it in KDE.
    – danzel
    Jun 19 at 15:54
















  • If you did it in KDE using system settings, it's probably easier to do it via xkb options. Please tell us how you did it in KDE.
    – danzel
    Jun 19 at 15:54















If you did it in KDE using system settings, it's probably easier to do it via xkb options. Please tell us how you did it in KDE.
– danzel
Jun 19 at 15:54




If you did it in KDE using system settings, it's probably easier to do it via xkb options. Please tell us how you did it in KDE.
– danzel
Jun 19 at 15:54















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);








 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042943%2fhow-to-set-level3-shift-to-caps-lock-and-compose-to-caps-lockctrl-in-xfce%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes










 

draft saved


draft discarded


























 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1042943%2fhow-to-set-level3-shift-to-caps-lock-and-compose-to-caps-lockctrl-in-xfce%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

Which professions warranted travel in Medieval times?

How do so many people here on Academia.SE, and in general, afford lavish higher education programs?

Trouble downloading packages list due to a “Hash sum mismatch” error