Xfce Forum

Sub domains
 

You are not logged in.

#1 2017-01-07 22:08:12

Megver83
Member
Registered: 2016-10-02
Posts: 4

How to define a /home directory as, for example, Desktop?

hi XFCE community. I'd like to if it is possible to set up certain directories like /home/$USER/Images as the default directory for photos, same for /home/$USER/Music, /home/$USER/Videos, etc. I haven't see an option for that on XFCE, but in others like Plasma yes. Maybe I can use an external program? Or maybe I just have to create some files? I'm not an expert in that.

Thanks in advance!

----
Distro: Parabola GNU/Linux-libre (based on Arch, same packages except non-free ones)
Architecture: x86_64
RAM: 4GB

Last edited by Megver83 (2017-01-07 22:12:50)

Offline

#2 2017-01-07 22:38:15

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

Re: How to define a /home directory as, for example, Desktop?

Look at xdg-user-dirs-update and the associated ~/.config/user-dirs.dirs file. There are a small set of generic xdg folder identifiers that can be assigned to point to different directories. For example, to make ~/test your Music directory, try:

xdg-user-dirs-update --set MUSIC ~/test

Look at the ~/.config/user-dirs.dirs before and after the above command. If you want to see the change in Thunar, you need to make sure the thunar  daemon is not running "thunar -q" and thunar needs to be restarted.

Edit: Here is the arch wiki page about it.

Last edited by ToZ (2017-01-07 22:39:03)


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

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.006 seconds, 7 queries executed - Memory usage: 522.84 KiB (Peak: 530.11 KiB) ]