View previous topic :: View next topic |
Author |
Message |
bavstan n00b
Joined: 20 Apr 2004 Posts: 21 Location: Switzerland
|
Posted: Sun Oct 15, 2006 9:59 pm Post subject: [Solved]Gnome desktop links open in gedit instead of firefox |
|
|
I have this wierd problem for some time now that on my machine (AMD64, Gnome 2.14.2) Desktop Entries of the type Link do not open the browser any more.
Code: | [Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=link to Gentoo Forums :: Index
Type=Link
URL=http://forums.gentoo.org/
Icon=gnome-fs-bookmark
|
Clicking on a file like the one above will open Gedit instead, which then downloads the HTML of that page. I've searched gconf-editor and it reads firefox-bin %s for both http and https url-handlers so that can't be the problem. Also when I have a URL in the terminal, for instance, and I have gnome open it, my browser opens just as it should.
Which Gnome program is responsible for interpreting Desktop Entry files? Obviously it's got something wrong, but I can't find any gconf setting responsible for that behaviour, nor any configuration file.
Thanks for any help.
Last edited by bavstan on Thu Oct 19, 2006 9:22 am; edited 1 time in total |
|
Back to top |
|
|
bavstan n00b
Joined: 20 Apr 2004 Posts: 21 Location: Switzerland
|
Posted: Mon Oct 16, 2006 7:55 pm Post subject: [Solved]Gnome desktop links open in gedit instead of firefox |
|
|
I found the culprit: Hidden in the folder ~/.local/share/applications (the mime database of the local user) there were few entries which led gnome to believe that gedit was my browser. I have to admit I don't know which of the files was guilty -- I just deleted them all. |
|
Back to top |
|
|
jeanfrancis Veteran
Joined: 17 Dec 2005 Posts: 1482 Location: Québec, Canada
|
Posted: Mon Oct 16, 2006 8:13 pm Post subject: |
|
|
And that worked?
Don't forget to add [Solved] to your topic |
|
Back to top |
|
|
bavstan n00b
Joined: 20 Apr 2004 Posts: 21 Location: Switzerland
|
Posted: Thu Oct 19, 2006 9:26 am Post subject: |
|
|
Yeah, that worked.
I lost the entries I had defined in the "Open with other application"-submenu for certain file types, but redoing those is a small price to pay |
|
Back to top |
|
|
|