The day before yesterday on Twitter the user and collaborator Icausilla he asked me for some tutorials to configure Fluxbox, especially the keyboard shortcuts.
For the first I already wrote in this same blog a tutorial to set up the basics. In this post I will focus on keyboard shortcuts, for this we will edit the file ~ / .fluxbox / keys
The syntax of the shortcuts is as follows
<modificador> [<modificador> <modificador>] tecla [tecla tecla] :comando <opciones>
As we can see we can use several keys for our shortcuts.
The modifiers are generally the following:
- None: none
- Mod1: Other
- Mod4: «Windows» key
- Control: ctrl
- Shift: shift
To know which ones are yours you can use the following command:
The commands tell Fluxbox if an external program has to be executed or if we are going to use any of the Fluxbox functions. Here are some examples:
- Exec command [parameters] run a program or script followed by the parameters we want to pass to it. Can also be used ExecCommand
- Restart restart Fluxbox. It can be passed as an extra parameter the startup program of another window manager to replace it with another (for example Openbox)
- Exit exits Fluxbox. Can also be used Quit
- Reconfigure reload configuration
- ReloadStyle reload the theme we are using
- SetStyle changes to the theme that is passed as parameter
There are many more commands, but in order not to extend the topic too much (and that most are already added in the file) below I will put a link to the official Fluxbox wiki with all the commands.
As we can see, Fluxbox has a good keyboard shortcut system that can facilitate some tasks.
I'm going to put examples of my shortcuts:
Control Mod4 w :Exec libreoffice --writer
Control Mod4 f :Exec firefox
Control Mod4 r :Reload
Control Mod4 n :Exec nvidia-settings
I hope this mini-howto helps you.