Xfce Forum

Sub domains
 

You are not logged in.

#1 2022-06-05 03:32:54

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

[SOLVED] one of my users has ~/. working as ~/Desktop

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

#2 2022-06-05 06:30:59

KBar
Member
Registered: 2021-11-05
Posts: 689

Re: [SOLVED] one of my users has ~/. working as ~/Desktop

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! tongue

Offline

#3 2022-06-05 15:48:53

CwF
Member
Registered: 2018-01-28
Posts: 305

Re: [SOLVED] one of my users has ~/. working as ~/Desktop

Skaperen wrote:

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

#4 2022-06-06 04:57:41

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: [SOLVED] one of my users has ~/. working as ~/Desktop

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

#5 2022-06-06 09:54:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: [SOLVED] one of my users has ~/. working as ~/Desktop

Skaperen wrote:

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

#6 2022-06-08 23:11:00

Skaperen
Member
From: right by Jesus, our Saviour
Registered: 2013-06-15
Posts: 862

Re: [SOLVED] one of my users has ~/. working as ~/Desktop

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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.009 seconds, 7 queries executed - Memory usage: 550.98 KiB (Peak: 554.52 KiB) ]