mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-09-21 13:41:20 +02:00
I took me a long time to figure out what is wrong, why I don't have access to ~/Downloads directory from Flatpacked Firefox on Sway desktop. xdg-user-dirs-update just creates config file `$XDG_CONFIG_HOME/user-dirs.dirs` that defines location of each well-known XDG directory and also creates these directories. It's a one-time thing, this config could be just copied from a template... That's why I'm not proposing to add it as a dependency of flatpak.
14 lines
245 B
Bash
14 lines
245 B
Bash
#!/bin/sh
|
|
|
|
modprobe fuse
|
|
|
|
cat >&2 <<EOF
|
|
*
|
|
* To enable access to XDG directories (e.g. ~/Desktop, ~/Downloads, ...) in
|
|
* Flatpak apps, run xdg-user-dirs-update (from xdg-user-dirs package) as a
|
|
* regular user that will use Flatpak.
|
|
*
|
|
EOF
|
|
|
|
exit 0
|