Bottles
Bottles copied to clipboard
[Bug]: Clicking on any of the open folder buttons in bottles opens the file path in Kate instead of in Dolphin (KDE's file manager)
Describe the bug
If you click on any folder icon in bottles which is supposed to direct you to the relevant folder it instead opens the file path in Kate which is a text editor and not a file manager. Please see the attached images:
To Reproduce
- Go to any folder icon in bottles that is supposed to open a path to the directory in the file manager
- Click on it
- It opens the file path in Kate (text editor) instead of Dolphin (file manager)
Package
Flatpak from Flathub
Distribution
Manjaro (KDE)
Debugging Information
Official Package: true
Version: '51.11'
DE/WM: plasma
Display:
X.org: true
X.org (port): :0
Wayland: false
Graphics:
vendors:
nvidia:
vendor: nvidia
envs:
__NV_PRIME_RENDER_OFFLOAD: '1'
__GLX_VENDOR_LIBRARY_NAME: nvidia
__VK_LAYER_NV_optimus: NVIDIA_only
icd: /usr/lib/x86_64-linux-gnu/GL/vulkan/icd.d/nvidia_icd.json
nvngx_path: /usr/lib/x86_64-linux-gnu/GL/nvidia-550-67/extra/nvidia/wine
prime:
integrated: null
discrete: null
Kernel:
Type: Linux
Version: 6.6.26-1-MANJARO
Disk:
Total: 8356966400
Free: 8356786176
RAM:
MemTotal: 15.6GiB
MemAvailable: 11.9GiB
Bottles_envs: null
Troubleshooting Logs
No response
Additional context
No response
It is a xdg bug, not a Bottles bug. This should do the work for Dolphin, probably: xdg-mime default org.kde.dolphin.desktop inode/directory xdg-mime default org.kde.dolphin.desktop inode/mount-point
OMG this worked! thank you so much @Dhizaes ! 😊
Can you please explain what xdg is and what those commands do? I don't get it but it worked! 🥳
It can be simplified to this I think: https://superuser.com/questions/1559357/what-does-xdg-stand-for
There is a "mimeapps.list" file in your ".config" folder, probably. It defines what should your OS do when that part triggered. Take it as a Default App system. Somehow, text or code editors, takes the default slot for themselves and I don't have any idea why they are doing that. For you, it is Kate; for me, it was VSCode. Also almost same system applies to folders as well and it is stored in "user-dirs.dirs" file, ".config" folder, again.
Thank you for the link and the detailed explanation, I really appreciate it. It's very annoying when something like this happens because the average user has no idea how to fix it and assumes it's a bug with the program itself, I tried looking under default app settings in KDE but of course there's nothing there related to this issue specifically that I could see.
Thanks again and I hope you have a wonderful day! 😊