KDE to IceWM

Print Friendly, PDF & Email

How to change from KDE to IceWM using apt-get/Synaptic’, ‘Start synaptic. If you haven\’t done so already, click on the “Refresh” button to update your package list.

Now, scroll down to User Interface/Desktops and right-click on each of the following and select “Install”:

icewm
icewm-themes (not needed for MythTV)

Now, click on Apply at the top. This will download and install the selected packages (and any dependencies that may be needed. Which, there are none for icewm).

Ok.. So let\’s tell the system to use IceWM instead of KDE for ALL users:

(as root)
# which icewm

This will make sure that the executable is in your systems path.

# vi /usr/X11R6/lib/X11/xinit/Xclients

Add the following:

elif [ “$DESKTOP” = “ICEWM” ]; then
PREFERRED=icewm-session

So it looks like this:

PREFERRED=
if [ -f /etc/sysconfig/desktop ]; then
. /etc/sysconfig/desktop
if [ “$DESKTOP” = “GNOME” ]; then
PREFERRED=gnome-session
elif [ “$DESKTOP” = “ICEWM” ]; then
PREFERRED=icewm-session
elif [ “$DESKTOP” = “KDE” ]; then
PREFERRED=startkde
elif [ “$DESKTOP” = “WINDOWMAKER” ]; then
PREFERRED=wmaker
fi

Next, let\’s set the default:

# vi /etc/sysconfig/desktop

Change:

DESKTOP=”KDE”
DISPLAYMANAGER=KDE

To:

DESKTOP=”ICEWM”
DISPLAYMANAGER=ICEWM

Now, logout and log back in.

MythTV Setup:

Next, we want to autostart MythTv, and get rid of the toolbar.

# vi /usr/share/icewm/startup

insert:

/usr/bin/mythfrontend &

Save the file, and make it executable:

# chmod +x /usr/share/icewm/startup

# vi /usr/share/icewm/preferences

Remove the # from in front of
ShowTaskBar=0 # 0/1

and change it to 0.
(around line 179)

Leave a Reply