Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | opening windows .url files on linux and general change opens with

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > General IT Discussion
Register FAQ Community Calendar

opening windows .url files on linux and general change opens with
Reply
 
Thread Tools
Old 23-10-2006, 14:19   #1
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
opening windows .url files on linux and general change opens with

Guys is there an easy way to change default program on double click for nautilus ?

It looks way to complicated on ubuntu.

The way I have solved opening old .url file is to do this

By using gnome-actions plus this script I wrote

cat open-ie-shortcut
#!/bin/sh

test -e "$1" || exit 0
cat "$1" | grep URL | cut -d'=' -f2 | xargs mozilla-firefox &

Its not pretty and really not quite right as you have to right click on the .url file then run this script

What do u guys think or should I just dump nautilus for something else ?
The Jackal is offline   Reply With Quote
Advertisement
Old 23-10-2006, 15:08   #2
Cobbydaler
Inactive
 
Cobbydaler's Avatar
 
Join Date: Apr 2006
Location: Manchester, UK
Services: ClearFibre Internet, Vodafone mobile Google Pixel 4
Posts: 9,699
Cobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered stars
Cobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered starsCobbydaler is seeing silvered stars
Re: opening windows .url files on linux and general change opens with

You mean you want to make Firefox the default browser?

See here...
Cobbydaler is offline   Reply With Quote
Old 23-10-2006, 15:33   #3
popper
Inactive
 
Join Date: Jan 2006
Posts: 3,270
popper has a bronze arraypopper has a bronze arraypopper has a bronze array
popper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze array
Re: opening windows .url files on linux and general change opens with

Quote:
Originally Posted by CrC-3rr0r View Post
Guys is there an easy way to change default program on double click for nautilus ?

It looks way to complicated on ubuntu.

The way I have solved opening old .url file is to do this

By using gnome-actions plus this script I wrote

cat open-ie-shortcut
#!/bin/sh

test -e "$1" || exit 0
cat "$1" | grep URL | cut -d'=' -f2 | xargs mozilla-firefox &

Its not pretty and really not quite right as you have to right click on the .url file then run this script

What do u guys think or should I just dump nautilus for something else ?
dont know what file to edit by hand but theres an option to change the DC action
http://www.gnome.org/learn/users-guide/2.0/ch07s08.html
"
Table 7.7. Files and Folders Preferences
Option
Description
Open each file or folder in a new window
Select this option to open a new window when you open a file or folder.
Activate items with a single click
Select this option to perform the default action for an item when you click on the item. When this option is selected, and you point to an item, the title of the item is underlined.
Activate items with a double click
Select this option to perform the default action for an item when you double-click on the item.
Execute scripts when they are clicked
Select this option to run an executable file when you choose the executable file. An executable file is a text file that can execute, that is, a shell script.
View scripts when they are clicked
Select this option to display the contents of an executable file when you choose the executable file.
Ask each time
Select this option to display a dialog when you choose an executable file. The dialog asks whether you want to execute the file or display the file.
Ask before emptying the Trash or deleting files
Select this option to display a confirmation message before Trash is emptied, or files are deleted.
Include a Delete command that bypasses Trash
Select this option to add a Delete menu item to the following menus:
  • The Edit menu.
  • The popup menu that is displayed when you right-click on a file, folder, or desktop background object.
When you select an item then choose the Delete menu item, the item is deleted from your file system

"
popper is offline   Reply With Quote
Old 23-10-2006, 15:46   #4
Tristan
Inactive
 
Tristan's Avatar
 
Join Date: Jun 2003
Location: Glastonbury!
Services: Telewest DTV & 4Meg BB (Bath), NTL DTV and 2Meg BB (Poole)
Posts: 1,350
Tristan has reached the bronze age
Tristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze ageTristan has reached the bronze age
Re: opening windows .url files on linux and general change opens with

Quote:
Originally Posted by CrC-3rr0r View Post
Guys is there an easy way to change default program on double click for nautilus ?

It looks way to complicated on ubuntu.
Right-clicking the file, going to Properties and then the "Open With" tab is too complicated? Well, if you say so...
Tristan is offline   Reply With Quote
Old 25-10-2006, 12:50   #5
The Jackal
Inactive
 
Join Date: Oct 2006
Posts: 1,604
The Jackal has a bronzed appealThe Jackal has a bronzed appeal
The Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appealThe Jackal has a bronzed appeal
Re: opening windows .url files on linux and general change opens with

Quote:
Originally Posted by Tristan View Post
Right-clicking the file, going to Properties and then the "Open With" tab is too complicated? Well, if you say so...
Yeh soz mate but my bookmarks are arranged in .url files and folders so yes I frequently use them : I think I'll just write a script to convert them all over,
The Jackal is offline   Reply With Quote
Old 25-10-2006, 17:40   #6
popper
Inactive
 
Join Date: Jan 2006
Posts: 3,270
popper has a bronze arraypopper has a bronze arraypopper has a bronze array
popper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze arraypopper has a bronze array
Re: opening windows .url files on linux and general change opens with

Quote:
Originally Posted by CrC-3rr0r View Post
Yeh soz mate but my bookmarks are arranged in .url files and folders so yes I frequently use them : I think I'll just write a script to convert them all over,
or just find that file above and re-parse that!.
popper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 11:36.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum