shift:both_capslock disables normal shift behavior

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











up vote
1
down vote

favorite












I set the xkb option shift:both_capslock (because I also use caps:escape) but this seems to have disabled the normal behavior of the shift key. How can I get that normal behavior back while still allowing the double press.



I used to do this in gnome, but I am trying out sway.










share|improve this question





















  • I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered?
    – gandalf3
    Aug 26 '17 at 0:57










  • @gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though!
    – carloabelli
    Aug 26 '17 at 0:59














up vote
1
down vote

favorite












I set the xkb option shift:both_capslock (because I also use caps:escape) but this seems to have disabled the normal behavior of the shift key. How can I get that normal behavior back while still allowing the double press.



I used to do this in gnome, but I am trying out sway.










share|improve this question





















  • I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered?
    – gandalf3
    Aug 26 '17 at 0:57










  • @gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though!
    – carloabelli
    Aug 26 '17 at 0:59












up vote
1
down vote

favorite









up vote
1
down vote

favorite











I set the xkb option shift:both_capslock (because I also use caps:escape) but this seems to have disabled the normal behavior of the shift key. How can I get that normal behavior back while still allowing the double press.



I used to do this in gnome, but I am trying out sway.










share|improve this question













I set the xkb option shift:both_capslock (because I also use caps:escape) but this seems to have disabled the normal behavior of the shift key. How can I get that normal behavior back while still allowing the double press.



I used to do this in gnome, but I am trying out sway.







linux x11 xkb






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 21 '17 at 18:44









carloabelli

182111




182111











  • I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered?
    – gandalf3
    Aug 26 '17 at 0:57










  • @gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though!
    – carloabelli
    Aug 26 '17 at 0:59
















  • I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered?
    – gandalf3
    Aug 26 '17 at 0:57










  • @gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though!
    – carloabelli
    Aug 26 '17 at 0:59















I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered?
– gandalf3
Aug 26 '17 at 0:57




I'm having the same issue, and an examination of xev suggests pressing shift produces a Shift_L key press event, and a Caps_Lock key release event (!). Does this seem to be the same behavior you've encountered?
– gandalf3
Aug 26 '17 at 0:57












@gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though!
– carloabelli
Aug 26 '17 at 0:59




@gandalf3 Due to this and some other issues I switched back to gnome so I cannot test. Thanks for the xev output though!
– carloabelli
Aug 26 '17 at 0:59










1 Answer
1






active

oldest

votes

















up vote
0
down vote













I eventually got it to work the way I want with sxhkd and xdotool, as follows



shift + ~Shift_L,R 
xdotool key Caps_Lock





share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f339174%2fshiftboth-capslock-disables-normal-shift-behavior%23new-answer', 'question_page');

    );

    Post as a guest






























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    I eventually got it to work the way I want with sxhkd and xdotool, as follows



    shift + ~Shift_L,R 
    xdotool key Caps_Lock





    share|improve this answer
























      up vote
      0
      down vote













      I eventually got it to work the way I want with sxhkd and xdotool, as follows



      shift + ~Shift_L,R 
      xdotool key Caps_Lock





      share|improve this answer






















        up vote
        0
        down vote










        up vote
        0
        down vote









        I eventually got it to work the way I want with sxhkd and xdotool, as follows



        shift + ~Shift_L,R 
        xdotool key Caps_Lock





        share|improve this answer












        I eventually got it to work the way I want with sxhkd and xdotool, as follows



        shift + ~Shift_L,R 
        xdotool key Caps_Lock






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Aug 20 at 1:38









        gandalf3

        12314




        12314



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f339174%2fshiftboth-capslock-disables-normal-shift-behavior%23new-answer', 'question_page');

            );

            Post as a guest













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay