I want to install some rhythmbox plugins from github. The normal method for this is to:
cd ~/.local/share/rhythmbox
git clone https://github.com/luqmana/rhythmbox-plugins.git plugins
With Flatpak, I wanted to put the .local/share folder where flatpak Rhythmbox would expect it:
# I think Flatpak apps expect things in their app-specific folder:
cd ~/.var/app/org.gnome.Rhythmbox3
mkdir -p .local/share/rhythmbox
# This part is kinda like the original instructions:
cd .local/share/rhythmbox
git clone https://github.com/luqmana/rhythmbox-plugins.git plugins
That didn’t work, but I don’t know if that’s because Rhythmbox doesn’t like what I did, or because I just don’t understand where flatpak apps expect things. The appropriate question for this forum is: where do flatpak apps expect user home directory stuff? Am I working from the right assumptions here?
Huh. $XDG_DATA_HOME
defaults to $HOME/.local/share
. If used flatseal to give Rhythmbox xdg-data-home
permission, could I then put my files in the system-wide ~/.local/share/rhythmbox
? That seems like giving it more permission. I’d rather put the files in the flatpak rhythmbox-specific directory as long as that’s unlikely to affect updates.