Enables The Advanced Desktop
This package depends on kicker and ksmserver, because that's really what enables the advanced desktop mode on the Asus EeePC. However, this package has a name that's more meaningful and easier to find. It also includes scripts that allow you to boot into the mode last used and also retain any icons and files stored on the desktop.
One issue which arises from using this method is that booting directly into Advanced Mode ignores any settings requiring a password to be entered. Booting into Easy Mode does require a password if it is set to require it. Asus probably didn't include this by default because not all the kinks are worked out, but it's good enough for many people. (If you don't like it, you can always remove this package with synaptic. You will probably want to also remove kicker and ksmserver.)
What this packages contains
First backs up the original /usr/bin/startsimple.sh and /usr/bin/startfull.sh files Replaces them with the following scripts. Renames /usr/bin/xandros_device_detection_dialog with .orig at the end, and adds a new script (below).
startfull.sh:
#!/bin/sh touch /home/user/.kdesession #changed killall xinit
startsimple.sh:
#!/bin/sh 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" done (sleep 8; /opt/xandros/bin/start_netserv) & #added (sleep 16; /usr/local/bin/asusosd) & #added sudo rm -f /tmp/nologin #changed exec startkde else 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" done fi /opt/xandros/bin/AsusLauncher & icewmtray & [ -n "$XIM_PROGRAM" ] && $XIM_PROGRAM & 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 fi
Notes
Startsimple.sh is called every time the OS loads. Xinit is a symbolic link to startsimple.sh.
Startfull.sh 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.
Source
http://forum.eeeuser.com/viewtopic.php?id=1083
xandros_device_detection_dialog
#!/bin/sh awk '$1 < 45 { exit 1 }' /proc/uptime && xandros_device_detection_dialog.copy "$@" &