tisdag 29 januari 2013

Automatic mute when unplugged


  • Install pavucontrol 
  • Open PulseAudio Volume Control
  • Go to Output Devices
  • Choose Speakers under Port
  • Click the mute button
 Now notice how your computer automatically mutes if you unplug your headphones!

måndag 28 januari 2013

Sticky Edges

Seems that sticky edges cannot be configured under Display settings in 12.10.
Instead go to CCSM -> Unity -> Experimental and uncheck Capture Mouse.

http://askubuntu.com/a/123814/126739

Move window

Working with two monitors is very nice, and there is a nice feature in Compiz to quickly move current window to the other display.

To enable it:
  1. Install packages compiz-plugins compiz-config-settings-manager
  2. Open ccsm and enable plugin Put
  3. Go to the configuration for Put
  4. Set a keyboard shortcut for the function Put to next output 
  5. (Not always needed) Restart Unity by running setsid unity from a terminal

lördag 26 januari 2013

Migrate Picasa Database


I reinstalled my laptop with the latest version of Ubuntu.

I had to do some digging on how to migrate the Picasa database, a there was not much good information when googling.

The folders you need to keep are:
~/.google/picasa/3.0/drive_c/Documents and Settings/<user>/Local Settings/Application Data/Google/Picasa*
OR
~/.wine/drive_c/users/<user>/Local Settings/Application Data/Google/Picasa*

So:
  1. Install Picasa
    • Use default Wine (1.4)
    • Use the following commands: https://wiki.helsinki.fi/display/~pervila@helsinki.fi/Picasa+3.9+on+64-bit+Ubuntu+12.04
  2. Overwrite the above folders with your backed up folders

This works for both Picasa 3.8 and 3.9.


torsdag 3 januari 2013

Back to Firefox

Have been using Chrome for a while but before that I was a dedicated Firefox user. Not sure why I switched, but now I know why I am switching back to Firefox:
  • Ctrl+Tab - It is not possible to easily switch to the most recently used tab in Chrome. In Firefox the default behaviour is to switch to the next tab when pressing Ctrl+Tab, but by installing the extension Tab Mix Plus you can change this behaviour.
  • Keyboard shortcuts in Google Docs - Many are simply not working for me in Chrome. E.g. Ctrl+Shift+8 for bullet list.
  • Single window mode - Single window is nice since that makes the restore session more fail safe. Chrome for instance only remembers the last window closed when restoring session. Single window would not be sufficient if you couldn't tile browser windows, which will not work in single window mode in Chrome. But in Firefox there is a plugin for this: Tile Tabs.
One feature that is lacking in Firefox, though, is the ability to move tabs using keyboard shortcuts. E.g. move tab one step left using Ctrl+Shift+PageUp. This was however solved by installing the plugin Move Tabs.