You are not logged in.

#1 2014-08-19 23:46:45

Thisguy_
Member
Registered: 2012-12-03
Posts: 41

Opening a downloaded file from Chromium opens it in Firefox

Whenever I download something in Chromium and click its name in the download bar, firefox pops up, suggesting I open the file in my default program for that type of file. This is, needless to say, not the expected or desired behavior, and I've as yet found no way of rectifying it. I thought it had something to do with my mimeapps.list, but I challenge you to find the word firefox in it:

mimeapps.list

When I open those files by double clicking on them or using xdg-open, they open in their default programs, as defined in my mimeapps.list.

What's going on?

Last edited by Thisguy_ (2014-08-19 23:48:05)

Offline

#2 2014-08-20 00:04:32

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,648

Re: Opening a downloaded file from Chromium opens it in Firefox

exo-web-browser.desktop ?

Are you using Xfce? If not, what DE/WM are you using?

Last edited by 2ManyDogs (2014-08-20 00:07:38)

Offline

#3 2014-08-20 00:18:58

Thisguy_
Member
Registered: 2012-12-03
Posts: 41

Re: Opening a downloaded file from Chromium opens it in Firefox

I'm using Openbox as a window manager and do not remember installing Xfce. I found "Exec=exo-open --launch WebBrowser %u" in the file, which I did see in /usr/share/applications, but I've never heard of the software. I may have played with it one day, or perhaps Gnome offers it.

Last edited by Thisguy_ (2014-08-20 00:19:16)

Offline

#4 2014-09-04 14:12:05

Thisguy_
Member
Registered: 2012-12-03
Posts: 41

Re: Opening a downloaded file from Chromium opens it in Firefox

Turns out I was wrong. I have found now that opening certain file types using xdg-open does in fact open them in Firefox, even if mimeapps.list specifies that they should be opened with a certain application. This appears primarily to happen with office documents with the extensions doc and docx, etc. xdg-mime claims the correct file association, and Firefox knows what the default application is.

Is there a cache somewhere that never gets cleared, or something I am missing about how xdg-open looks up how to open things? And why do office documents have such long, complex mime types? Is it possible to write a catch-all association for the file extensions themselves?

Last edited by Thisguy_ (2014-09-04 14:14:06)

Offline

#5 2016-08-24 14:16:51

hughitt1
Member
Registered: 2010-02-18
Posts: 82
Website

Re: Opening a downloaded file from Chromium opens it in Firefox

Anyone ever figure this out?

I tried changing the defaults (e.g. "xdg-mime query default application/pdf"), but so far nothing has taken.

Offline

#6 2016-08-24 21:03:37

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,699
Website

Re: Opening a downloaded file from Chromium opens it in Firefox


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB