Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Snap apps not working with absolute paths in user-dirs.dirs #54

Open
Mervap opened this issue Apr 12, 2021 · 0 comments
Open

Snap apps not working with absolute paths in user-dirs.dirs #54

Mervap opened this issue Apr 12, 2021 · 0 comments

Comments

@Mervap
Copy link

Mervap commented Apr 12, 2021

I have the following ~/.config/user-dirs.dirs file in my home directory:

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOCUMENTS_DIR="/media/Shared storage/Documents"
XDG_DOWNLOAD_DIR="/media/Shared storage/Downloads"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="/media/Shared storage/Pictures"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_VIDEOS_DIR="/media/Shared storage/Videos"

When I install an app built by app-builder from snap, then nothing is running and no errors in the terminal. This is perplexing.

After a long debug I came to the conclusion that the launch crashes here

desktop-common.sh tries to delete directory /media/Shared storage/Documents and sends all error messages into /dev/null

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant