Hah I was literally just complaining about applications not following the XDG directory spec today. there's a non-exhaustive list of applications on the archwiki [0] that put their config/data in dotfiles in the home directory. surprisingly, there's also lots of pushback from maintainers of projects who don't want to change this, for whatever excuse they can produce. a Reddit thread has some list of issues where the…
Show HN: boxxy – Control where Linux programs put files, without symlinks
81–90 of 250 posts
Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#82Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#83Earlier quoted context omitted.
You might be surprised how many of us were obsessed with Boxxy lol.
YUP, she was the OG camgirl, sadly got all the worst parts of the gross attention / fame without any of the perks/money that Belle Delphine gets now
Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#84Hah I was literally just complaining about applications not following the XDG directory spec today. there's a non-exhaustive list of applications on the archwiki [0] that put their config/data in dotfiles in the home directory. surprisingly, there's also lots of pushback from maintainers of projects who don't want to change this, for whatever excuse they can produce. a Reddit thread has some list of issues where the…
On one hand, it's great to have all the stuff in the same place, on the other hand, we used to have this, before the ~/.config folder too.
Also, it's not just in one place anymore, but in many places -- so to completely remove a programX, it's not enough to just remove ~/.programX, but you need to remove a folder from ~/.config/, and another one from ~/.local/something, and another form ~/.cache,...
So yeah, i understand 'the old guys' too... maybe because i'm not 20-something anymore.
Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#85nice idea but tmux may not be the right example for the readme example since tmux actually supports XDG and its config in ~/.config/tmux/tmux.conf
TIL! I guess I'll find a better example.
Course, might not work so well with the way boxxy is run ... unless you chsh to boxxy bash or something.
Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#86Earlier quoted context omitted.
It creates a new mount namespace, and bind-mounts your ENTIRE filesystem into it, before chrooting, so that it can optionally remount / as ro to prevent applications from writing outside of the desired directories. The namespace is to allow doing the bind mounts in the first place.
Is there an infinite recursion in /tmp? Do you use a bubblewrap-like pivot_root trick?
No! The directory in /tmp outside of the "box" is completely empty; the remount of / is only seen within the mount namespace.
Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#87Earlier quoted context omitted.
It sadly can't. Regex paths are hard due to the way it's implemented; if it was intercepting syscalls via ptrace then regex would be a lot more viable, but since this is just a glorified collection of bind mounts in the end, I'm unsure how I'd implement that nicely...
Okay understood. Consider adding a way to query all files written by a boxed application. If it generated a config file based on this info that would be super useful. Thanks for considering!
Re: Show HN: boxxy – Control where Linux programs put files, without symlinks
#88Hah I was literally just complaining about applications not following the XDG directory spec today. there's a non-exhaustive list of applications on the archwiki [0] that put their config/data in dotfiles in the home directory. surprisingly, there's also lots of pushback from maintainers of projects who don't want to change this, for whatever excuse they can produce. a Reddit thread has some list of issues where the…
Some of these programs also spam the home folder on Windows instead of using the path specified in the %APPDATA% environment variable.