How do I change my keyboard shortcuts in xubuntu?












36















I am a new Xubuntu user. Earlier when using Gnome, I was able to configure several desktop shortcuts, particularly for navigation between workspaces.



But, now in Xubuntu, I cannot find those options.



Where can I find those options.










share|improve this question





























    36















    I am a new Xubuntu user. Earlier when using Gnome, I was able to configure several desktop shortcuts, particularly for navigation between workspaces.



    But, now in Xubuntu, I cannot find those options.



    Where can I find those options.










    share|improve this question



























      36












      36








      36


      9






      I am a new Xubuntu user. Earlier when using Gnome, I was able to configure several desktop shortcuts, particularly for navigation between workspaces.



      But, now in Xubuntu, I cannot find those options.



      Where can I find those options.










      share|improve this question
















      I am a new Xubuntu user. Earlier when using Gnome, I was able to configure several desktop shortcuts, particularly for navigation between workspaces.



      But, now in Xubuntu, I cannot find those options.



      Where can I find those options.







      shortcut-keys xubuntu






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Dec 26 '11 at 9:03









      enzotib

      64.6k7136155




      64.6k7136155










      asked Dec 26 '11 at 5:53









      AnkitAnkit

      5762925




      5762925






















          6 Answers
          6






          active

          oldest

          votes


















          46














          Keyboard shortcuts are tucked away in your Settings Manager - Window Manager - Keyboard



          enter image description here



          Scroll down the list - you will see several workspace shortcuts, some defined with a shortcut and some awaiting to be defined.






          share|improve this answer

































            20














            There are more available in Settings Editor in Settngs Manager, which can be launched from the command-line using:



            xfce4-settings-editor


            This will display:



            XFCE4 Settings Editor






            share|improve this answer


























            • I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

              – Harry Moreno
              Oct 25 '14 at 20:32













            • I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

              – Michael Hoffmann
              Aug 26 '15 at 1:16











            • this is not the answer. I voted for the other one

              – Bhikkhu Subhuti
              Mar 14 '16 at 2:22











            • this is editable through cli?

              – Vitaly Zdanevich
              Jan 2 '17 at 11:22











            • @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

              – Xen2050
              Feb 15 at 11:20



















            8














            For Xfce 4.8 (Xubuntu 12.04 LTS)



            Keyboard shortcuts are accessible from Settings -> Settings Manager -> Keyboard -> Application Shortcuts:



            enter image description here




            • Choose "Add" to add a command you need to assign to a shortcut.
              enter image description here


            • In the window following "Ok" press the key combination you want to assign:
              enter image description here







            share|improve this answer
























            • What would I add here to make <Super> open the Application Menu?

              – Eyal
              Apr 21 '13 at 20:24



















            6














            Automate this with xfconf-query



            If multiple machines require configuring keyboard shortcuts, this can be done without having to repeatedly open windows, using the very handy xfconf-query command in a bash script to --set a --property in xfce4-keyboard-shortcuts.xml.



            Here is an example:



            $ xfconf-query --create --channel xfce4-keyboard-shortcuts --property /commands/custom/XF86AudioMute --type string --set 'amixer -D pulse set Master 1+ toggle'


            As a matter of fact, this is part of my solution to restore the function of the mute button in Xubuntu 12.04.






            share|improve this answer





















            • 2





              Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

              – Jakub
              Dec 27 '15 at 10:49













            • How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

              – Ulad Kasach
              Apr 22 '16 at 21:17



















            1














            You can also play in a console with gedit and /apps/metacity/keybinding_commands or /apps/metacity/global_keybindings






            share|improve this answer































              0














              Easy Way



              Heres a script that handles binding commands to keys cleanly in Xubuntu. Download keybind.c, compile it (example is given in readme in link) and simply run ./keybind "<keys to bind to>" "<command>"



              For example heres some I use:



              ./keybind "<Control><Alt>Delete" "gnome-system-monitor"

              ./keybind "<Control><Alt>Up" "xrandr -o inverted"
              ./keybind "<Control><Alt>Down" "xrandr -o normal"
              ./keybind "<Control><Alt>Right" "xrandr -o left"
              ./keybind "<Control><Alt>Left" "xrandr -o right"


              Disclosure: I created the script.



              Slightly less Easy Way



              If you're running a Xubuntu system and want to do it from the terminal it is a simple procedure too.



              For debugging, here is where keybinding shortcuts are stored in XFCE4: $ gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml



              Underlying Schema:

              1) Remove existing commands bound to the binding keys

              2) Set new command to keys



              1a) 
              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down"`<br />
              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Control><Alt>Down"`<br />
              2)
              `xfconf-query --create --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down" --type string --set 'gedit'`


              note if you're binding to key, ubuntu systems treat and equally and you will need to unbind any key bindings with in the above example <Primary><Alt>Down






              share|improve this answer


























              • Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                – Xen2050
                Feb 15 at 11:47











              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',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              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%2f90513%2fhow-do-i-change-my-keyboard-shortcuts-in-xubuntu%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              6 Answers
              6






              active

              oldest

              votes








              6 Answers
              6






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              46














              Keyboard shortcuts are tucked away in your Settings Manager - Window Manager - Keyboard



              enter image description here



              Scroll down the list - you will see several workspace shortcuts, some defined with a shortcut and some awaiting to be defined.






              share|improve this answer






























                46














                Keyboard shortcuts are tucked away in your Settings Manager - Window Manager - Keyboard



                enter image description here



                Scroll down the list - you will see several workspace shortcuts, some defined with a shortcut and some awaiting to be defined.






                share|improve this answer




























                  46












                  46








                  46







                  Keyboard shortcuts are tucked away in your Settings Manager - Window Manager - Keyboard



                  enter image description here



                  Scroll down the list - you will see several workspace shortcuts, some defined with a shortcut and some awaiting to be defined.






                  share|improve this answer















                  Keyboard shortcuts are tucked away in your Settings Manager - Window Manager - Keyboard



                  enter image description here



                  Scroll down the list - you will see several workspace shortcuts, some defined with a shortcut and some awaiting to be defined.







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Dec 26 '11 at 10:27

























                  answered Dec 26 '11 at 8:39









                  fossfreedomfossfreedom

                  150k37331374




                  150k37331374

























                      20














                      There are more available in Settings Editor in Settngs Manager, which can be launched from the command-line using:



                      xfce4-settings-editor


                      This will display:



                      XFCE4 Settings Editor






                      share|improve this answer


























                      • I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

                        – Harry Moreno
                        Oct 25 '14 at 20:32













                      • I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

                        – Michael Hoffmann
                        Aug 26 '15 at 1:16











                      • this is not the answer. I voted for the other one

                        – Bhikkhu Subhuti
                        Mar 14 '16 at 2:22











                      • this is editable through cli?

                        – Vitaly Zdanevich
                        Jan 2 '17 at 11:22











                      • @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

                        – Xen2050
                        Feb 15 at 11:20
















                      20














                      There are more available in Settings Editor in Settngs Manager, which can be launched from the command-line using:



                      xfce4-settings-editor


                      This will display:



                      XFCE4 Settings Editor






                      share|improve this answer


























                      • I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

                        – Harry Moreno
                        Oct 25 '14 at 20:32













                      • I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

                        – Michael Hoffmann
                        Aug 26 '15 at 1:16











                      • this is not the answer. I voted for the other one

                        – Bhikkhu Subhuti
                        Mar 14 '16 at 2:22











                      • this is editable through cli?

                        – Vitaly Zdanevich
                        Jan 2 '17 at 11:22











                      • @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

                        – Xen2050
                        Feb 15 at 11:20














                      20












                      20








                      20







                      There are more available in Settings Editor in Settngs Manager, which can be launched from the command-line using:



                      xfce4-settings-editor


                      This will display:



                      XFCE4 Settings Editor






                      share|improve this answer















                      There are more available in Settings Editor in Settngs Manager, which can be launched from the command-line using:



                      xfce4-settings-editor


                      This will display:



                      XFCE4 Settings Editor







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Oct 23 '14 at 23:47









                      Dave Jarvis

                      7901720




                      7901720










                      answered Jul 18 '12 at 13:17









                      23 93 26 35 19 57 3 8923 93 26 35 19 57 3 89

                      5,05012237




                      5,05012237













                      • I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

                        – Harry Moreno
                        Oct 25 '14 at 20:32













                      • I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

                        – Michael Hoffmann
                        Aug 26 '15 at 1:16











                      • this is not the answer. I voted for the other one

                        – Bhikkhu Subhuti
                        Mar 14 '16 at 2:22











                      • this is editable through cli?

                        – Vitaly Zdanevich
                        Jan 2 '17 at 11:22











                      • @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

                        – Xen2050
                        Feb 15 at 11:20



















                      • I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

                        – Harry Moreno
                        Oct 25 '14 at 20:32













                      • I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

                        – Michael Hoffmann
                        Aug 26 '15 at 1:16











                      • this is not the answer. I voted for the other one

                        – Bhikkhu Subhuti
                        Mar 14 '16 at 2:22











                      • this is editable through cli?

                        – Vitaly Zdanevich
                        Jan 2 '17 at 11:22











                      • @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

                        – Xen2050
                        Feb 15 at 11:20

















                      I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

                      – Harry Moreno
                      Oct 25 '14 at 20:32







                      I tried changing my left_workspace_key to <Super>Left using the editor with sudo. Restarted and the shorcuts remain bound to <Control><Alt>Left any help? en.zimagez.com/zimage/screenshot-10252014-012914pm.php

                      – Harry Moreno
                      Oct 25 '14 at 20:32















                      I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

                      – Michael Hoffmann
                      Aug 26 '15 at 1:16





                      I just switched from Windows. This is so easy to use and navigate! SCREW YOU, REGEDIT! :D

                      – Michael Hoffmann
                      Aug 26 '15 at 1:16













                      this is not the answer. I voted for the other one

                      – Bhikkhu Subhuti
                      Mar 14 '16 at 2:22





                      this is not the answer. I voted for the other one

                      – Bhikkhu Subhuti
                      Mar 14 '16 at 2:22













                      this is editable through cli?

                      – Vitaly Zdanevich
                      Jan 2 '17 at 11:22





                      this is editable through cli?

                      – Vitaly Zdanevich
                      Jan 2 '17 at 11:22













                      @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

                      – Xen2050
                      Feb 15 at 11:20





                      @VitalyZdanevich I think so, see xfconf-query -v -l -c xfce4-keyboard-shortcuts

                      – Xen2050
                      Feb 15 at 11:20











                      8














                      For Xfce 4.8 (Xubuntu 12.04 LTS)



                      Keyboard shortcuts are accessible from Settings -> Settings Manager -> Keyboard -> Application Shortcuts:



                      enter image description here




                      • Choose "Add" to add a command you need to assign to a shortcut.
                        enter image description here


                      • In the window following "Ok" press the key combination you want to assign:
                        enter image description here







                      share|improve this answer
























                      • What would I add here to make <Super> open the Application Menu?

                        – Eyal
                        Apr 21 '13 at 20:24
















                      8














                      For Xfce 4.8 (Xubuntu 12.04 LTS)



                      Keyboard shortcuts are accessible from Settings -> Settings Manager -> Keyboard -> Application Shortcuts:



                      enter image description here




                      • Choose "Add" to add a command you need to assign to a shortcut.
                        enter image description here


                      • In the window following "Ok" press the key combination you want to assign:
                        enter image description here







                      share|improve this answer
























                      • What would I add here to make <Super> open the Application Menu?

                        – Eyal
                        Apr 21 '13 at 20:24














                      8












                      8








                      8







                      For Xfce 4.8 (Xubuntu 12.04 LTS)



                      Keyboard shortcuts are accessible from Settings -> Settings Manager -> Keyboard -> Application Shortcuts:



                      enter image description here




                      • Choose "Add" to add a command you need to assign to a shortcut.
                        enter image description here


                      • In the window following "Ok" press the key combination you want to assign:
                        enter image description here







                      share|improve this answer













                      For Xfce 4.8 (Xubuntu 12.04 LTS)



                      Keyboard shortcuts are accessible from Settings -> Settings Manager -> Keyboard -> Application Shortcuts:



                      enter image description here




                      • Choose "Add" to add a command you need to assign to a shortcut.
                        enter image description here


                      • In the window following "Ok" press the key combination you want to assign:
                        enter image description here








                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Sep 9 '12 at 13:42









                      TakkatTakkat

                      108k37250377




                      108k37250377













                      • What would I add here to make <Super> open the Application Menu?

                        – Eyal
                        Apr 21 '13 at 20:24



















                      • What would I add here to make <Super> open the Application Menu?

                        – Eyal
                        Apr 21 '13 at 20:24

















                      What would I add here to make <Super> open the Application Menu?

                      – Eyal
                      Apr 21 '13 at 20:24





                      What would I add here to make <Super> open the Application Menu?

                      – Eyal
                      Apr 21 '13 at 20:24











                      6














                      Automate this with xfconf-query



                      If multiple machines require configuring keyboard shortcuts, this can be done without having to repeatedly open windows, using the very handy xfconf-query command in a bash script to --set a --property in xfce4-keyboard-shortcuts.xml.



                      Here is an example:



                      $ xfconf-query --create --channel xfce4-keyboard-shortcuts --property /commands/custom/XF86AudioMute --type string --set 'amixer -D pulse set Master 1+ toggle'


                      As a matter of fact, this is part of my solution to restore the function of the mute button in Xubuntu 12.04.






                      share|improve this answer





















                      • 2





                        Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

                        – Jakub
                        Dec 27 '15 at 10:49













                      • How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

                        – Ulad Kasach
                        Apr 22 '16 at 21:17
















                      6














                      Automate this with xfconf-query



                      If multiple machines require configuring keyboard shortcuts, this can be done without having to repeatedly open windows, using the very handy xfconf-query command in a bash script to --set a --property in xfce4-keyboard-shortcuts.xml.



                      Here is an example:



                      $ xfconf-query --create --channel xfce4-keyboard-shortcuts --property /commands/custom/XF86AudioMute --type string --set 'amixer -D pulse set Master 1+ toggle'


                      As a matter of fact, this is part of my solution to restore the function of the mute button in Xubuntu 12.04.






                      share|improve this answer





















                      • 2





                        Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

                        – Jakub
                        Dec 27 '15 at 10:49













                      • How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

                        – Ulad Kasach
                        Apr 22 '16 at 21:17














                      6












                      6








                      6







                      Automate this with xfconf-query



                      If multiple machines require configuring keyboard shortcuts, this can be done without having to repeatedly open windows, using the very handy xfconf-query command in a bash script to --set a --property in xfce4-keyboard-shortcuts.xml.



                      Here is an example:



                      $ xfconf-query --create --channel xfce4-keyboard-shortcuts --property /commands/custom/XF86AudioMute --type string --set 'amixer -D pulse set Master 1+ toggle'


                      As a matter of fact, this is part of my solution to restore the function of the mute button in Xubuntu 12.04.






                      share|improve this answer















                      Automate this with xfconf-query



                      If multiple machines require configuring keyboard shortcuts, this can be done without having to repeatedly open windows, using the very handy xfconf-query command in a bash script to --set a --property in xfce4-keyboard-shortcuts.xml.



                      Here is an example:



                      $ xfconf-query --create --channel xfce4-keyboard-shortcuts --property /commands/custom/XF86AudioMute --type string --set 'amixer -D pulse set Master 1+ toggle'


                      As a matter of fact, this is part of my solution to restore the function of the mute button in Xubuntu 12.04.







                      share|improve this answer














                      share|improve this answer



                      share|improve this answer








                      edited Sep 19 '17 at 11:13

























                      answered Feb 20 '14 at 18:39









                      Serge StroobandtSerge Stroobandt

                      2,1912034




                      2,1912034








                      • 2





                        Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

                        – Jakub
                        Dec 27 '15 at 10:49













                      • How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

                        – Ulad Kasach
                        Apr 22 '16 at 21:17














                      • 2





                        Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

                        – Jakub
                        Dec 27 '15 at 10:49













                      • How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

                        – Ulad Kasach
                        Apr 22 '16 at 21:17








                      2




                      2





                      Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

                      – Jakub
                      Dec 27 '15 at 10:49







                      Works great if you are adding a new shortcut. If you however need to alter an existing one, you first have to delete it by the --reset option and create it again. Otherwise the running XFCE session will not pick it up.

                      – Jakub
                      Dec 27 '15 at 10:49















                      How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

                      – Ulad Kasach
                      Apr 22 '16 at 21:17





                      How would one go about using a different button to bind the command to? For example CtrlAltUp? In other words, how did you know to use /commands/custom/XF86AudioMute?

                      – Ulad Kasach
                      Apr 22 '16 at 21:17











                      1














                      You can also play in a console with gedit and /apps/metacity/keybinding_commands or /apps/metacity/global_keybindings






                      share|improve this answer




























                        1














                        You can also play in a console with gedit and /apps/metacity/keybinding_commands or /apps/metacity/global_keybindings






                        share|improve this answer


























                          1












                          1








                          1







                          You can also play in a console with gedit and /apps/metacity/keybinding_commands or /apps/metacity/global_keybindings






                          share|improve this answer













                          You can also play in a console with gedit and /apps/metacity/keybinding_commands or /apps/metacity/global_keybindings







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Jul 18 '12 at 13:30









                          java_xofjava_xof

                          1113




                          1113























                              0














                              Easy Way



                              Heres a script that handles binding commands to keys cleanly in Xubuntu. Download keybind.c, compile it (example is given in readme in link) and simply run ./keybind "<keys to bind to>" "<command>"



                              For example heres some I use:



                              ./keybind "<Control><Alt>Delete" "gnome-system-monitor"

                              ./keybind "<Control><Alt>Up" "xrandr -o inverted"
                              ./keybind "<Control><Alt>Down" "xrandr -o normal"
                              ./keybind "<Control><Alt>Right" "xrandr -o left"
                              ./keybind "<Control><Alt>Left" "xrandr -o right"


                              Disclosure: I created the script.



                              Slightly less Easy Way



                              If you're running a Xubuntu system and want to do it from the terminal it is a simple procedure too.



                              For debugging, here is where keybinding shortcuts are stored in XFCE4: $ gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml



                              Underlying Schema:

                              1) Remove existing commands bound to the binding keys

                              2) Set new command to keys



                              1a) 
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down"`<br />
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Control><Alt>Down"`<br />
                              2)
                              `xfconf-query --create --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down" --type string --set 'gedit'`


                              note if you're binding to key, ubuntu systems treat and equally and you will need to unbind any key bindings with in the above example <Primary><Alt>Down






                              share|improve this answer


























                              • Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                                – Xen2050
                                Feb 15 at 11:47
















                              0














                              Easy Way



                              Heres a script that handles binding commands to keys cleanly in Xubuntu. Download keybind.c, compile it (example is given in readme in link) and simply run ./keybind "<keys to bind to>" "<command>"



                              For example heres some I use:



                              ./keybind "<Control><Alt>Delete" "gnome-system-monitor"

                              ./keybind "<Control><Alt>Up" "xrandr -o inverted"
                              ./keybind "<Control><Alt>Down" "xrandr -o normal"
                              ./keybind "<Control><Alt>Right" "xrandr -o left"
                              ./keybind "<Control><Alt>Left" "xrandr -o right"


                              Disclosure: I created the script.



                              Slightly less Easy Way



                              If you're running a Xubuntu system and want to do it from the terminal it is a simple procedure too.



                              For debugging, here is where keybinding shortcuts are stored in XFCE4: $ gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml



                              Underlying Schema:

                              1) Remove existing commands bound to the binding keys

                              2) Set new command to keys



                              1a) 
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down"`<br />
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Control><Alt>Down"`<br />
                              2)
                              `xfconf-query --create --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down" --type string --set 'gedit'`


                              note if you're binding to key, ubuntu systems treat and equally and you will need to unbind any key bindings with in the above example <Primary><Alt>Down






                              share|improve this answer


























                              • Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                                – Xen2050
                                Feb 15 at 11:47














                              0












                              0








                              0







                              Easy Way



                              Heres a script that handles binding commands to keys cleanly in Xubuntu. Download keybind.c, compile it (example is given in readme in link) and simply run ./keybind "<keys to bind to>" "<command>"



                              For example heres some I use:



                              ./keybind "<Control><Alt>Delete" "gnome-system-monitor"

                              ./keybind "<Control><Alt>Up" "xrandr -o inverted"
                              ./keybind "<Control><Alt>Down" "xrandr -o normal"
                              ./keybind "<Control><Alt>Right" "xrandr -o left"
                              ./keybind "<Control><Alt>Left" "xrandr -o right"


                              Disclosure: I created the script.



                              Slightly less Easy Way



                              If you're running a Xubuntu system and want to do it from the terminal it is a simple procedure too.



                              For debugging, here is where keybinding shortcuts are stored in XFCE4: $ gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml



                              Underlying Schema:

                              1) Remove existing commands bound to the binding keys

                              2) Set new command to keys



                              1a) 
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down"`<br />
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Control><Alt>Down"`<br />
                              2)
                              `xfconf-query --create --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down" --type string --set 'gedit'`


                              note if you're binding to key, ubuntu systems treat and equally and you will need to unbind any key bindings with in the above example <Primary><Alt>Down






                              share|improve this answer















                              Easy Way



                              Heres a script that handles binding commands to keys cleanly in Xubuntu. Download keybind.c, compile it (example is given in readme in link) and simply run ./keybind "<keys to bind to>" "<command>"



                              For example heres some I use:



                              ./keybind "<Control><Alt>Delete" "gnome-system-monitor"

                              ./keybind "<Control><Alt>Up" "xrandr -o inverted"
                              ./keybind "<Control><Alt>Down" "xrandr -o normal"
                              ./keybind "<Control><Alt>Right" "xrandr -o left"
                              ./keybind "<Control><Alt>Left" "xrandr -o right"


                              Disclosure: I created the script.



                              Slightly less Easy Way



                              If you're running a Xubuntu system and want to do it from the terminal it is a simple procedure too.



                              For debugging, here is where keybinding shortcuts are stored in XFCE4: $ gedit ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml



                              Underlying Schema:

                              1) Remove existing commands bound to the binding keys

                              2) Set new command to keys



                              1a) 
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down"`<br />
                              `xfconf-query --reset --channel xfce4-keyboard-shortcuts --property "/xfwm4/custom/<Control><Alt>Down"`<br />
                              2)
                              `xfconf-query --create --channel xfce4-keyboard-shortcuts --property "/commands/custom/<Control><Alt>Down" --type string --set 'gedit'`


                              note if you're binding to key, ubuntu systems treat and equally and you will need to unbind any key bindings with in the above example <Primary><Alt>Down







                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Apr 27 '16 at 6:44

























                              answered Apr 23 '16 at 1:05









                              Ulad KasachUlad Kasach

                              1,05811219




                              1,05811219













                              • Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                                – Xen2050
                                Feb 15 at 11:47



















                              • Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                                – Xen2050
                                Feb 15 at 11:47

















                              Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                              – Xen2050
                              Feb 15 at 11:47





                              Is that linked "script" really a C program, that just runs terminal commands, kind of like a more complicated shell script?

                              – Xen2050
                              Feb 15 at 11:47


















                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f90513%2fhow-do-i-change-my-keyboard-shortcuts-in-xubuntu%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              How to make a Squid Proxy server?

                              Is this a new Fibonacci Identity?

                              19世紀