Ubuntu useful hints

In this post I will be maintaing a list of useful hints for future reference.

Mouse speed

I find the default mouse speed much too fast. And even after reducing both speed and acceleration to a minimum it is still too fast. Some googling through up this handy hint:

http://patrickmylund.com/blog/lowering-gaming-mouse-sensitivity-in-ubuntu-9-10/

So I ran these commands:

xinput --list --short
xinput --set-prop "Device name or ID" "Device Accel Constant Deceleration" 2

View hidden files in browser: CTRL+H

List only directories: ls -l | grep ^d

This, if I understand it properly, takes a list in "long" format, pipes it through grep and includes only lines starting with "d". d being the directory indicator.

Windows Manager

To get the Compiz working in Ubuntu, install CompizConfig Settings Manager: sudo apt-get install compizconfig-settings-manager

Moving window to next screen (on dual monitor): CompizConfig Settings Manager -> Window Management -> Put -> Bindings (tab) -> Put To Next Output (keyboard shortcut)

Handy shortcuts

http://www.techdrivein.com/2011/04/31-useful-ubuntu-1104-unity.html

Default programs/extensions

Useful info here: http://askubuntu.com/questions/16580/where-are-file-associations-stored

Associations are located here: ~/.local/share/applications/mimeapps.list
Mounting Windows drive on startup

This is done using fstab, see here: http://askubuntu.com/questions/46588/how-to-automount-ntfs-partitions

Also had to prevent auto-mounting by Nautilus: http://askubuntu.com/questions/89244/how-to-disable-automount-in-nautiluss-preferences

Tagged: