Attaching Files in Thunderbird opens up Nautilus instead of Dolphin

When I attach files in Thunderbird, it opens up Nautilus instead of Dolphin, which is set as the default file manager. I've only used the KDE desktop environment and never installed Nautilus.

System: Host: victor-pc Kernel: 4.19.62-1-MANJARO x86_64 bits: 64 compiler: gcc v: 9.1.0 Desktop: KDE Plasma 5.16.3
Distro: Manjaro Linux
Machine: Type: Desktop Mobo: ASUSTeK model: PRIME X370-PRO v: Rev X.0x serial: UEFI: American Megatrends
v: 5008 date: 06/24/2019
CPU: Topology: 8-Core model: AMD Ryzen 7 1700X bits: 64 type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm bogomips: 108608
Speed: 1882 MHz min/max: 2200/3400 MHz Core speeds (MHz): 1: 1882 2: 1888 3: 1882 4: 1882 5: 1993 6: 1882 7: 1887
8: 1863 9: 1883 10: 1882 11: 1882 12: 1888 13: 1882 14: 1882 15: 1891 16: 1883
Graphics: Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: ASUSTeK driver: nvidia v: 430.26 bus ID: 0a:00.0
Display: x11 server: X.Org 1.20.5 driver: nvidia resolution: 1920x1080~60Hz
OpenGL: renderer: GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 430.26 direct render: Yes
Audio: Device-1: NVIDIA GP104 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel bus ID: 0a:00.1
Device-2: Advanced Micro Devices [AMD] Family 17h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
bus ID: 0c:00.3
Device-3: SteelSeries ApS type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-11:3
Sound Server: ALSA v: k4.19.62-1-MANJARO
Network: Device-1: Realtek RTL8812AE 802.11ac PCIe Wireless Network Adapter driver: rtl8821ae v: kernel port: d000
bus ID: 06:00.0
IF: wlp6s0 state: up mac: 74:19:f8:10:d2:ba
Device-2: Intel I211 Gigabit Network vendor: ASUSTeK driver: igb v: 5.4.0-k port: c000 bus ID: 08:00.0
IF: enp8s0 state: down mac: 60:45:cb:9a:06:89
IF-ID-1: docker0 state: down mac: 36:fd:46:6c:35:ee
Drives: Local Storage: total: 4.78 TiB used: 132.86 GiB (2.7%)
ID-1: /dev/nvme0n1 vendor: Intel model: SSDPEKKW256G7 size: 238.47 GiB
ID-2: /dev/sda vendor: Toshiba model: DT01ACA100 size: 931.51 GiB
ID-3: /dev/sdb type: USB vendor: Western Digital model: WD My Passport 25E2 size: 3.64 TiB
Partition: ID-1: / size: 144.75 GiB used: 17.79 GiB (12.3%) fs: ext4 dev: /dev/nvme0n1p7
ID-2: /home size: 719.93 GiB used: 87.27 GiB (12.1%) fs: ext4 dev: /dev/sda2
ID-3: swap-1 size: 4.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/nvme0n1p5
Sensors: System Temperatures: cpu: 48.0 C mobo: N/A gpu: nvidia temp: 51 C
Fan Speeds (RPM): cpu: 0 gpu: nvidia fan: 0%
Info: Processes: 351 Uptime: 41m Memory: 15.66 GiB used: 3.48 GiB (22.2%) Init: systemd Compilers: gcc: 9.1.0 Shell: zsh
v: 5.7.1 inxi: 3.0.35

Ehmm ... no ... Both Firefox and Thunderbird have their own GTK file picker, so no Nautilus there. In order to use the KDE Plasma file picker, you have to add:
export GTK_USE_PORTAL=1
in the file /etc/profile.d/mozilla-common.sh

To be sure it will work, check if xdg-desktop-portal and xdg-desktop-portal-kde are installed.

Edit: Since i don't use thunderbird, maybe i got a few things wrong. See some comments related to Thunderbird

2 Likes

Is is opening nautilus or is it using gtk file chooser? The applications themselves determine which file chooser to use.

EDIT: sigh....I am always a few seconds too slow :sob:

Works for Firefox, but doesn't for Thunderbird. It doesn't seem that Thunderbird supports KDE plasma file picker.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.

Forum kindly sponsored by