Author Topic: How to create Keyboard Shortcuts for Commonly Used Applications  (Read 16718 times)

0 Members and 1 Guest are viewing this topic.

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
'''Keyboard shortcuts''' can be used to access Frequently Used Applications like-


1.Web Browser

2.Terminal

3.File Manager

4.Package Manager


Here's how to do it.

In your panel, Applications -> Settings -> Keyboard.

Open the Application Shortcuts Tab.

''To Add a new Shortcut'', click on Add

Now we need to type in the name of the command.

For terminal,type-

xfce4-terminal

Click on Ok.

Then we need to press the keyboard key(s) to create the shortcut.

Press Super Key + T

To create the '''Super(Windows) + t'''  key combination for Terminal


More such shortcuts can be created in a similar manner.

These shortcuts can be ''edited'' also by double clicking on them to change the command.


'''Some Examples-'''


''Web Browser''

command-
exo-open --launch WebBrowser

shortcut-
 <Super>W


''File Manager (Thunar)''

command-
 thunar

shortcut-
 <Super>F


''Package Manager (Pamac)''

command-
 pamac-manager

shortcut-
 <Super>P


''Package Manager (Octopi)''

command-
 octopi

shortcut-
 <Super>O


''GParted''

command-
 gksudo gparted

shortcut-
 <Super>G


I have wikified this topic
http://wiki.manjaro.org/index.php?title=XFCE:Making_Keyboard_Shortcuts_for_Frequently_Used_Applications
Refer the wiki for more details.

See also-
http://forum.manjaro.org/index.php?topic=6878.msg61704#msg61704
http://forum.manjaro.org/index.php?topic=6322.msg55642#msg55642
http://docs.xfce.org/xfce/xfce4-settings/keyboard
« Last Edit: 01. October 2013, 08:21:54 by aaditya »

Offline sdch

  • Sr. Mitglied
  • ****
  • Posts: 277
  • Branch: Stable
  • Desktop: KDE
  • GPU Card: nvidia
  • GPU driver: nvidia
  • Kernel: 3.12 LTS x86_64
  • Skill: Novice
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #1 on: 08. October 2013, 08:41:46 »
thanks

Offline aaditya

  • OpenRC Team
  • ****
  • Posts: 2844
    • My Website
  • Branch: Testing
  • Desktop: Xfce, Openbox
  • GPU Card: Intel HD 4000
  • Kernel: Linux 4.4 x86_64
  • Skill: Intermediate
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #2 on: 08. October 2013, 08:55:30 »
@sdch, Glad to help ;)

Offline bloomode

  • Vollwertiges Mitglied
  • ***
  • Posts: 247
  • Branch: testing
  • Desktop: varies
  • GPU Card: ATI
  • GPU driver: open source
  • Kernel: x86_64 GNU/Linux
  • Skill: Advanced
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #3 on: 08. October 2013, 09:13:01 »
 how can I make a combonation that will flush the toilet?
  or should I make it an alias???
end~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                ((((((((([ 'Karma..........  she always waits' ])))))))))

                        https://www.noisebridge.net/

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #4 on: 08. October 2013, 09:20:33 »
My setup:

Super+W = Web Browser (chromium)
Super+E = File Manager (thunar)*
Super+T = Terminal (urxvt)
Super+R = Run box (gmrun)*

* (I don't deny some are intentionally the same as MS Windows defaults, because I still deal with Windows systems at most of my business clients, so it's useful for me :P )

I launch most other apps via gmrun, which provides a run box with tab auto-completion that operates similar to the terminal, very fast if you're a reasonably quick typist (like, to launch aqualung for me right now the exact key presses are Super+R, A, Q, Tab, Enter... which although sounds like a bit ends up being performed in under 2 seconds.


EDIT
heh aaditya, I didn't actually read your examples at first, just noticed a couple are the same as me. :D
« Last Edit: 08. October 2013, 09:28:52 by Korrode »

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #5 on: 23. December 2013, 00:10:32 »
keycombo to raise or lower volume?  thanks

Offline Ayceman

  • Core Team
  • *****
  • Posts: 2113
  • Security Chief :P
  • Branch: stable, unstable
  • Desktop: Xfce
  • GPU Card: GTX780/HD3000/AMD8400
  • GPU driver: Nvidia/Intel/Catalyst
  • Kernel: latest stable+lts (64)
  • Skill: Advanced
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #6 on: 23. December 2013, 17:04:43 »
None set by default (unless you have media keys), but the commands to define them yourself are these:

increase by 3%:
amixer -q sset Master 3%+

decrease by 3%:
amixer -q sset Master 3%-

mute/unmute:
amixer -q sset Master toggle

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #7 on: 23. December 2013, 17:47:51 »
I use
Super+z run
Super+x logout
Super+c kill window
Super+s settings
Super+f thunar
Super+g geany
Super+Shift+f thunar as root
Super+Shift+g geany as root
Super+w firefox
Super+r rhythmbox
Super+Enter terminal
Super+p leafpad
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline Ayceman

  • Core Team
  • *****
  • Posts: 2113
  • Security Chief :P
  • Branch: stable, unstable
  • Desktop: Xfce
  • GPU Card: GTX780/HD3000/AMD8400
  • GPU driver: Nvidia/Intel/Catalyst
  • Kernel: latest stable+lts (64)
  • Skill: Advanced
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #8 on: 23. December 2013, 20:23:48 »
My usage is this:

Name/Function                     Command                                            Shortcut

Whisker Menu                         xfce4-popup-whiskermenu                      SuperL
Whisker Menu (secondary)     xfce4-popup-whiskermenu                        SuperR
Terminal                                  xfce4-terminal                                       Alt+T
Terminal (Drop Down)             xfce4-terminal --drop-down                      Alt+F1
Run Application                       xfrun4                                                    Alt+F2
Log Out/Shutdown                  xfce4-session-logout                                Ctrl+Alt+End
Task Manager                         xfce4-taskmanager                                  Alt+M
File Manager                           Thunar                                                    Alt+F
Internet Browser                     firefox                                                    Alt+N
Calculator                               galculator                                               Alt+G
Screenshot                             xfce4-screenshooter                                Print
Display Settings                     xfce4-display-settings --minimal                 Alt+P
XFLock                                    xflock4                                                 Ctrl+Alt+Delete
« Last Edit: 23. December 2013, 20:25:39 by Ayceman »

Offline gychang

  • Vollwertiges Mitglied
  • ***
  • Posts: 217
  • Skill: Novice
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #9 on: 24. December 2013, 04:25:41 »
None set by default (unless you have media keys), but the commands to define them yourself are these:

increase by 3%:
amixer -q sset Master 3%+

decrease by 3%:
amixer -q sset Master 3%-

mute/unmute:
amixer -q sset Master toggle

thanks, works great

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #10 on: 24. December 2013, 14:19:08 »
i do not use a lot of keyboard shortcuts, because i have my most used programs as starters in my panel. this way, i can use the mouse to start them. this is faster than switching to the keyboard to start a program and then using the mouse again to navigate the program.

i use whiskermenu to start the rest of my applications/programs. i used to use synapse (which is a bit faster), but whiskermenu does the job as well.

here are my shortcuts:

whiskermenu                 super_l
terminal (dropdown)      capslock
taskmanager                 shift+ctrl+esc
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #11 on: 24. December 2013, 14:24:40 »
i do not use a lot of keyboard shortcuts, because i have my most used programs as starters in my panel. this way, i can use the mouse to start them. this is faster than switching to the keyboard to start a program and then using the mouse again to navigate the program.
Mate you'll notice most of us use shortcuts that only require ones left hand to be on the keyboard. I think most people will agree a shortcut that explicitly requires hand-off-mouse isn't great if it's something that's going to be used very often.

Don't get me wrong though, nothing wrong with panel launchers if that's your preference.

Offline excalibur1234

  • Global Moderator
  • *****
  • Posts: 2508
  • Branch: unstable
  • Desktop: net-minimal + LXQt
  • GPU driver: video-nouveau
  • Kernel: 4.6
  • Skill: Intermediate
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #12 on: 26. December 2013, 16:12:50 »
Mate you'll notice most of us use shortcuts that only require ones left hand to be on the keyboard. I think most people will agree a shortcut that explicitly requires hand-off-mouse isn't great if it's something that's going to be used very often.

Don't get me wrong though, nothing wrong with panel launchers if that's your preference.

i noticed.
if you want to use shortcuts, you can. this is the great thing about linux: you have so many choices. one choice is not better than another, because people (and their habits) are different as well.

there is a difference of using the left hand to write or to use it to launch 2-button keyboard shortcuts. it is just a different position of the left hand. this is the reason i use (almost) exclusively one-button keyboard shortcuts.
imho, it is easier to press caps-lock and start writing a command in the terminal than to press a 2-button combination (e.g. super_l + t).
Need more information? Search here:   Manjaro Forum   |   Manjaro Wiki   |   Arch Wiki

Offline rudylorren

  • Held Mitglied
  • *****
  • Posts: 792
  • Nothin left to do but smile smile smile :)
  • Branch: unstable
  • Desktop: openbox - bspwm
  • GPU driver: free
  • Kernel: linux3.12 lts
  • Skill: Intermediate
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #13 on: 26. December 2013, 16:40:19 »
I like super+return for terminal because I'll be typing with two hands anyway
The Manjaro Forum Rules
https://forum.manjaro.org/index.php?topic=11253.msg100841#msg100841
May your life be a symphony of freedom.
Do what thou wilt without infringing on anothers right to a peace-full existence.

Offline Alex Ikasu

  • Neuling
  • *
  • Posts: 11
  • Software developer, Professional procrastinator
  • Branch: Stable
  • Desktop: Xfce
  • GPU Card: AMD HD6310
  • GPU driver: Free
  • Kernel: Lastest available
  • Skill: Intermediate
Re: How to create Keyboard Shortcuts for Commonly Used Applications
« Reply #14 on: 29. December 2013, 18:31:20 »
Hi, can someone tell me the command to minimize all open windows please?
I don't believe in anything, I'm just here for the violence.