Ubuntu

Touchpad stopped working

http://askubuntu.com/questions/74964/touchpad-stopped-working-on-an-acer-aspireone-d255e

I have actually by accident disabled touchpad by funcitonal key combination Fn+F8 on my Lenovo ThinkPad SL510.

Move current window to another workspace

http://www.technotraits.com/2008/11/25-useful-ubuntu-shortcuts/

Alt+Ctrl+Shift+Left/Right Arrow – Move current window to another workspace

Make a script start when login

Go to "Dash home" start typing "Start", use "Startup applications" to set up a script to run.

Turn off alert sound

http://askubuntu.com/questions/95839/11-10-desktop-alerts-volume-change-and-terminal-bell-stopped-working-but-all-o

System settings > Sound > Alert volume > Mute

Open Terminal Here in Nautilus

Place file "Open Terminal Here" to .gnome2/nautilus-scripts/

#!/bin/bash
# From Chris Picton
# Replaces a Script by Martin Enlund
# Modified to work with spaces in path by Christophe Combelles

# This script either opens in the current directory,
# or in the selected directory

base="`echo $NAUTILUS_SCRIPT_CURRENT_URI | cut -d'/' -f3- | sed 's/%20/ /g'`"
if [ -z "$NAUTILUS_SCRIPT_SELECTED_FILE_PATHS" ]; then
     dir="$base"
else
     while [ ! -z "$1" -a ! -d "$base/$1" ]; do shift; done
     dir="$base/$1"
fi

gnome-terminal --working-directory="$dir"

Google DNS

http://code.google.com/speed/public-dns/docs/using.html

Restart the connection after setting up custom DNS.

Problem with mail command

http://ubuntuforums.org/showthread.php?p=9415204

Set up user directory in /var/mail/$USER.

sudo touch /var/mail/$USER
sudo chown $USER:mail /var/mail/$USER
sudo chmod o-r /var/mail/$USER
sudo chmod g+rw /var/mail/$USER

Unrar a file

sudo apt-get install unrar
unrar filename.rar

Make a user sudoer

http://askubuntu.com/questions/7477/how-can-i-add-a-new-user-as-sudoer

In System Settings > Users > ...

Set up HP 4500 series printer

https://help.ubuntu.com/community/HpAllInOne

sudo hp-setup
sudo apt-get install python-qt4

Erase CD-RW

sudo umount /dev/sr0 
wodim dev=/dev/sr0 blank=fast

via https://help.ubuntu.com/community/CdDvd/Burning#Burning_a_CD_on_the_Command_Line_with_wodim

Desktops grid

http://askubuntu.com/questions/70150/restoring-old-workspace-switcher

There is a bug with desktops to be on 2x2 grid. It may be solved with a Python script.

Shortcuts

Keyboard shortcuts may be associated with ccsm (CompizConfig Settings Manager).

ccsm > General > Commands > Key Binding (press combination)

My Chromium combination C.

http://askubuntu.com/questions/30918/broken-keyboard-shortcuts

File association

http://ubuntuforums.org/showthread.php?t=1860433

Just right click > Properties > Open with, pick emacs & click on the set as default.

Keyboard shortcuts

Alt+Tab launches switcher. Use Alt+arrows to navigate there. Arrows to sides - left/right, up/down - inside window groups.

Useful to configure Unity:

CompizConfig Settings Manager

  1. Install the CompizConfig Settings Manager (Click the link)
  2. Hit Alt+F2 and type about:config and hit enter.

via http://askubuntu.com/questions/29553/how-can-i-configure-unity

Last edited by dudarev, 2012-05-17 08:27:59. Edit