User Tools

Site Tools


ubuntu

Only tested and valid for 11.04

Put window buttons back on the right

gconftool --set /apps/metacity/general/button_layout --type string menu:minimize,maximize,close

Change number of workspaces

gconftool --set /apps/compiz-1/general/screen0/options/vsize --type int 1
gconftool --set /apps/compiz-1/general/screen0/options/hsize --type int 3

Do not sleep screen when idle

gconftool --set /apps/gnome-power-manager/timeout/sleep_display_ac --type int 0

Do not lock screen when screensaver is active

gconftool --set /apps/gnome-screensaver/lock_enabled --type boolean false

Do not activate screensaver when idle

gconftool --set /apps/gnome-screensaver/idle_activation_enabled --type boolean false

Clock parameters

gconftool --set /apps/panel/applets/clock_screen0/prefs/format --type string 24-hour
gconftool --set /apps/panel/applets/clock_screen0/prefs/show_date --type boolean true
gconftool --set /apps/panel/applets/clock_screen0/prefs/show_temperature --type boolean true
gconftool --set /apps/panel/applets/clock_screen0/prefs/show_weather --type boolean true
gconftool --set /apps/panel/applets/clock_screen0/prefs/speed_unit --type string km/h
gconftool --set /apps/panel/applets/clock_screen0/prefs/temperature_unit --type string C

Mount a second hard drive on boot

sudo nano /etc/fstab

Add the following:

/dev/sdb1	/mnt/data	ntfs	defaults	0	0

Stay as root

sudo su

Create root account

sudo passwd root

You will then be prompted for a password for the root account.

Terminal

For example, instead of

ls a/certain/directory
cd a/certain/directory

Do this:

ls a/certain/directory
cd !$

if

nano /a/certain/file

returns unauthorized (needs root),

instead of

sudo nano /a/certain/file

you can do

sudo !!
ubuntu.txt · Last modified: 2013/12/25 16:47 (external edit)