IceWM Basic Configuration
IceWM is fast, small, stable and uses very little RAM.
It's very configurable and did i mention it was fast?
There are menu ways of configuring IceWM, there are even packages to do this;
i prefer to edit the icewm files, so this is what you'll read here.
[code] # slapt-get -u && slapt-get -i icewm
Enable the 'testing' repo and install menumaker (thanks to stretchedthin)
#slapt-get -i menumaker
Then you put it in your .xinitrc or gdm, here's my .xinitrc:
setxkbmap -option terminate:ctrl_alt_bksp
xsetroot -solid black
xrdb -merge .Xdefaults
setxkbmap es &
unclutter -idle 2 &
Save/exit your editor, and type 'startx' press Enter and you're in the X system.
Now, you could use IceWM as is, no doubt about it, Windows refugees like it for all the wrong reasons, they can point and click to their hearts content and get away with it. But i don't like that, i like to get in trouble, make it even faster
Press the left Windows key and you'll get the Main Menu with what little comes with it. Press the right Windows key and you will see the Windows List.
In the main menu, go to Settings to Focus (i click on Sloppy) and down below, choose your theme.
MenuMaker is a wonderful tool, it will incorporate many apps in your main menu:
$ mmaker -f icewm
Restart IceWM (press the Windows key + r), if you're a 'furreiner' like me with a non-US keyboard, press the first letter of 'Restart' in your language. To launch the main menu just press the Windows key.
And that's it! You are done and do not have to keep on reading
OTOH, there are some other people: geek wannabes, masoquists who like to get in trouble, keybinders, you know what i mean, this section is for you.
First, we create a directory for .icewm, and files for keybindings, window options, preferences, etc.
$ mkdir -p .icewm
Then we create some files:
$ touch .icewm/preferences
$ touch .icewm/keys
$ touch .icewm/prefoverride
$ touch .icewm/winoptions
My purpose is to make the configuration simple and include everything i like.
The global preferences for IceWM are in the file: /usr/share/icewm/preferences, you can copy them to your .icewm/preferences or you do like me, and just copy the ones pertinent to your use. To edit the global file already copied to your .icewm/preferences, uncomment the second line and choose to enable it =1 or disable it =0 Clear as mud?
OK, let's do it: enter .icewm/preferences with your favorite editor, the file will be blank, and copy/paste this:
$ nano .icewm/preferences
ShutdownCommand="sudo halt -p"
WorkspaceNames=" 1 ", " 2 "
You can change these preferences to your own needs.
Next, i do my keybindings (the mouse is too slow)
$ nano .icewm/keys
And paste something like this:
key "Super+a" xterm
key "Super+e" pcmanfm
key "Super+m" claws-mail
key "Super+f" firefox
key "Super+u" xchat
key "Super+l" leafpad
key "Super+o" libreoffice3.5
key "Super+h" sudo halt -p
key "Super+p" sudo reboot
key "Print" xterm -e scrot -cd 10
key "Super+KP_Divide" amixer -q set PCM 5- unmute # lower volume
key "Super+KP_Multiply" amixer -q set PCM 5+ unmute #increase volume
I like keybindings, the 'windows' key is great for me, if the app i am going to launch is on the left side of the keyboard (say xterm) then i press the right Windows key and with my left hand, the letter 'a', you get the idea.
Now, the winoptions - which allows me to launch my apps maximized à la Ratpoison
Edit the file .icewm/winoptions and paste this:
Last, but not least, edit the file .icewm/prefoverride, which changes the default keybindings for yours; these are mine:
Basically, i close my apps with the Windows key and the k key
Maximize any window with F12
Split my screen horizontally by pressing the Windows key plus F2
Split vertically with Windows key plus F3
To get out just maximize both windows with F12
Once you get used to it, you just fly...
I hope this makes your life easier.
PS: I neglected to mention that IceWM comes by default with Alt-Tab and a Run Box (à la fbrun) just press the Windows key + Space bar and a space will open on the taskbar.