On 15/07/2022 23:25, Cameron Simpson wrote:
On 15Jul2022 16:12, lejeczek peljasz@yahoo.co.uk wrote:
would anybody know if user's '.local' folder, its path & name are configurable in some way? Perhaps by a var or/and os-wide configs?
Maybe not, but nothing stops you making it, or particular things inside it, symlinks to better locations. My local machine:
[~]fleet2*> ls -ld .local drwxr-xr-x 3 cameron cameron 96 27 Jun 2020 .local [~]fleet2*> L .local/ total 0 drwxr-xr-x 3 cameron cameron 96 27 Jun 2020 . drwxr-sr-x+ 223 cameron cameron 7136 16 Jul 08:22 .. drwxr-xr-x 5 cameron cameron 160 26 Jul 2021 share [~]fleet2*> L .local/share total 0 drwxr-xr-x 5 cameron cameron 160 26 Jul 2021 . drwxr-xr-x 3 cameron cameron 96 27 Jun 2020 .. drwxr-xr-x 3 cameron cameron 96 27 Jun 2020 direnv drwx------ 4 cameron cameron 128 26 Jul 2021 fish lrwxrwxr-x 1 cameron cameron 12 14 Aug 2020 vt -> ../../var/vtI keep a lot of things in ~/var, a lot of configs in ~/rc, yea, even to the point of:
[~]fleet2*> ls -ld .config lrwxrwxr-x 1 cameron staff 2 11 May 2017 .config -> rcand machine specific configs in ~/rc-local.
Won't do for me - fails with any bit more "complex" case when multiple nodes are involved and user landing on each such node would have unique/different '.local' dir, having whole home dir net mounted. I was hoping (& expecting) that would be controlled via a env var but it does not seem that way - which makes me wonder - that must the software which knows/chooses '.local' internally or might ignore that all rogether and use own path(s), if it is not the OS providing that information? hmm..
thanks, L.