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:
Terminal:
Go to "/apps/gnome-power-manager/lock", and disable the suspend checkbox.
USB Keyboard wake from suspend:
(http://ubuntuforums.org/showthread.php?t=711747&page=2)
Type into the terminal to list the devices:
Code:
cat /proc/acpi/wakeup
You will probably find your USBX is disabled, to enable it create a file in /etc/init.d by going:
Code:
sudo nano /etc/init.d/wake.sh
Then add the following to the new file (making sure you update the USB number):
Code:
sudo -s
echo USB4 > /proc/acpi/wakeup
CHMOD the file to excute:
Code:
sudo chmod +x /etc/init.d/wake.sh
Lastly tell Ubuntu to excute on boot:
Code:
sudo update-rc.d wake.sh defaults
Disable 60 second shutdown/reboot/logout warning:
Terminal:
Go to, and enable "/apps/indicator-session/suppress_logout_restart_shutdown".
Monitor log files:
example (displays last 10 lines):
Code:
tail -f /var/log/auth.log
Add user:
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):
Code:
chmod usergroup:newuser file.sh
RAID array still being listed during install
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:
Code:
sh -c "sleep 10 && skype &"
Code:
sh -c "sleep 20 && empathy &"
Rabbitvcs:
An easy to use SVN client similar to Tortoise integrated into Nautilus.
http://rabbitvcs.org
Wacom Graphics tablets:
Easy to use driver install script:
http://ubuntuforums.org/showthread.php?t=1327867
After installing the drivers, then download "wacom-tools" through the package manager, open a terminal and run:
Force install a deb package:
Code:
sudo dpkg --force-overwrite -i <filename>
SSH connection using the terminal:
Man SSH.
Code:
ssh -l username -p port 192.168.0.1
Bookmarks