XDG_CONFIG_HOME as ~/etc - Other *nix-like OSes & POSIX related
Users browsing this thread: 2 Guest(s)
|
|||
What's your opinion on the following config:
Code: export XDG_DATA_HOME=~/share Make a lot of sense I believe. |
|||
|
|||
It's always a good idea for a tidier home to override the XDG directories. It's easier to do with the ~/.config/user-dirs.dirs file or whatever is the default $XDG_CONFIG_HOME, but then it'll be a chicken and egg problem if you want this one defined too.
Some people had similar ideas in this thread but it was more generic. I'd be interested in seeing how others do that these days, since there are different solutions. |
|||
|
|||
(02-09-2023, 09:39 AM)venam Wrote: but then it'll be a chicken and egg problem if you want this one defined too. I don't believe user-dirs.dirs is ment to handle $XDG_CONFIG_HOME, you set that as an environment variable in your ~/.profile. My $XDG_CONFIG_HOME/user.dirs.dirs, after running xdg-user-dirs-update --set DOWNLOAD ~/dl is: Code: # This file is written by xdg-user-dirs-update (02-09-2023, 09:39 AM)venam Wrote: Some people had similar ideas in this thread but it was more generic. My $HOME is pretty similar: Code: ~ $ tree -L 1 I'm in the process of renaming ~/Downloads to ~/dl |
|||
|
|||
|
|||