Archives for: October 2007

30/10/07

Permalink 09:23:53 pm, by admin Email , 148 words, 4214 views   English (UK)
Categories: Linux

Kubuntu: Opening URL files with Firefox

Firefox in both Windows and Linux lets you drag a tab to the Desktop which gets saved as a .url file. Inspecting these files shows the url in question is saved as text inside the file.

On Windows, Firefox is quite happy to open the browser at the url when double-clicking the .url file. In Linux (at least in KDE which my Kubuntu install uses) this doesn't happen. Firefox opens the file itself so you get a browser window containing the url text.

This is how I got Firefox on KDE to open my files as desired.

1 - create /bin/url.sh
#!/bin/bash
IFS=$'©'
FFOPENURL=$(less $1)
firefox $FFOPENURL

2 - Right-click a sample .url file, select "Open with" from the popup menu and enter /bin/url.sh in the edit box. Make sure you tick the "Remember application association for this file type" box. Click OK.

This should now work...

fear of mice

This is the official blog of

We aim to post comments (and possibly solutions) to some of the more interesting IT Support issues we come across in our daily travels around the South Hams of Devon.

October 2007
Mon Tue Wed Thu Fri Sat Sun
<< < Current > >>
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 2

powered by
b2evolution