Thursday, March 26, 2009

Firefox go to url with middle click

I use a lot of plain text urls and find it annoying to have to go to firefox, and move my mouse to the address bar to paste in a URL after selecting it, yes, I know, I'm lazy. One version of linux/firefox at some point had middle click go to url enabled way back and I became very used to it. You highlight any url, put your mouse over your firefox window and middle click and it loads the url. For some reason this is disabled by default in Ubuntu 6.x->8.10/Firefox and I find that I have to go searching for the setting each time I install a new version. Well here it is, thanks to google and a site that tells you how to disable it, my firefox is back the way I like it on my new 8.10 desktop install:

In firefox's address bar type:
about:config
Search for middlemouse.contentLoadURL (hint: type middle in the filter bar)
Change the setting to true and middle click away :)

Michelle Agnew

Wednesday, March 25, 2009

Mount ntfs partition on boot in Ubuntu

I'm just setting up my desktop with a dual-boot of Windows XP (which has been the main OS for too long) and Ubuntu Intrepid Ibex. During the install I shrunk the windows partition and gave linux 50GB's or so of space. I wanted to have access to the mass of files in my windows partition and to be able to share them on the network.

Ubuntu will mount the directory when you click on it in the Places menu, but I wanted it mounted all the time. I came across a program called ntfs-config that sets up your fstab for you.

sudo apt-get install ntfs-config

This will update your fstab and mount your windows partition on boot.

By default samba won't allow you to share the files on the network unless you own them, so you need to make a modification to the fstab entry that was just created by ntfs-config:

sudo vim /etc/fstab
*look for the line with ntfs-3g
*mine looks like this: /dev/sda1 /media/windows ntfs-3g defaults,locale=en_CA.UTF-8 0 0
*before the 0 0 with no space after the UTF-8 add: ,uid=yourusername,gid=yourusername
*It should look like this after:
/dev/sda1 /media/windows ntfs-3g defaults,locale=en_CA.UTF-8,uid=michelle,gid=michelle 0 0

Save the file and exit vi

sudo umount /media/windows
sudo mount /media/windows

Now you can go to the Places menu and click on your windows drive, you should now be able to share any folder you wish by right clicking on a folder and choosing "Sharing Options".

Michelle Agnew