Though ive been using Ubuntu for a few years I tend to forget details on setting up the system, so anything useful that im bound to forget ive been posting here Most of the suggestions below come from other threads, so when I remeber ive added credit or a link back to the original topic. Some of this also covers my Ubuntu 8.04LTS dedicated remote server.
Disable login screen coming out of suspend:
Go to "/apps/gnome-power-manager/lock", and disable the suspend checkbox.
USB Keyboard wake from suspend:
Type into the terminal to list the devices:
You will probably find your USBX is disabled, to enable it create a file in /etc/init.d by going:
Then add the following to the new file (making sure you update the USB number):
sudo nano /etc/init.d/wake.sh
CHMOD the file to excute:
echo USB4 > /proc/acpi/wakeup
Lastly tell Ubuntu to excute on boot:
sudo chmod +x /etc/init.d/wake.sh
sudo update-rc.d wake.sh defaults
Disable 60 second shutdown/reboot/logout warning:
Go to, and enable "/apps/indicator-session/suppress_logout_restart_shutdown".
Monitor log files:
example (displays last 10 lines):
tail -f /var/log/auth.log
Will create a new user without a password or associated home directory.
Recommended, will allow you create a password straight away, setup a home directory and enter some user details should you wish to.
Change file or directory owner and permissions:
Example (group:user, normally the group is the same as the user):
RAID array still being listed during install
chmod usergroup:newuser file.sh
If you've recently disabled your RAID array you will need to reformat the drives before attemptting to install. Gpart fails to list the drives correctly. The below command gives mixed results.
Best solution ive found is to reformat the drives before running the Live CD.
Delay the startup of programs:
In your "Startup Applications" GUI you can define programs to load on boot, sometimes you may want to delay or stagger the launch of the apps to help system load.
Todo this on your command add the following:
sh -c "sleep 10 && skype &"
sh -c "sleep 20 && empathy &"
An easy to use SVN client similar to Tortoise integrated into Nautilus.
Wacom Graphics tablets:
Easy to use driver install script:
After installing the drivers, then download "wacom-tools" through the package manager, open a terminal and run:
Force install a deb package:
sudo dpkg --force-overwrite -i <filename>
SSH connection using the terminal:
ssh -l username -p port 192.168.0.1