Page 1 of 1

[Solved] Geany takes over MC

Posted: 15. Jul 2015, 07:08
by Atip
In MC, my most favored FM, one can set bindings in ~/.mc/bindings to tell what will open which
program, however, when geany is installed that does not function any more. Instead of opening
abiword or a browser it is geany which opens which renders this function useless.

Since I have little use for geany I just removed the packge and bindings for MC work again.

Still, is there possibly an explanation or solution for the geany take-over in MC?

Re: Geany takes over MC

Posted: 15. Jul 2015, 08:20
by djemos
edit ~/.local/share/applications/defaults.list

Re: Geany takes over MC

Posted: 16. Jul 2015, 03:20
by Atip
djemos wrote:edit ~/.local/share/applications/defaults.list
Disabled all occurences of geany, reinstalled geany and problem is back. :evil:

Re: Geany takes over MC

Posted: 17. Jul 2015, 16:39
by gapan
I'm not 100% sure what you're talking about, but you can probably edit /usr/share/applications/geany.desktop and remove the MimeType line.

Re: Geany takes over MC

Posted: 17. Jul 2015, 21:00
by westms
gapan wrote:I'm not 100% sure what you're talking about, but you can probably edit /usr/share/applications/geany.desktop and remove the MimeType line.
Hi,

all users are then affected of this.

How Djemos already wrote, edit file ~/.local/share/applications/defaults.list to remove the relationships between Geany and affected file types. But then no re-installation of Geany.

Because, for a re-installation, the relationships between the affected file types and Geany will probably re-established again.

Also the context menu of a file (in Thunar/Xfce) can be used to assign an application to file types.

Re: Geany takes over MC

Posted: 18. Jul 2015, 06:36
by Atip
gapan wrote:I'm not 100% sure what you're talking about, but you can probably edit /usr/share/applications/geany.desktop and remove the MimeType line.
I did that and problem remained . So I deleted the entire file and MC is in control again
meaning the set bindings respond properly at the same time geany is installed and working. :-D