| 22 Nov 2025 |
Sofie 🏳️⚧️ (she/her) | 🥰 | 17:59:54 |
jlc | Anyone know the correct way to have filechoosers (dolphin in my case) have the ability to see/use mimetypes? I have a a lot of mimetypes working in my app-launcher a-ok after setting them in my home.nix, but if I spawn a filebrowser and say, try to open a .txt file, instead of immediately going to my editor, my chooser asks me what to use each time, and doesn't have any kind of persistent memory for what associations I'd made before.
Should I use xdg.mimeApps.defaultApplicationPackages and specify dolphin as a package?
| 18:07:59 |
jlc | * Anyone know the correct way to have filechoosers (dolphin in my case) have the ability to see/use/add to mimetypes? I have a a lot of mimetypes working in my app-launcher a-ok after setting them in my home.nix, but if I spawn a filebrowser and say, try to open a .txt file, instead of immediately going to my editor, my chooser asks me what to use each time, and doesn't have any kind of persistent memory for what associations I'd made before.
Should I use xdg.mimeApps.defaultApplicationPackages and specify dolphin as a package?
| 18:11:10 |
K900 | This should work out of the box, unless you're doing HM things | 18:11:49 |
jlc | i am indeed doing H-M things. | 18:12:00 |
K900 | Then you can't have both declarative and imperative mimetypes like that | 18:12:15 |
jlc | Heard. Imperative will work fine for me - Best then to remove the associations in my home.nix, switch and then reboot? I'll mention also that my filechooser was having this issue before I specified the mimetypes in the last hour, too. | 18:13:35 |
K900 | Yes, remove everything in xdg.mimeTypes | 18:14:15 |
K900 | And if you're using impermanence, make sure to persist ~/.local/share/mime or whatever the path is | 18:14:27 |
jlc | I'm pretty new - could you say more on how to do this? | 18:14:45 |
K900 | Are you using impermanence? | 18:15:29 |
jlc | I suppose I'm not sure. | 18:15:44 |
K900 | If you don't know, you're not | 18:15:57 |
jlc | Fair enough! | 18:16:08 |
K900 | Also, are you using Dolphin inside Plasma, or on a standalone WM session or something? | 18:16:13 |
jlc | standalone alongside niri, a wayland WM | 18:16:36 |
K900 | Actually | 18:17:16 |
jlc | (FWIW I had this issue using Nautilus as well) | 18:17:22 |
K900 | What does dolphin --version output? | 18:17:23 |
jlc | 25.08.03 | 18:17:54 |
jlc | And also: | 18:17:57 |
jlc | qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
QThreadStorage: entry 3 destroyed before end of thread 0x560ddf5c2bc0
QThreadStorage: entry 2 destroyed before end of thread 0x560ddf5c2bc0```
| 18:18:25 |
jlc | * qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
QThreadStorage: entry 3 destroyed before end of thread 0x560ddf5c2bc0
QThreadStorage: entry 2 destroyed before end of thread 0x560ddf5c2bc0
| 18:18:44 |
jlc | * qt.multimedia.symbolsresolver: Couldn't resolve pipewire-0.3 symbols
QThreadStorage: entry 3 destroyed before end of thread 0x560ddf5c2bc0
QThreadStorage: entry 2 destroyed before end of thread 0x560ddf5c2bc0
| 18:19:18 |
jlc | (which is info I'm seeing for the 1st time) | 18:19:40 |
K900 | That's fine, those are non-fatal warnings | 18:20:04 |
K900 | Anyway, try getting rid of all the xdg.mime stuff in home-manager and then restarting your sessio | 18:20:20 |
K900 | Anyway, try getting rid of all the xdg.mime stuff in home-manager and then restarting your session | 18:20:21 |
jlc | I'll comment it all out and brb | 18:20:47 |
jlc | Mkay - Looks like my editor can still open things from my app launcher, but mt filechooser still doesn't have this persistence. | 18:26:10 |