View previous topic :: View next topic |
Author |
Message |
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Fri May 25, 2018 10:04 pm Post subject: How to make sunflower my default file manager? |
|
|
Currently, whenever an application tries to open a folder, it is opened inside Firefox - presumably because FIrefox has registered the file:// protocol.
How can I register sunflower as my default file manager instead? I could not find a MIME registry in my profile. _________________ I already use the new Genthree. |
|
Back to top |
|
|
khayyam Watchman
Joined: 07 Jun 2012 Posts: 6227 Location: Room 101
|
Posted: Sat May 26, 2018 3:44 am Post subject: |
|
|
pun_guin ... my least favourite "standard", but here goes ...
The following will show what the current 'default' is for directories ... no surprise if this outputs firefox.desktop
Code: | % xdg-mime query default inode/directory |
AFAIK, it's set with the following:
Code: | % xdg-mime default sunflower.desktop inode/directory |
That should set the 'default' to sunflower, not sure where this gets stored, under ~/.local/share/applications, or $XDG_DATA_HOME I expect ... no idea, I'm not using xdg).
HTH & best ... khay |
|
Back to top |
|
|
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sat May 26, 2018 8:03 pm Post subject: |
|
|
Ah, I had to emerge xdg-utils with a whole load of dependencies for that... weird enough that Firefox could register itself anyway.
But now (e.g.) the nextCloud client still uses Firefox to open its directory. _________________ I already use the new Genthree. |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21709
|
Posted: Sat May 26, 2018 9:38 pm Post subject: |
|
|
If you close all Firefox instances, then prompt NextCloud to open a directory, what is the command line of the resulting Firefox? Browsers handle many formats, so perhaps NextCloud is not requesting a "directory" like the other applications did, but some other resource that Firefox handles. |
|
Back to top |
|
|
pun_guin Apprentice
Joined: 06 Feb 2018 Posts: 204
|
Posted: Sat May 26, 2018 9:46 pm Post subject: |
|
|
The command line is actually:
Code: | firefox file:///home/tux/Nextcloud/ |
So it seems that file:// is still hard-wired with Firefox. _________________ I already use the new Genthree. |
|
Back to top |
|
|
|