Sunday, December 2, 2007

Install KDE on the Asus EEE pc

Before doing this, remove any repositories you may have added. You ONLY want to use the packages from the Asus update repositories. To do this: ctrl-alt-T, sudo kwrite /etc/apt/source.list. Put '#' (no quotes) in front of any repositories other than the Asus ones. Save and close. Then, sudo apt-get update.

Enabling to full desktop mode (KDE)

This method will get you the components needed for the 'full desktop', which is the K Desktop Environment (KDE). You must be connected to the internet before doing this.

  1. Open a console window (CTRL-ALT-T).
  2. Type the following to install ksmserver and kicker, the two programs we need (answer Y if it asks you if you're sure you want to install anything):
  3. sudo bash
  4. apt-get update
  5. apt-get install ksmserver kicker
  6. Restart (should go to Easy Mode)
NB: Now you need to choose either " Simple Way" or "Boot directly" below. You're not done yet.

Simple way to boot into Advanced Mode

Using this method will result in a sort of “double boot” that will lengthen the startup time by about ten seconds. If you use this method, your desktop icons will disappear at each reboot. In order to maintain them, as well as improving booting speed, you need also to follow the instructions to " Boot directly into the mode last used": Easy Mode or Advanced Desktop Mode below.

  1. Go to Settings → Personalization
  2. Select “Full Desktop Mode” under Login Mode
  3. Reboot.

You should now be in full desktop mode.

Other walkthroughs using this method

Another simple way to boot into Advanced Mode (no double boot effect)

This way you will directly boot into KDE, with usb and samba shares fully working. All the changes are made in the user directory, so the side effects are reduced, and reversion is simple as an rm -f .xinitrc.

First open a terminal (by hitting Ctrl-Alt-t) and open the .xinitrc file in your home directory with your loved text editor (e.g. nano -w ~/.xinitrc), then paste this in :


#Needed to get automount working
xhost + si:localuser:root
sudo rm /tmp/nologin

#Needed to get the network working
sudo /opt/xandros/bin/start_netserv &


Save (Ctrl-O and Y with nano) and reboot.

Boot directly into the mode last used: Easy Mode or Advanced Desktop Mode

This method remembers which mode you were using the next time you start the computer. It also avoids the “double boot” effect. It seems to properly recognize SD cards and USB devices and show the Windows Network in file manager (previously common problems).

WARNING: Incorrectly editing may result in an “unbootable” system that can only be recovered by either using a Live Linux Distro on a CDRom or Flash drive to restore a copy of, or by performing a full system recovery (pressing F9 during bootup).

First do Enabling to full desktop mode (KDE)

Replace the text in the existing file with this one using nano editor or any other one.
Don't forget to back up the original file (cp /usr/bin/ /usr/bin/
Don't forget to back up the original file (cp /usr/bin/ /usr/bin/

Edit these by copying the text below, launch a console and type: sudo kwrite /usr/bin/ Paste in the text.


touch /home/user/.kdesession #changed
killall xinit


sudo /usr/bin/sessreg -d -l :0.0 -u /var/run/utmp user
xhost + si:localuser:root # Allow local user root only to access the diplay

if [ -f /home/user/.kdesession -a ! -f /home/user/.easysession ]; then #changed
sudo /usr/bin/sessreg -a -l :0.0 -u /var/run/utmp user
[ -f /usr/bin/dispwatch ] && /usr/bin/dispwatch &
for i in /sys/block/s[dr]?/uevent ; do
sudo /bin/sh -c "echo add > $i"
(sleep 8; /opt/xandros/bin/start_netserv) & #added
(sleep 16; /usr/local/bin/asusosd) & #added
sudo rm -f /tmp/nologin #changed
exec startkde
sudo /usr/bin/sessreg -a -l :0.0 -u /var/run/utmp user
if [ -f /home/user/.easysession ]; then
# we are switching from full to easy mode
sudo rm -f /home/user/.kdesession #added
for i in /sys/block/s[dr]?/uevent ; do
sudo /bin/sh -c "echo add > $i"
/opt/xandros/bin/AsusLauncher &
icewmtray &
powermonitor &
minimixer &
networkmonitor ath0 eth0 &
wapmonitor &
(sleep 3; /usr/bin/keyboardstatus) &
(sleep 8; /opt/xandros/bin/start_netserv) &
(sleep 16; /usr/local/bin/asusosd) &
sudo rm /tmp/nologin
[ -f /usr/bin/dispwatch ] && /usr/bin/dispwatch &
exec icewm

Notes is called every time the OS loads. Xinit is a symbolic link to is called by the easy mode shutdown dialog when the user clicks the Full Desktop button.
/opt/xandros/bin/start_netserv is required for the Windows Network to be accessible in the File Manager.



Fred said...

I tried to use this to get to the full desktop, but received this message--
package ksmserver is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source.
E: Package ksmserver has no installation candidate.

Is there another way to enable the full desktop, or another source for this package?

jan said...


You will need to install ksmserver (and kicker if you don't have this)

open the terminal (ctrl+alt+t)
sudo apt-get update
sudo apt-get install ksmserver

do the same for kicker replacing ksmserver for kicker.

check out the wiki and forums have helped me heaps! & i know absolutely nothing about linx :)

Sergey said...

To install ksmserver on eeepc 900 or others one should add following line to /etc/apt/sources.list:

deb p701 main

Then run sudo apt-get update and sudo apt-get install ksmserver kicker.

Shimshon Fishler said...

I want to return to Xandros after installing Win XP.
Where can I find Xandros version for eeepc and installation guide?

VigRX Plus said...

Hello, I found your blog in a new directory of blogs. I dont know how your blog came up, must have been a typo, Your blog looks good. Have a nice day.