Random Bits and Bytes

helpful tech and software tips

Archive for September, 2008

Ubuntu Intrepid dark theme on Hardy Heron

Posted by Jason on September 23, 2008

AS you may know, the alpha releases of Ubuntu 8.10 (Intrepid Ibex) have shown us a brand new theme. It’s called “New Human” and it’s a brown version of the Ubuntu Studio theme.
It’s very easy to update your stable-release Ubuntu to this theme. all you have to do is add this following lines to your “/etc/apt/sources.list”:

deb http://ppa.launchpad.net/kwwii/ubuntu hardy main
deb-src http://ppa.launchpad.net/kwwii/ubuntu hardy main
Advertisements

Posted in ubuntu | Tagged: , , , , , , , , , | Leave a Comment »

Set Gmail as Default Mail Client in Ubuntu

Posted by Jason on September 16, 2008

Every Geek uses Gmail… it’s pretty much required. And now you can set Gmail as the default client in Ubuntu without any extra software. (Windows requires the Gmail notifier be installed)

Just go to System \ Preferences \ Preferred Applications

Ubunut 8.04

Ubunut 8.04

Under Mail Reader, select Custom, and then put this into the Command window, changing “geek” to your username.

/home/geek/open_mailto.sh %s

Next, you’ll need to save this shell script into your user directory ( /home/username ).

Download

For the curious, here’s the contents of the script:

#!/bin/sh

firefox https://mail.google.com/mail?view=cm&tf=0&to=`echo $1 | sed ‘s/mailto://’`

If you’d like to make the script open a new tab in an existing Firefox window, you can replace the firefox line in the script with the following:

firefox -remote “openurl(https://mail.google.com/mail?view=cm&tf=0&to=`echo $1 | sed ‘s/mailto://’`,new-tab)”

If you want to make the script file hidden by default, you can rename it with a . at the beginning of the file like this: .open_mailto.sh. You’ll have to change the path in the preferences, of course.

Open a terminal and type in the following command, to make the script executable:

chmod u+x ~/open_mailto.sh

Note that if you aren’t logged into Gmail you’ll be prompted to login to gmail… and you’ll have to click the email link again. Seems like Gmail’s login redirector won’t open the send mail page. But then again… why aren’t you logged into Gmail?

Posted in firefox, ubuntu | Tagged: , , , , , , | Leave a Comment »

5+1 Ways of Opening Tabs in Firefox

Posted by Jason on September 9, 2008

Firefox is equipped with tabbed browsing which is very useful and lets us do your work in a managed and clutter less way. Tabs in Firefox can be opened with 5(+1) ways. Read on.

1. The Simple File=>New Tab Option: The ol’ good way of opening tabs in any browser. Click File and select New tab

2. Ctrl+T: Press Ctrl+T keys on your keyboard to open a new tab. A quick and easy way of opening tabs.

3. Double Click on an empty space in the tab bar: When you double click on an empty space in the tab bar, a new tab gets opened.

4. Double Click under an already open tab: There is some little space under an already open tab where you can double click to open a new tab. Useful if you have your tab bar full without any empty space (if no empty space, then step 3 cannot be used, so this comes into action)

5. Right Click on an already open tab: And select new tab.

5+1. Use Middle Mouse Button: When opening several links on a web page, you can use the middle mouse button (wheel) to click on link. This way the links will be opened in new tabs. With the middle mouse button, you can also close tabs, just click on them with it.

Enjoy opening tabs

Posted in firefox | Tagged: , , , , , , , | 1 Comment »

Make Firefox 3 Faster

Posted by Jason on September 9, 2008

Firefox 3 as we all know is now super quick at loading pages. But there is always room for improvement and best of all since Firefox is open source software there is a lot of ways that you can mod the app.1. Type “about:config” into the address bar and hit enter. You will get a warning about changing settings but we are not doing anything too radical so it is OK. Scroll down and look for the following entries:

2. Alter the entries as follows:

Set “network.http.pipelining” to “true”

Set “network.http.proxy.pipelining” to “true”

Set “network.http.pipelining.maxrequests” to some number like 8. This means it will make 8 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it “nglayout.initialpaint.delay” and set its value to “0″. This value is the amount of time the browser waits before it acts on information it receives.

Posted in firefox | Tagged: , , , , , | Leave a Comment »