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 Thu 18 Dec 2014, 00:16
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 Posts_count_1  
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:   Sort by:   
Page 1 of 1 Posts_count_1  
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » HOWTO ( Solutions )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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