You are not logged in.
one of my users has ~/. working as ~/Desktop. i have no idea where to set which directory path will be used to find the desktop icon in .desktop files. its current ~/Desktop has only one file so there should be only one icon on the desktop after the system ones.
Last edited by Skaperen (2022-06-09 01:57:04)
Offline
realpath ~USERNAME/.
Where USERNAME is that user's login name.
Remember to edit the subject of your topic to include the [SOLVED] tag once you're satisfied with the answers or have found a solution (in which case, don't forget to share it as well), so that other members of the community can quickly refer to it and save their time. Pretty please!
Offline
one of my users has ~/. working as ~/Desktop.
I believe that is an indicator of /home/root/Desktop, which isn't a real place!
Offline
it's real
lt1a/clock/0 /home/clock 14> realpath ~clock/.
/home/clock
lt1a/clock/0 /home/clock 15> ls -dil /home/clock
32768001 drwxr-xr-x 15 clock clock 4096 Jun 5 20:32 /home/clock
lt1a/clock/0 /home/clock 16> ls -dil /home/clock/Desktop
32776198 drwxr-xr-x 2 clock clock 4096 Jun 4 18:25 /home/clock/Desktop
lt1a/clock/0 /home/clock 17>
the name of this user is "clock".
Last edited by Skaperen (2022-06-06 04:58:56)
Offline
one of my users has ~/. working as ~/Desktop. i have no idea where to set which directory path will be used to find the desktop icon in .desktop files. its current ~/Desktop has only one file so there should be only one icon on the desktop after the system ones.
Sounds like your xdg-dirs config is off. Run the following command to see where xdg thinks your desktop is (probably your home directory):
xdg-user-dir DESKTOP
If it doesn't point to your desktop, run the following to reset it:
xdg-user-dirs-update --set DESKTOP ~/Desktop
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Offline
it was pointing at my home directory, at first. i did the update and re-ran the "xdg-user-dir" command and it now shows the correct directory. the desktop didn't change so i assume it needs a logout/login cycle (edit: which worked). i also checked for changing files and see "~/.config/user-dirs.dirs" changed. it seems to be the relevant file to examine (for why this change happened). it specifically suggests this file is OK to edit:
# 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/"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/"
XDG_DOCUMENTS_DIR="$HOME/"
XDG_MUSIC_DIR="$HOME/"
XDG_PICTURES_DIR="$HOME/"
XDG_VIDEOS_DIR="$HOME/"
Last edited by Skaperen (2022-06-08 23:16:14)
Offline
[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 550.98 KiB (Peak: 554.52 KiB) ]