Hello all
How would I go about automating the process of adding the users’ common folders to the Dolphin side panel?
Do you use some initial snippet inside the configuration.nix
file or a script to accomplish this?
Any assistance would be greatly appreciated.
thanks
According to kde.org this is stored in ~/.local/share/apps/kfileplaces/bookmarks.xml. If you’d like you could use home-manager to manage that file, but it would make it immutable and unable to be modified by dolphin. It may also be possible to do this with plasma-manager, but it is likely overkill for your use case.
Plasma-manager makes use of kwriteconfig to make these changes, you might be able to make something that works using that.
How to use the plasma manager. I copies the output into a nix file but get errors when i rebuild
Unable to find etc etc
error: opening file ‘/etc/nixos/services/plasma/default.nix’: No such file or directory
(use ‘–show-trace’ to show detailed location information)
building Nix…
error: opening file ‘/etc/nixos/services/plasma/default.nix’: No such file or directory
(use ‘–show-trace’ to show detailed location information)
building the system configuration…
error: opening file ‘/etc/nixos/services/plasma/default.nix’: No such file or directory
(use ‘–show-trace’ to show detailed location information)
I need more context to help you with this. Can you run tree /etc/nixos
? How did you create the file with plasma-manager? How are you importing the file? Do you have a git repo where I can see these files?