[geeks] ~/.4Dwmrc

Jochen Kunz jkunz at unixag-kl.fh-kl.de
Wed Oct 8 10:05:31 CDT 2003


On 2003.10.08 10:36 rob wrote:

> > The only exception is IRIX where I use 4Dwm (with a customized
> > .4Dwmrc).
> Got any good customisations ?
It all started with some hints from http://www.nekochan.net/. There is a
description how to make the virtual desktops of 4Dwm switchable via
keyboard. I added some keyboard shortcuts I got used to while using
fvwm2 (like Z-order switching with ALT-Space). 

diff /usr/lib/X11/system.4Dwmrc /home/jkunz/.4Dwmrc
53c53,55
< 	<Btn3Down>	icon|frame	f.post_wmenu
---
>     # changed out by jkunz
> #	<Btn3Down>	icon|frame	f.post_wmenu
> 	<Btn3Down>	icon|frame	f.lower
60c62,64
< 	<Btn3Down>	frame|icon	f.post_wmenu
---
>     # changed out by jkunz
> #	<Btn3Down>	frame|icon	f.post_wmenu
> 	<Btn3Down>	icon|frame	f.lower
63c67,68
< 	Alt<Btn1Down>	window|icon	f.lower
---
>     # changed out by jkunz
> 	# Alt<Btn1Down>	window|icon	f.lower
72c77,79
< 	<Btn3Down>	frame|icon	f.post_wmenu
---
>     # changed out by jkunz
> 	#<Btn3Down>	frame|icon	f.post_wmenu
> 	<Btn3Down>	icon|frame	f.lower
76c83,84
< 	Alt<Btn1Down>	window|icon	f.lower
---
>     # changed out by jkunz
> 	# Alt<Btn1Down>	window|icon	f.lower
101c109,111
<         <Btn3Down>	frame|icon	f.post_wmenu
---
>     # changed out by jkunz
>         #<Btn3Down>	frame|icon	f.post_wmenu
> 	<Btn3Down>	icon|frame	f.lower
104c114,120
<     Meta<Btn3Down>	window|icon	f.post_wmenu
---
>     # commented out by jkunz
>     # Meta<Btn3Down>	window|icon	f.post_wmenu
>     # begin added by jkunz
>     Meta<Btn1Down>	window|frame|icon	f.raise
>     Alt<Btn2Down>	window|frame|icon	f.move
>     Alt<Btn3Down>	window|frame|icon	f.lower
>     # end added by jkunz
141c157,158
< 	Alt<Key>space		window|icon		f.post_wmenu
---
>     # commented out by jkunz
> 	#Alt<Key>space		window|icon		f.post_wmenu
154a172,186
>     # begin added by jkunz
>     #change desktops
> 	Alt<Key>1 root|icon|window f.switch_desk "Desk 1"
> 	Alt<Key>2 root|icon|window f.switch_desk "Desk 2"
> 	Alt<Key>3 root|icon|window f.switch_desk "Desk 3"
> 	Alt<Key>4 root|icon|window f.switch_desk "Desk 4"
> 	Alt<Key>5 root|icon|window f.switch_desk "Desk 5"
> 	Alt<Key>6 root|icon|window f.switch_desk "Desk 6"
> 	Alt<Key>7 root|icon|window f.switch_desk "Desk 7"
> 	Alt<Key>8 root|icon|window f.switch_desk "Desk 8"
> 	Alt<key>Prior	icon|window|frame		f.raise
> 	Alt<Key>Next	icon|window|frame		f.lower
> 	Alt<Key>space		window|icon		f.raise_lower
> 
>     # end added by jkunz
-- 


tsch|_,
       Jochen

Homepage: http://www.unixag-kl.fh-kl.de/~jkunz/



More information about the geeks mailing list