News for hackers. Stuff that matters.
Re:Dotfile madness by rjzzleep on Saturday February 02, 2019 @05:54PM (#19066329)
I personally don't like xdg. I have bin files from pip and other stuff in ~/.local/bin.

I have huge amounts of cache files in both .cache and .config. It's supposed to make my life easier by being able to backup .config and dump everything. but in reality this doesnt happen.

Backing up .config for just the user defined configs is a massive PITA. you have to put so many gitignore exceptions and I'm not even talking about the gigs of data all the chromium derivatives put into that folder.

Re:Dotfile madness by chmln on Saturday February 02, 2019 @07:13PM (#19066811)
> you have to put so many gitignore exceptions and I'm not even talking about the gigs of data all the chromium derivatives put into that folder

Yeah but chrome devs half-assing the trivial xdg spec doesn't mean that xdg sucks - its just not implemented properly.

Re:Dotfile madness by Something1234 on Sunday February 03, 2019 @12:38AM (#19068066)
I think xdg has an issue of being obtuse when I googled it a while ago, it was very confusing, and I didn't find any real definitions. However I didn't look that hard.
Re:Dotfile madness by AnIdiotOnTheNet on Sunday February 03, 2019 @01:39AM (#19068185)
Freedesktop standards are nothing if not overly complicated and confusing.
Re:Dotfile madness by wilmoore on Saturday February 09, 2019 @02:59PM (#19124249)
I agree, you didn't look very hard.
Re:Dotfile madness by gumby on Saturday February 02, 2019 @06:33PM (#19066588)
Can you ln -s /tmp .cache. ?
Re:Dotfile madness by lugg on Saturday February 02, 2019 @07:21PM (#19066858)
You can try. I mount .cache as tmpfs. You need at least 500mb for your browser alone.

Browsers tend to work fine. Some apps just fail badly like rofi (command history stored there oof)

For what it's worth I also tmpfs+asd .nvm, .npm, and */node_modules, without any major headaches. I did have to fix a couple minor pathing dramas but nothing too drastic.

Re:Dotfile madness by OJFord on Sunday February 03, 2019 @08:05AM (#19069369)
You can export XDG_CACHE_HOME=/tmp