This is a very light, extremely fast window manager, one of my favorites.
First thing i do is copy the global config file /etc/system.jwmrc
to my /home, to do that i update the database as root, look for it, and
copy it to my /home. You are NOT allowed to edit the global file.
$ slocate .jwmrc
$ cp /etc/system.jwmrc .jwmrc
So, from now on i can access this file as user.
$ nano .jwmrc
We're faced with a long config file but the good news is that there is
only one file
Note that the wm is very configurable and this is a subjective matter, what
is good for me, is not necessariy good for you; there is a choice and it's all
up to you.
I corrected some items in the menu:
<Program icon="terminal.png" label="Qterminal">qterminal</Program>
<Program icon="www.png" label="Firefox">firefox</Program>
Just in case you use menu a lot.
In the first part i configure my apps to be launched full-sized, maximized,
i like it that way, easy for me to work. No dragging, no resizing, just
alt-tab to move from one to the other.
And so on, i do the same for xfe, firefox, sylpheed, xchat, etc. Make
sure lines are aligned correctly IF you want your apps
Otherwise, if you like your apps floating, ignore this section.
For the regular look (taskbar at the bottom):
<Tray x="0" y="-1" autohide="off">
FOR THE TASKBAR ON TOP
<Tray x="0" y="+1" autohide="off">
<!-- Visual Styles -->
TASKBAR IN AUTOHIDE (á la ratpoison)
<Tray x="0" y="+1" autohide="top">
By default it comes with several workspaces, one on top of each other,
i only use 2, one next to the other:
<!-- Virtual Desktops -->
<!-- Desktop tags can be contained within Desktops for desktop names. -->
<Desktops width="2" height="1">
Needless to say, if you want more workspaces, change the number of desktops in
"width". IIRC, 2 desktps is the default in Vectorlinux.
A = Alt
C = Control
4 = Windows key
<!-- Key bindings -->
<Key mask="A" key="Tab">next</Key>
<Key mask="" key="F4">close</Key>
<Key mask="" key="F12">maximize</Key>
<Key mask="C" key="Right">rdesktop</Key>
<Key mask="C" key="Left">ldesktop</Key>
<Key mask="" key="F1">exec:qterminal</Key>
<Key mask="" key="F2">exec:xfe</Key>
<Key mask="" key="F3">exec:firefox</Key>
<Key mask="" key="F8">exec:xchat</Key>
<Key mask="" key="F7">exec:geany</Key>
<Key mask="" key="F10">exec:jwm -restart</Key>
<Key mask="" key="Print">exec:qterminal -e scrot -cd 10</Key>
<Key mask="C" key="F1">root:1</Key>
<Key mask="C" key="F2">exec:gmrun</Key>
<Key mask="4" key="Down">>exec:amixer set Master 6%- </Key>
<Key mask="4" key="Up">exec:amixer set Master 6%+ </Key>
<Key mask="4" key="0">exec:amixer sset Master,0 toggle </Key>
HOW DOES IT WORK
Alt-tab for moving btwn screens
Winkey + arrow right/left for changing workspaces
F4 closes apps
F12 maximizes screen
F3 launches browser
Print key takes a picture with scrot
F1 launches terminal
F2 launches file manager
F4 closes app
F8 launches xchat
F10 restarts jwm
alt + F1 gives you the main menu
And so forth...
As ROOT, edit /etc/sudoers and put this at the bottom:
I have no use for the Fn keys, but if you do, you can add Alt, Ctrl
or the Windows key to the Fn keys or any letter you feel confortable
with. A+Fn key or C+Fn key or 4+Fn key
The thing is to increase your speed, by the time you point and
click with the mouse, you could be already working, with your keybinds.
To start jwm automatically as you enter X, edit the file .xinitrc as user:
In order NOT to use gdm, edit /etc/inittab as ROOT and leave this line looking
# Default runlevel. (Do not set to 0 or 6)
$ nano .xinitrc
setxkbmap -option terminate:ctrl_alt_bksp
xsetroot -solid black
unclutter -idle 2 &
save/exit from the editor,RESTART from the menu (Control+F1)
next time you can restart with F10.
$ jwm -p (to see if there any parsing errors)
When you come back, you'll be at the console:
passwd: (userpassword) Enter
If this is too much of a PITA, use gdm and voilá! You're in, like Flynn.
macondo aka Lou, bobo, cerealkiller