Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Gnome desktop links open in gedit instead of firefox
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
bavstan
n00b
n00b


Joined: 20 Apr 2004
Posts: 21
Location: Switzerland

PostPosted: Sun Oct 15, 2006 9:59 pm    Post subject: [Solved]Gnome desktop links open in gedit instead of firefox Reply with quote

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
View user's profile Send private message
bavstan
n00b
n00b


Joined: 20 Apr 2004
Posts: 21
Location: Switzerland

PostPosted: Mon Oct 16, 2006 7:55 pm    Post subject: [Solved]Gnome desktop links open in gedit instead of firefox Reply with quote

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
View user's profile Send private message
jeanfrancis
Veteran
Veteran


Joined: 17 Dec 2005
Posts: 1482
Location: Québec, Canada

PostPosted: Mon Oct 16, 2006 8:13 pm    Post subject: Reply with quote

And that worked? :)

Don't forget to add [Solved] to your topic :)
Back to top
View user's profile Send private message
bavstan
n00b
n00b


Joined: 20 Apr 2004
Posts: 21
Location: Switzerland

PostPosted: Thu Oct 19, 2006 9:26 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum