[Solved] Geany takes over MC

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

[Solved] Geany takes over MC

Post 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?
Last edited by Atip on 18. Jul 2015, 06:31, edited 1 time in total.
djemos
Salix Warrior
Posts: 1464
Joined: 29. Dec 2009, 13:45
Location: Greece

Re: Geany takes over MC

Post by djemos »

edit ~/.local/share/applications/defaults.list
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Geany takes over MC

Post by Atip »

djemos wrote:edit ~/.local/share/applications/defaults.list
Disabled all occurences of geany, reinstalled geany and problem is back. :evil:
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: Geany takes over MC

Post 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.
Image
Image
westms
Posts: 298
Joined: 17. Mar 2013, 18:51

Re: Geany takes over MC

Post 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.
User avatar
Atip
Posts: 539
Joined: 5. Jun 2011, 04:27

Re: Geany takes over MC

Post 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
Post Reply