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: 10,948

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

Board footer

Powered by FluxBB