User Tools

Site Tools


custom_shortcuts

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

custom_shortcuts [2021/02/24 13:46] (current)
pavroo created
Line 1: Line 1:
 +===== Custom Shortcuts =====
 +
 +There are a few extra keyboard shortcuts added to Sparky desktops: LXQt, Openbox and Xfce:
 +
 +^ Shortcuts ​     ^ Tool       ^ LXQt command ​     ^ Openbox command ​     ^ Xfce command ​    ^
 +| super+w | Web browser | x-www-browser | x-www-browser | x-www-browser |
 +| super+m | Email client | exo-open –launch MailReader | exo-open –launch MailReader | exo-open –launch MailReader |
 +| super+t | Terminal emulator | x-terminal-emulator | x-terminal-emulator | x-terminal-emulator |
 +| Print | Screenshot | lximage-qt - -screenshot | xfce4-screenshooter / gscreenshot | xfce4-screenshooter |
 +| super+e | File manager | pcmanfm-qt | thunar | thunar |
 +| super+p | Printer | system-config-printer | system-config-printer | system-config-printer |
 +| super+d | Monitor | lxqt-config-monitor |  | xfce4-display-settings - -minimal |
 +| super+l | Monitor |  | lxrandr |  |
 +| super+q | Quit |  | wm-logout |  |
 +| super+r | Run |  | gexec |  |
 +| Ctrl+Esc | Menu |  | jgmenu_run |  |
 +
 +==== How to update shortcuts ====
 +
 +Update **sparky-desktop-data** package to the latest version, then:
 +
 +=== LXQt ===
 +
 +Copy the file:
 +  /​usr/​share/​sparky-desktop-data/​lxqt/​skel/​.config/​openbox/​lxqt-rc.xml
 +
 +to:
 +  ~/​.config/​openbox/​
 +
 +then restart Openbox:
 +
 +  openbox --restart
 +
 +=== Openbox ===
 +
 +Copy the file:
 +  /​usr/​share/​sparky-desktop-data/​openbox/​skel/​.config/​openbox/​rc.xml
 +
 +to:
 +  ~/​.config/​openbox/​
 +
 +then restart Openbox:
 +
 +  openbox --restart
 +
 +=== Xfce ===
 +
 +Add the shortcuts manually:
 +
 +Web browser:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/<​Super>​w"​ --create --type string --set "​x-www-browser"​
 +
 +Email client:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/<​Super>​m"​ --create --type string --set "​exo-open --launch Mailreader"​
 +
 +Terminal emulator:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/<​Super>​t"​ --create --type string --set "​x-terminal-emulator"​
 +
 +Screenshot:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/​Print"​ --create --type string --set "​xfce4-screenshooter"​
 +
 +Thunar:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/<​Super>​e"​ --create --type string --set "​thunar"​
 +
 +Printer:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/<​Super>​p"​ --create --type string --set "​system-config-printer"​
 +
 +Monitor:
 +
 +  xfconf-query --channel xfce4-keyboard-shortcuts --property "/​commands/​custom/<​Super>​d"​ --create --type string --set "​xfce4-display-settings -- minimal"​
 +
 +It can chanage your fonts settings, so reset it via the Xfce Config tool back after.
  
custom_shortcuts.txt · Last modified: 2021/02/24 13:46 by pavroo