Set default places for e.g. dolphin (write the `user-places.xbel`)
Opened this issue · 2 comments
I would like to be able to set the "Places" in dolphin with plasma-manager.
These are defined in ~/.local/share/user-places.xbel
.
xbel is the XML bookmark exchange language. Despite this rather general name it seems only to be used by KDE applications (e.g. gnome doesn't), and a few relatively unknown browsers. That is why I believe plasma-manager might be the right place for this feature.
For now you can achieve this via home.file.".local/share/user-places.xbel" but the user-places file does not seem tor accept variables for userfolder so in a multihost,multiuser config you'd have to create multiple user-places.xbel files.
Here's how I did it
https://github.com/Moe1369/nixos-config/blob/main/modules/user/plasma/default.nix
I will try to implement this, in this weekend or next week. Shouldn't be too different from what I did in #362