Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Wed 01 Oct 2014, 04:43
All times are UTC - 4
 Forum index » House Training » HOWTO ( Solutions )
mini-HOWTO: Customizing windowmanagers; adding key shortcuts
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [1 Post]  
Author Message
doopdoop

Joined: 28 Jul 2005
Posts: 48
Location: Magdeburg, Germany

PostPosted: Thu 28 Jul 2005, 07:28    Post subject:  mini-HOWTO: Customizing windowmanagers; adding key shortcuts  

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
Code:

Key F1        A       A       Exec dillo /usr/share/doc/index.html


For .jwmrc
Code:
<Key key="F1">exec:dillo /usr/share/doc/index.html</Key>


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
Code:

Key F2        A       C       Exec rxvt

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
Code:
<Key mask="C" key="F2">exec:rxvt</Key>


See the config files for a lot more options.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [1 Post]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0385s ][ Queries: 11 (0.0032s) ][ GZIP on ]