mini-HOWTO: Customizing windowmanagers; adding key shortcuts
Posted: Thu 28 Jul 2005, 11:28
Here is how to put your favorite applications to start by just pressing a certain key.
The behaviour of the windowmanagers ist steered by configuration files, e.g. for fvwm95 this is /root/.fvwm95rc, for jwm this is /root/.jwmrc. They are loaded once the graphical desktop boots up, so if you make changes to these files, you have to restart the window manager (e.g. by Start -> Shutdown -> Restart...)
If you want e.g. that the Puppy help pages will popup if you press F1 add the following lines
For .fvwm95rc
For .jwmrc
However, be aware that, if you configure your keys here, they can not be used in applications. So you might want to setup more rarely used keys.
To run rxvt by pressing Ctrl+F2 you can use
For .fvwm95rc
See the difference to the example above ?
C is the modifier to use Ctrl+ key combinations. Other alternatives would be: "A" single key, "S" shift+key, "M" alt+, "SC" shift+control+key, ... see the .fvwmrc95rc for other examples.
For .jwmrc the corresponding entry would be
See the config files for a lot more options.
The behaviour of the windowmanagers ist steered by configuration files, e.g. for fvwm95 this is /root/.fvwm95rc, for jwm this is /root/.jwmrc. They are loaded once the graphical desktop boots up, so if you make changes to these files, you have to restart the window manager (e.g. by Start -> Shutdown -> Restart...)
If you want e.g. that the Puppy help pages will popup if you press F1 add the following lines
For .fvwm95rc
Code: Select all
Key F1 A A Exec dillo /usr/share/doc/index.html
Code: Select all
<Key key="F1">exec:dillo /usr/share/doc/index.html</Key>
To run rxvt by pressing Ctrl+F2 you can use
For .fvwm95rc
Code: Select all
Key F2 A C Exec rxvt
C is the modifier to use Ctrl+ key combinations. Other alternatives would be: "A" single key, "S" shift+key, "M" alt+, "SC" shift+control+key, ... see the .fvwmrc95rc for other examples.
For .jwmrc the corresponding entry would be
Code: Select all
<Key mask="C" key="F2">exec:rxvt</Key>