! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Add a File Manager preference
Status:
RESOLVED: FIXED
Severity:
enhancement

Comments

Description Christian Dywan 2008-10-05 02:39:23 CEST
Xfce does not have a concept of a default File Manager. Currently in some places Thunar is just hardcoded, and sometimes you can change it.

A related issue is that the MIME handler for folders is never set, which leads to problems with applications that use MIME to query the right File Manager.

The solution comes down to adding a new helper that can be chosen from the Preferred Applications dialog. And perhaps the MIME entry could be updated automatically? Not sure about the latter..
Comment 1 Christian Dywan 2008-10-05 02:40:31 CEST
Created attachment 1865 
Implement a new helper

This patch implements a new helper FileManager.
Comment 2 Christian Dywan 2008-10-05 02:43:40 CEST
Created attachment 1866 
Add filemanagers to choose

This patch adds Thunar, PCMan File Manager and Nautilus.
Comment 3 Christian Dywan 2008-10-10 17:02:57 CEST
Created attachment 1878 
Fixed patch including exo-open change

Apparently my patch was incomplete, particularly I forgot to include exo-open/ exo-url to actually use the file manager preference.

I double checked and actually added a missing --help string for exo-open (the new FileManager type) and a missing error message if no file manager is set.
Comment 4 Christian Dywan 2008-10-10 17:42:06 CEST
As for the MIME handling I think Preferred Applications should also update the folder handler implicitly. Otherwise users might end up with the wrong file manager if something relies on the MIME database rather than exo.

See http://bugzilla.gnome.org/show_bug.cgi?id=418760
In the Gnome bug report Thunar actually is 'by accident' at the top of the MIME list for folders and thus used in Gnome.
Comment 5 Nick Schermer editbugs 2009-08-26 16:45:50 CEST
Slightly modified patch applied because of some code changes. Thanks.

Bug #4445

Reported by:
Christian Dywan
Reported on: 2008-10-05
Last modified on: 2009-10-09

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Version:
unspecified

Attachments

Implement a new helper (5.14 KB, patch)
2008-10-05 02:40 CEST , Christian Dywan
no flags
Add filemanagers to choose (2.34 KB, patch)
2008-10-05 02:43 CEST , Christian Dywan
no flags
Fixed patch including exo-open change (6.49 KB, patch)
2008-10-10 17:02 CEST , Christian Dywan
no flags

Additional information