You are not logged in.

#1 2010-11-04 11:27:07

scrawl
Member
Registered: 2010-01-14
Posts: 44

[SOLVED] Links open in gedit!?

Hi

Since a week or so (i think upgrade to gnome 2.32) links in evolution, pidgin and so on always open in gedit when i click on them, which is pretty useless. It's very annoying because you have to copy/paste the link in the browser every time. In the GNOME options I've configured firefox as web browser. Anyone ran into the same problem, or maybe has a solution?

Last edited by scrawl (2010-11-12 16:50:34)

Offline

#2 2010-11-04 14:01:14

neutrix
Member
From: Bristol, UK
Registered: 2009-08-29
Posts: 64
Website

Re: [SOLVED] Links open in gedit!?

Hi, sounds like you have a problem with the default program assigned to each mime-type.

Open the file "/usr/share/applications/mimeinfo.cache". Inside this file is a list of all file mime-types and the default programs associated with them on the right of the =, each program separated by a semi colon. If you want to change the order in which programs are used to open a program, move them to the left of the list. For example:

text/plain=abiword.desktop;gedit.desktop;

would open plain textfiles with abiword by default, with gedit as a backup option on the list when you right click and "open with". To change it to opening with gedit make it the following:

text/plain=gedit.desktop;abiword.desktop;

Hope this helps.

Offline

#3 2010-11-04 14:18:01

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: [SOLVED] Links open in gedit!?

This doesn't seem to be the issue. in /usr/share/applications/mimeinfo.cache, gedit only shows up in this line:

text/plain=sikuli-ide.desktop;leafpad.desktop;writer.desktop;gedit.desktop;

There is also a file ~/.local/share/applications/mimeinfo.cache but gedit doesnt show up there at all.

Also, as I understand it, the file only lists applications for mimetypes. Does a website have a mimetype?

Last edited by scrawl (2010-11-04 14:18:57)

Offline

#4 2010-11-04 14:30:39

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Links open in gedit!?

try gvfs 1.6.5-2

gvfs developer did a "good" job announcing that 1.6.5 only works with glib 2.27.


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2010-11-11 22:00:38

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: [SOLVED] Links open in gedit!?

Still doesn't work hmm

clyde -Qi gvfs glib2 | grep Version
Version        : 1.6.5-1
Version        : 2.26.0-2

My gvfs works fine, btw. I can mount FTP server in gnome just as normal.

Offline

#6 2010-11-11 22:10:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Links open in gedit!?

scrawl wrote:

Still doesn't work hmm

clyde -Qi gvfs glib2 | grep Version
Version        : 1.6.5-1
Version        : 2.26.0-2

My gvfs works fine, btw. I can mount FTP server in gnome just as normal.


because i said gvfs 1.6.5-2

pacman -Syu


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2010-11-12 08:53:57

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: [SOLVED] Links open in gedit!?

scrawl@scrawl-desktop:~$ clyde -Qi gvfs glib2 | grep Version
Version        : 1.6.5-2
Version        : 2.26.0-2

Installed 1.6.5-2, restarted, still doesn't work hmm

Offline

#8 2010-11-12 10:26:07

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Links open in gedit!?

 xdg-settings get default-web-browser

what is the output?


Give what you have. To someone, it may be better than you dare to think.

Offline

#9 2010-11-12 11:20:06

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: [SOLVED] Links open in gedit!?

No output. So it seems I don't have a default browser. How do i fix this?

Offline

#10 2010-11-12 11:26:23

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [SOLVED] Links open in gedit!?

System->Preferences->Preferred Applications


Give what you have. To someone, it may be better than you dare to think.

Offline

#11 2010-11-12 12:44:40

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: [SOLVED] Links open in gedit!?

Already did that

In the GNOME options I've configured firefox as web browser.

Offline

#12 2010-11-12 16:50:21

scrawl
Member
Registered: 2010-01-14
Posts: 44

Re: [SOLVED] Links open in gedit!?

Fixed! Dunno why, but it works again.

Offline

Board footer

Powered by FluxBB