You are not logged in.
When I download a file and click "Show in folder", the file is shown in thunar. How can I switch the default file manager to pcmanfm?
It's the same in Firefox and many other apps.
I'm using xfce 4.14 with Xubuntu 20.04.
The solutions I searched are very old and they don't work for me today.
Last edited by tehkos (2021-11-21 11:28:28)
Offline
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
No. Apps have been ignoring these settings for a long time.
Offline
Let's check if the exo-utils package is installed.
dpkg -l exo-utils
apt-cache policy exo-utils
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-==============-========================-============-=================================
ii exo-utils 0.12.11-1ubuntu1.20.04.1 amd64 Utility files for libexo
exo-utils:
Installed: 0.12.11-1ubuntu1.20.04.1
Candidate: 0.12.11-1ubuntu1.20.04.1
Version table:
*** 0.12.11-1ubuntu1.20.04.1 500
500 http://ru.archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages
100 /var/lib/dpkg/status
0.12.11-1ubuntu1 500
500 http://ru.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
Offline
Make sure to set PCManFM as your default file manager (I edited my first reply and included a better screenshot) and try this:
exo-open --launch FileManager
Does it launch PCManFM or Thunar?
Last edited by KBar (2021-11-21 11:48:07)
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
It opens pcmanfm.
Never mind. I found the solution that I used before:
https://unix.stackexchange.com/a/581233/311304
Create a file /etc/dbus-1/session-local.conf
with the code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE busconfig PUBLIC "-//freedesktop//DTD D-Bus Bus Configuration 1.0//EN"
"http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy context="default">
<!-- Block all usage of org.freedesktop.FileManager1 for opening files -->
<deny send_interface="org.freedesktop.FileManager1" send_destination="org.freedesktop.FileManager1"/>
</policy>
</busconfig>
Then launch this command (under the current user not root):
dbus-send --session --print-reply --dest=org.freedesktop.DBus --type=method_call /org/freedesktop/DBus org.freedesktop.DBus.ReloadConfig
Very complicated as I think. Never understood why such a trivial function can't work from the settings.
Last edited by tehkos (2021-11-21 12:11:13)
Offline
[ Generated in 0.013 seconds, 7 queries executed - Memory usage: 557.48 KiB (Peak: 558.32 KiB) ]