How to bind AtlGr to Ctrl+Alt in Debian 7

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











up vote
0
down vote

favorite
1












I recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr.



So, I was trying to bind AltGr to Ctrl+Alt without success. First I installed AutoKey but then I didn't know how to use it. Then I installed xbindkeys and tried doing some configuration to get the binding but it didn't work. And I tried more and more things...



At this point I don't know what to do.



AltGr makes me work slowly. There is any way to do the binding without getting head cancer?










share|improve this question























  • Well I must be missing something. I put in my ~/.xbindkeysrc "xdotool key Ctrl+Alt" Alt+Mod2 + Alt_Rand it does not work. If you find a solution, please post it. :)
    – Konstantinos Tsardounis
    May 8 '15 at 1:15







  • 1




    I already solved it. The problem was that I didn know how to use xbindkeys because I'm a linux noob but I finally got it. I added some commands toxbindkeysrc like you said.
    – ivan0590
    May 9 '15 at 10:17















up vote
0
down vote

favorite
1












I recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr.



So, I was trying to bind AltGr to Ctrl+Alt without success. First I installed AutoKey but then I didn't know how to use it. Then I installed xbindkeys and tried doing some configuration to get the binding but it didn't work. And I tried more and more things...



At this point I don't know what to do.



AltGr makes me work slowly. There is any way to do the binding without getting head cancer?










share|improve this question























  • Well I must be missing something. I put in my ~/.xbindkeysrc "xdotool key Ctrl+Alt" Alt+Mod2 + Alt_Rand it does not work. If you find a solution, please post it. :)
    – Konstantinos Tsardounis
    May 8 '15 at 1:15







  • 1




    I already solved it. The problem was that I didn know how to use xbindkeys because I'm a linux noob but I finally got it. I added some commands toxbindkeysrc like you said.
    – ivan0590
    May 9 '15 at 10:17













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr.



So, I was trying to bind AltGr to Ctrl+Alt without success. First I installed AutoKey but then I didn't know how to use it. Then I installed xbindkeys and tried doing some configuration to get the binding but it didn't work. And I tried more and more things...



At this point I don't know what to do.



AltGr makes me work slowly. There is any way to do the binding without getting head cancer?










share|improve this question















I recently I installed Debian 7 in my laptop. I used to use Ctrl+Alt shortcut all the time in Windows, but in Debian 7 I can only use AltGr.



So, I was trying to bind AltGr to Ctrl+Alt without success. First I installed AutoKey but then I didn't know how to use it. Then I installed xbindkeys and tried doing some configuration to get the binding but it didn't work. And I tried more and more things...



At this point I don't know what to do.



AltGr makes me work slowly. There is any way to do the binding without getting head cancer?







debian keyboard-shortcuts keyboard






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 21 at 8:10









Rui F Ribeiro

36.7k1271116




36.7k1271116










asked Apr 25 '15 at 18:24









ivan0590

1213




1213











  • Well I must be missing something. I put in my ~/.xbindkeysrc "xdotool key Ctrl+Alt" Alt+Mod2 + Alt_Rand it does not work. If you find a solution, please post it. :)
    – Konstantinos Tsardounis
    May 8 '15 at 1:15







  • 1




    I already solved it. The problem was that I didn know how to use xbindkeys because I'm a linux noob but I finally got it. I added some commands toxbindkeysrc like you said.
    – ivan0590
    May 9 '15 at 10:17

















  • Well I must be missing something. I put in my ~/.xbindkeysrc "xdotool key Ctrl+Alt" Alt+Mod2 + Alt_Rand it does not work. If you find a solution, please post it. :)
    – Konstantinos Tsardounis
    May 8 '15 at 1:15







  • 1




    I already solved it. The problem was that I didn know how to use xbindkeys because I'm a linux noob but I finally got it. I added some commands toxbindkeysrc like you said.
    – ivan0590
    May 9 '15 at 10:17
















Well I must be missing something. I put in my ~/.xbindkeysrc "xdotool key Ctrl+Alt" Alt+Mod2 + Alt_Rand it does not work. If you find a solution, please post it. :)
– Konstantinos Tsardounis
May 8 '15 at 1:15





Well I must be missing something. I put in my ~/.xbindkeysrc "xdotool key Ctrl+Alt" Alt+Mod2 + Alt_Rand it does not work. If you find a solution, please post it. :)
– Konstantinos Tsardounis
May 8 '15 at 1:15





1




1




I already solved it. The problem was that I didn know how to use xbindkeys because I'm a linux noob but I finally got it. I added some commands toxbindkeysrc like you said.
– ivan0590
May 9 '15 at 10:17





I already solved it. The problem was that I didn know how to use xbindkeys because I'm a linux noob but I finally got it. I added some commands toxbindkeysrc like you said.
– ivan0590
May 9 '15 at 10:17











1 Answer
1






active

oldest

votes

















up vote
2
down vote



accepted










After some research I learned how to use xbindkeys. I only had to add the following commands to the xbindkeysrc file placed in my personal folder:



# LeftBracket
"xvkbd -xsendevent -text "[""
Control+Alt + dead_grave | m:0xc + c:34

# RightBracket
"xvkbd -xsendevent -text "]""
Control+Alt + plus | m:0xc + c:35

# LeftKey
"xvkbd -xsendevent -text """
Control+Alt + dead_acute ""
Control+Alt + ccedilla | m:0xc + c:51

# Pipe
"xvkbd -xsendevent -text "|""
Control+Alt+Mod2 + 1 | m:0x1c + c:10

# AtSign
"xvkbd -xsendevent -text "@""
Control+Alt+Mod2 + 2 | m:0x1c + c:11

# Hash
"xvkbd -xsendevent -text "#""
Control+Alt+Mod2 + 3 | m:0x1c + c:12

# Virgulilla (Spanish keyboard)
"xvkbd -xsendevent -text "~""
Control+Alt+Mod2 + 4 | m:0x1c + c:13

# Slash
"xvkbd -xsendevent -text """
Control+Alt+Mod2 + masculine | m:0x1c + c:49


After that I added xbindkeys to gnome-session-properties to run xbindkeys at startup.
This way I can use Ctrl+Alt like I used to.






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%2f198600%2fhow-to-bind-atlgr-to-ctrlalt-in-debian-7%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
    2
    down vote



    accepted










    After some research I learned how to use xbindkeys. I only had to add the following commands to the xbindkeysrc file placed in my personal folder:



    # LeftBracket
    "xvkbd -xsendevent -text "[""
    Control+Alt + dead_grave | m:0xc + c:34

    # RightBracket
    "xvkbd -xsendevent -text "]""
    Control+Alt + plus | m:0xc + c:35

    # LeftKey
    "xvkbd -xsendevent -text """
    Control+Alt + dead_acute ""
    Control+Alt + ccedilla | m:0xc + c:51

    # Pipe
    "xvkbd -xsendevent -text "|""
    Control+Alt+Mod2 + 1 | m:0x1c + c:10

    # AtSign
    "xvkbd -xsendevent -text "@""
    Control+Alt+Mod2 + 2 | m:0x1c + c:11

    # Hash
    "xvkbd -xsendevent -text "#""
    Control+Alt+Mod2 + 3 | m:0x1c + c:12

    # Virgulilla (Spanish keyboard)
    "xvkbd -xsendevent -text "~""
    Control+Alt+Mod2 + 4 | m:0x1c + c:13

    # Slash
    "xvkbd -xsendevent -text """
    Control+Alt+Mod2 + masculine | m:0x1c + c:49


    After that I added xbindkeys to gnome-session-properties to run xbindkeys at startup.
    This way I can use Ctrl+Alt like I used to.






    share|improve this answer
























      up vote
      2
      down vote



      accepted










      After some research I learned how to use xbindkeys. I only had to add the following commands to the xbindkeysrc file placed in my personal folder:



      # LeftBracket
      "xvkbd -xsendevent -text "[""
      Control+Alt + dead_grave | m:0xc + c:34

      # RightBracket
      "xvkbd -xsendevent -text "]""
      Control+Alt + plus | m:0xc + c:35

      # LeftKey
      "xvkbd -xsendevent -text """
      Control+Alt + dead_acute ""
      Control+Alt + ccedilla | m:0xc + c:51

      # Pipe
      "xvkbd -xsendevent -text "|""
      Control+Alt+Mod2 + 1 | m:0x1c + c:10

      # AtSign
      "xvkbd -xsendevent -text "@""
      Control+Alt+Mod2 + 2 | m:0x1c + c:11

      # Hash
      "xvkbd -xsendevent -text "#""
      Control+Alt+Mod2 + 3 | m:0x1c + c:12

      # Virgulilla (Spanish keyboard)
      "xvkbd -xsendevent -text "~""
      Control+Alt+Mod2 + 4 | m:0x1c + c:13

      # Slash
      "xvkbd -xsendevent -text """
      Control+Alt+Mod2 + masculine | m:0x1c + c:49


      After that I added xbindkeys to gnome-session-properties to run xbindkeys at startup.
      This way I can use Ctrl+Alt like I used to.






      share|improve this answer






















        up vote
        2
        down vote



        accepted







        up vote
        2
        down vote



        accepted






        After some research I learned how to use xbindkeys. I only had to add the following commands to the xbindkeysrc file placed in my personal folder:



        # LeftBracket
        "xvkbd -xsendevent -text "[""
        Control+Alt + dead_grave | m:0xc + c:34

        # RightBracket
        "xvkbd -xsendevent -text "]""
        Control+Alt + plus | m:0xc + c:35

        # LeftKey
        "xvkbd -xsendevent -text """
        Control+Alt + dead_acute ""
        Control+Alt + ccedilla | m:0xc + c:51

        # Pipe
        "xvkbd -xsendevent -text "|""
        Control+Alt+Mod2 + 1 | m:0x1c + c:10

        # AtSign
        "xvkbd -xsendevent -text "@""
        Control+Alt+Mod2 + 2 | m:0x1c + c:11

        # Hash
        "xvkbd -xsendevent -text "#""
        Control+Alt+Mod2 + 3 | m:0x1c + c:12

        # Virgulilla (Spanish keyboard)
        "xvkbd -xsendevent -text "~""
        Control+Alt+Mod2 + 4 | m:0x1c + c:13

        # Slash
        "xvkbd -xsendevent -text """
        Control+Alt+Mod2 + masculine | m:0x1c + c:49


        After that I added xbindkeys to gnome-session-properties to run xbindkeys at startup.
        This way I can use Ctrl+Alt like I used to.






        share|improve this answer












        After some research I learned how to use xbindkeys. I only had to add the following commands to the xbindkeysrc file placed in my personal folder:



        # LeftBracket
        "xvkbd -xsendevent -text "[""
        Control+Alt + dead_grave | m:0xc + c:34

        # RightBracket
        "xvkbd -xsendevent -text "]""
        Control+Alt + plus | m:0xc + c:35

        # LeftKey
        "xvkbd -xsendevent -text """
        Control+Alt + dead_acute ""
        Control+Alt + ccedilla | m:0xc + c:51

        # Pipe
        "xvkbd -xsendevent -text "|""
        Control+Alt+Mod2 + 1 | m:0x1c + c:10

        # AtSign
        "xvkbd -xsendevent -text "@""
        Control+Alt+Mod2 + 2 | m:0x1c + c:11

        # Hash
        "xvkbd -xsendevent -text "#""
        Control+Alt+Mod2 + 3 | m:0x1c + c:12

        # Virgulilla (Spanish keyboard)
        "xvkbd -xsendevent -text "~""
        Control+Alt+Mod2 + 4 | m:0x1c + c:13

        # Slash
        "xvkbd -xsendevent -text """
        Control+Alt+Mod2 + masculine | m:0x1c + c:49


        After that I added xbindkeys to gnome-session-properties to run xbindkeys at startup.
        This way I can use Ctrl+Alt like I used to.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 9 '15 at 10:54









        ivan0590

        1213




        1213



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f198600%2fhow-to-bind-atlgr-to-ctrlalt-in-debian-7%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?

            Christian Cage

            How to properly install USB display driver for Fresco Logic FL2000DX on Ubuntu?