Bug 372415

Summary: Default Applications: Update gvfs if present.
Product: [Applications] systemsettings Reporter: Daniel <mayazcherquoi>
Component: kcm_componentchooserAssignee: Unassigned bugs <unassigned-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: minor CC: nate
Priority: NOR    
Version First Reported In: 5.8.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel 2016-11-13 06:03:26 UTC
If gvfs is present on the system, when a default application is selected / change, update gvfs too.

Why? Because some applications use it.

My use-case:

I use HexChat as my IRC client. I like to use Google Chrome as my web browser. I installed Chrome first. I then installed Firefox later (for testing some website layouts). Now all links in HexChat, when clicked, open Firefox and not my default browser (Chrome). No matter what I do, I cannot change this.

Thanks. :-)
Comment 1 Christoph Feck 2016-11-14 02:46:43 UTC
Could you please be more specific how default applications are related to gvfs?

When changing associations via KDE systemsettings5, then those changes are made to the local mime database configuration, which should be respected by all desktop environments that follow this XDG standard.
Comment 2 Daniel 2016-11-14 02:52:52 UTC
(In reply to Christoph Feck from comment #1)
> Could you please be more specific how default applications are related to
> gvfs?

I thought that's what gvfs was used for? `gvfs-open http://google.com/` seems to open in Firefox, and I assume that is what HexChat uses to open URLs (and presumably some other GTK applications too).

> When changing associations via KDE systemsettings5, then those changes are
> made to the local mime database configuration, which should be respected by
> all desktop environments that follow this XDG standard.

I don't know. `xdg-open http://google.com/` works fine, so it has set that. gvfs must be doing something weird or odd.
Comment 3 Nate Graham 2020-01-22 15:57:41 UTC
gvfs isn't related to this.

*** This bug has been marked as a duplicate of bug 199326 ***