madpole.com

ASUS EEE PC 901 (Linux) Top Tips, tricks and tweaks

Posted by MadPole on August 31st, 2008

root stuff
sudo passwd root - change the root’s password
sudo -s - login as root (without password)
sudo command - execute command as root

Configure action for closing the lid
Main script: /etc/acpi/lidbtn.sh
This script gets called when the lid is closed. The default action (see the script) is: /etc/acpi/suspend2ram.sh but you can obviously comment that out (so closing the lid doesn’t do anything - useful when laptop is connected to all external devices and acts as a “PC box”) or change it to any action You want

Backup
backup: dd if=/dev/sda | gzip -c > /home/user/E:/eeepc/backups/sda.$(date +%Y%m%d%H%M%s).gz
restore: dd if=/home/user/E:/eeepc/backups/sda.2008090118451220291153.gz | gunzip -c | dd of=/dev/sda

Staroffice: how to get spellchecker to work
StarOffice installation seems to be messed up and doesn’t come with English dictionaries which need to be installed for spellchecker to work. This is what I did:

  • Download: DicOOo.sxw macro into directory of your choice
  • Tools->Options->StarOffice->Security->Macro Security->Trusted Sources->Trusted file locations->Add - add the directory You downloaded the macro to
  • In File Manager navigate to that directory
  • double click on the macro (or right click and “Open”) to run the macro. This will open a new document, with links to languages. Chose the language You prefer (CTRL-click) (this will be the language for running the macro - not the dictionary)
  • You will be presented with a “Start DicOOo” button. Click on it and follow instructions
  • Shut down all instances of StarOffice and restart. Now You should be able to select correct dictionary (it might be already selected for You) in Tools->Options->Language Settings->Writing Aids

.
.
.
.
.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>