Sunday 19 December 2010

Make Gmail the default mail application

It always annoys me went I press a link and I get evolution mail client opening up. If you are like me and only uses web base mail clients and particularly you use Gmail this may be of help

Gnome Gmail does just that for you. It add support for making Gmail the default mail application for the Gnome desktop.

Once you install it make sure you go to:

System > Preferences > Preferred Applications

And choose Gmail as you default "Mail Reader"

Associate magnet links to any application on Ubuntu

This is one of those things that I've meaning to do for a while. This will work with any torrent client that supports magnet links. I use ktorrent which for me is the best out there.

Enter this into the terminal:
$ gconftool-2 -t string -s /desktop/gnome/url-handlers/magnet/command "ktorrent %i -caption "%c" %u"
Change what is comas with your preferred torrent client.
$ gconftool-2 -s /desktop/gnome/url-handlers/magnet/needs_terminal false -t bool
$ gconftool-2 -t bool -s /desktop/gnome/url-handlers/magnet/enabled true

If you entered the above correcly you will end up with a new entry in gconf-editor like so:


Remember that mangnet links take a little longer to start downloading, just be patient.

Dropbox Icons for Ubuntu

A couple of days ago dropbox released their new version 1.0.10 to the public with lots of improvements and changes. Read more about it here.

One of the changes is the integration with appindicator with Ubuntu Maverick but they forgot to include the mono icon them for it. So here is the link for it.

Friday 19 November 2010

Enabling "Aero Snap" in Ubuntu 10.04 LTS

Nothing else to say everything is on the video:




Remember to install wmctrl which is needed to make this work:
$ sudo apt-get install wmctrl
Here are the command lines:

Command line 0:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz && WIDTH=`xdpyinfo | grep 'dimensions:' | cut -f 2 -d ':' | cut -f 1 -d 'x'` && HALF=$(($WIDTH/2)) && wmctrl -r :ACTIVE: -b add,maximized_vert && wmctrl -r :ACTIVE: -e 0,0,0,$HALF,-1

Command line 1:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz && WIDTH=`xdpyinfo | grep 'dimensions:' | cut -f 2 -d ':' | cut -f 1 -d 'x'` && HALF=$(($WIDTH/2)) && wmctrl -r :ACTIVE: -b add,maximized_vert && wmctrl -r :ACTIVE: -e 0,$HALF,0,$HALF,-1

Command line 2:
wmctrl -r :ACTIVE: -b add,maximized_vert,maximized_horz

Command line 3:
wmctrl -r :ACTIVE: -b remove,maximized_vert,maximized_horz

Add color to Bash prompt symbols

This is actually pretty simple. The trick behind is to add this line into "$HOME/.bashrc".

In the terminal:

$ sudo gedit ~/.bashrc

And enter this lines at the end of the file or anywhere really.

# Add color to Bash prompt symbols
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
Save the file and close the terminal. Next time you restart the terminal the bash will be in a different color.

Monday 15 November 2010

Transcoder - Video converter

Transcoder is a video converter for Linux using GTK+ as GUI toolkit and ffmpeg as backend.

It is distributed under the GNU General Public License.



In current version:
A double click on a list item will show information about an input file.
FAAD is the default AAC decoder now.
There is a GOP size option.
3gp video format, h263 video codec, and AMR audio codec support for mobile phones.
A deinterlace option.
A subtitle codec option.
AMD-64 support.
New aspect ratio values.
Default bitrate options for video and audio streams
The transcoder will look for ffmpeg in /usr/bin and in /usr/local/bin if it is not found in the working directory.
The minimal version for GTK+ is 2.16.
A HQ x264 profile with mobile phones support.
Other small changes and bugfixes.

Monday 8 November 2010

Nautilus Easy Union ( Windows 7 libraries )

http://www.webupd8.org/2010/11/display-multiple-folders-content-in-one.html

https://launchpad.net/nautilus-easy-unionfs