Friday, February 29, 2008

References: Asus EEE Links

Full Desktop Mode
Repos/Pin
Emu
Suspend Off/black lid auto
Suspend Off (old)
Boot Last Mode used (adv/easy)


Full Desktop:

[code]

  1. Open up a terminal buy pressing Ctrl+Alt+T
  2. Type "sudo bash" to gain root access (Be careful what you do with root access. The only reason we're using it now is so that you don't have to type sudo before each command. But you could easily mess up your machine if you perform every command as an administrator)
  3. Type "apt-get update" to make sure you have access to the most up to date packages
  4. Type "apt-get install kicker" and answer "y" when asked if you want to install
  5. Type "apt-get install ksmserver" and answer "y" when asked if you want to install
  6. Type exit to leave the root account
  7. Type exit to close your terminal window
[/code]

*******************Suspend Off/Lid Off Auto*************

[code]

1. Open a terminal (Ctrl+Alt+t) and type :
sudo cp /etc/acpi/lidbtn.sh /etc/acpi/lidbtn.sh.bak

NOTE: This makes a backup of the lid movement script (in case you goof – or don't like the changes you made)

NOTE: All this is easier (less chance of error) if you copy/paste from here to the terminal. Just remember that pasting in terminal is shift key+ins key

2. Now type:
sudo kwrite /etc/acpi/lidbtn.sh

NOTE: This will open a text editor so you can modify the lidbtn.sh file

3. In the text editor you should see:

#!/bin/sh
LID_STATE=`cat /proc/acpi/button/lid/LID/state | awk '{print $2 }'`

if [ $LID_STATE = "closed" ] ; then
/etc/acpi/suspend2ram.sh
fi
exit 0

4. Replace that with the following (copying and pasting is the easiest):

#!/bin/sh
LID_STATE=`cat /proc/acpi/button/lid/LID/state | awk '{print $2 }'`

if [ $LID_STATE = "closed" ] ; then
# All the lines below must have the # in front to leave the computer on upon lid closure
# Delete the # before the line below to let the computer suspend to ram on lid closure
# /etc/acpi/suspend2ram.sh
# Delete the # before the line below to let the computer shutdown on lid closure
# sudo /sbin/fastshutdown.sh
su user -c "DISPLAY=:0 xset dpms force suspend"
elif [ $LID_STATE = "open" ] ; then
su user -c "DISPLAY=:0 xset dpms force on"
fi
exit 0

NOTE: All the lines with # in front of them are automatically wordwrapped due to the size of this screen. They are actually one complete line...

5. Save your changes (in the editor menu, select "File", then "save")
6. Quit the text editor (select "quit" from the menu)
7. Exit terminal (type "exit", then )
8. Re-boot your PC

[/code]

No comments:

Post a Comment