Tuesday, February 12, 2013

How to Install & Configure ICEWM window manager on Archlinux

Based on Wikipedia, IceWM is a window manager for the X Window System graphical infrastructure, written by Marko Maček. It was coded from scratch in C++ and is released under the terms of the GNU Lesser General Public License.
It is relatively lightweight in terms of memory and CPU usage, and comes with themes that allow it to imitate the UI of Windows 95, OS/2, Motif, and other graphical user interfaces". 
Installation on Archlinux.
$sudo pacman -S icewm icewm-utils mmaker icewm-themes pcmanfm idesk
icewm = main package of icewm
icewm-utils = tools to configure icewm.
mmaker = for create app menu in start menu
icewm-themes = archlinux icewm themes.
pcmanfm = icewm doesn't have file manager, so you can try pcmanfm.
network manager = see here.
idesk = to put icon on desktop

From AUR: (you must install yaourt first or install pacman XG4)
$sudo yaourt -S usbmount
This for auto mount your usb flash drive.

If you have installed the LXDE desktop. Then you just install icewm, mmaker, & icewm-themes.

Okay after you install icewm then login to desktop.

To Login using LXDM, GDM, KDM, lightdm-> icewm is automaticly detected, just choose the session icewm then login.

For Slim, see the configuration here.

Okay login to ICEWM. Here's some the icewm desktop themes.
How to Install & Configure ICEWM window manager on Archlinux

Okay here's the step to make ICEWM more comfortable.

1. Copy configuration folder to user folder.

Do it by normal user.
$ mkdir ~/.icewm/
$ cp -R /usr/share/icewm/* ~/.icewm/

2. Add app menu, on startmenu

you can use mmaker.
$sudo mmaker -f icewm
Logout or changing the theme to make effects. Now see on the start menu, the results is like this.
How to Install & Configure ICEWM window manager on Archlinux

3. Automount USB/Internal drive

Well it's not desktop environment, so it's different, to be able auto mount internaldrive, just add the partition into /etc/fstab/ see post here.

To automount USB drive, see above, install usbmount from AUR.
How to Install & Configure ICEWM window manager on Archlinux


4. Add icewm control center on menu.

Run icecc on terminal, then choose menu editor.


How to Install & Configure ICEWM window manager on Archlinux

Open system or place that you want, then click add, insert your title, icons. For exec is "icecc", see below.
How to Install & Configure ICEWM window manager on Archlinux

5. Customize Icons on Start Menu Application

It same as Point #4 above, choose on menu editor.

Click on the app menu picture, then do like this gif animation to change the icons.
How to Install & Configure ICEWM window manager on Archlinux

But To change apps icon only can be change one by one.. :lol: enjoy.

6. Add Icons on File Manager (pcmanfm).

You can install some icons, for example oxygen-icons
$sudo pacman -S oxygen-icons
Then
$sudo nano /etc/gtk-2.0/gtkrc
Then change into like this for oxygen icons
gtk-icon-theme-name = "oxygen"

7. Create Autostart Apps

To create startup application.
$nano ~/.icewm/startup

Then insert the apps that you want to start automaticly.
#!/bin/sh 
idesk& 
nm-applet&
volumeicon&

Then save.
Make it executable
$chmod +x ~/.icewm/startup

8. Change Background

open icecc, then click on, background option editor.

How to Install & Configure ICEWM window manager on Archlinux

Then set your directory of your wallpaper, then choose the wallpaper.

How to Install & Configure ICEWM window manager on Archlinux

Then to strectch wallpaper, enable scale image, then apply.

9. Create icon menu on Desktop

By default icewm doesn't have tools to create icons menu on desktop, but you can use idesk to do it.
Create startup like point #7. command line is idesk
then create .idesktop folder
$mkdir ~/.idesktop
Logout and login to see the efects, and it should like this.
How to Install & Configure ICEWM window manager on Archlinux

To add more icon, open .idesktop directory, then create file with this format.
How to Install & Configure ICEWM window manager on Archlinux

For this example, i create LXterminal icons.
How to Install & Configure ICEWM window manager on Archlinux

And save as yourfile.lnk files. For that example is lxterminal.lnk, then logout and login. Here's the result.
How to Install & Configure ICEWM window manager on Archlinux

10. Add Networkmanager & volumecontrol on system tray.

You can use volumeicon to control volume on system tray
Install it
$sudo pacman -S volumeicon

Make sure you have installed the alsa driver.
Then add the commands on point #7 above.

For network manager, add nm-applet command to point #7 too.

Here the result.
How to Install & Configure ICEWM window manager on Archlinux
For mixer. It will show up the alsa mixer.
How to Install & Configure ICEWM window manager on Archlinux

11. Modify Quick Apps on Icewm Panel.

open icecc, then choose, toolbar editor. Then add the apps that you want.
How to Install & Configure ICEWM window manager on Archlinux


12. Change Font Style.

For easy editing, i suggest you install leafpad
$sudo pacman -S leafpad
Then.
$leafpad ~/.icewm/preferences
Search for fonts. Then change to your needs. And don't forget to uncomment them.
How to Install & Configure ICEWM window manager on Archlinux
I don't change the fonts, because the default is better. :)

13. Move Icewm panel to top

$leafpad ~/.icewm/preferences 
then find this line. Uncomment the set to 1.
How to Install & Configure ICEWM window manager on Archlinux

And here for the results.

14. Changing the themes.

Open start menu, then choose settings and then themes, there a lot themes that you can choose.

15. Make ICEWM transparent

To make conky, screenlets have transparent on widget you can try xcompmgr
$sudo pacman -S xcompmgr
Here's my snapshot with conky:

How to Install & Configure ICEWM window manager on Archlinux


That's it. Enjoy Icewm on Archlinux. :D
Share on Facebook
Share on Twitter
Share on Google+