symlink persist?
Colin Law
clanlaw at gmail.com
Wed Sep 20 20:44:55 UTC 2023
On Wed, 20 Sept 2023 at 19:26, Grizzly via ubuntu-users
<ubuntu-users at lists.ubuntu.com> wrote:
>
> Hi
>
> I fired up 23.10, renamed my Pictures dir (to falbackPictures), then
>
> $ln -s path_to_22.04_home_Pictures Pictures
> $ls Pictures
>
> all looked as it should,
>
> went to Settings to check that I could also see contents of Pictures when
> setting background, all looked good, background set to pic in (linked) Pictures
> dir
>
> deleted falbackPictures
>
> went back to Settings to check that I could still see contents of Pictures when
> setting background, still looked good
>
> shutdown now -r
>
> on reboot background had defaulted to a Lobster (not Minotaur ??)
>
> went to Settings, now cant see contents of Pictures to set background
I suspect the problem is to do with the fact that the folders
Pictures, Documents and several others are special. Have a look in
~/.config/user-dirs.dirs and you will see something like
# This file is written by xdg-user-dirs-update
# If you want to change or add directories, just edit the line you're
# interested in. All local changes will be retained on the next run
# Format is XDG_xxx_DIR="$HOME/yyy", where yyy is a shell-escaped
# homedir-relative path, or XDG_xxx_DIR="/yyy", where /yyy is an
# absolute path. No other format is supported.
#
XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"
Possibly adjusting the contents will help.
Colin
>
> $ln -s path_to_22.04_home_Pictures Pictures
> $ls Pictures
>
> all looked as it should, went to Settings, still couldn't see contents of
> Pictures to set background
>
> Looked in (linked) Pictures from filemanager, right-click a picture, select
> "use
> as wallpaper" (or similar wording, on wrong box now)
>
> went back to desktop, background still Lobster
>
> should a symlink persist? did I miss a step,
>
> the 22.04 disk is auto mounted (AFAIK) at boot, it is always there on the
> launcher/dock
>
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list