Live data from Hacker News

Show HN: boxxy – Control where Linux programs put files, without symlinks

github.com

231–240 of 250 posts

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#231
post #89

Chromium doesn't respect XDG config, it always creates ~/Downloads directory on startup. It was so annoying, I hope this tool helps me fix it.

Maybe change download location in chrome://settings/downloads to where you want?

I did. It still creates an empty ~/Downloads on each startup.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#232
post #195
post #89

Chromium doesn't respect XDG config, it always creates ~/Downloads directory on startup. It was so annoying, I hope this tool helps me fix it.

AFAICS it does respect https://www.freedesktop.org/wiki/Software/xdg-user-dirs/ .

I'm not using default settings, I changed XDG downloads setting in ~/.config/user-dirs.dirs.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#233
post #89

Chromium doesn't respect XDG config, it always creates ~/Downloads directory on startup. It was so annoying, I hope this tool helps me fix it.

Update: the tool didn't help. It complains about being unable to run some SUID executable that Chromium calls. I'll have to keep removing the Downloads by hand then after each use of Chromium.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#234
post #228

Earlier quoted context omitted.

https://www.youtube.com/watch?v=Yavx9yxTrsw You have no idea how much of a thing this was? People either loved her or got irrationally angry if she was ever brought up to the point of committing federal crimes

They're not the only one, I've never even heard of her before.

No surprises there, it's basically ancient history at this point at 15 years ago

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#235
post #7
post #5

Earlier quoted context omitted.

No! I just thought it was a cute name ("put things in a box"), and it wasn't a common repo name on GitHub.

You might be surprised how many of us were obsessed with Boxxy lol.

I actually think it was just you obsessing over her unironically

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#237
post #178

Earlier quoted context omitted.

Just FYI, in case it is useful for you: Here's the information that you would want for cleaning that up. https://wiki.winehq.org/FAQ#How_do_I_clean_the_Open_With_Lis... If you ever want to prevent this integration from happening in the first place, you can do it by editing the registry in a given wine prefix. You can run regedit with the usual command, `wine regedit`, then locate the key: HKLM\Software\Microsoft\Wind…

> It is unfortunate that it has to be outside of the WINEPREFIX, but there's no way around it There is a way around unwanted and unexpected associations though: make the integration opt-in instead of opt-out and/or filter associations that the user is unlikely to ever want (like standard file types that will almost certainly already be handled outside Wine). Wine's Internet Explorer is there for compatibilty with Win…

I believe another approach is to edit the default registry settings in /usr/share/wine/wine.inf so that new prefixes have the desired setting. Of course, then when updating the package it has to be reconciled. But it does have the advantage of being able to allow e.g. the settings that would only produce launcher icons and not file associations. There's another method using environment variables too, though I think that one basically works the same as removing the package entirely and can't be used to customize the behavior.

I kind of agree with you that the defaults are not great, or at least if things haven't changed. We could always see if maybe they'll accept patches to filter out more stuff by default.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#238

Earlier quoted context omitted.

I don't see the problem. There's no reason to choose one or the other when we can have both. Many programs try several options. Git for example tries ~/.gitconfig and ~/.config/git/config. Do people seriously resist such non-destructive improvements just because they think it's offensive when younger programmers have opinions on legacy software?

Personally I see a lot of young people use emacs and BSD licences, but because I'm an older engineer and have the wisdom and experience of time, I use vim and GPL.

I'm also a Vim user; in my Vim wisdom and experience I made it follow the damn XDG spec; if hidden files are a feature, I want it to be a feature for my use-cases, not program clutter.

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#239

I remember when the GNUStep people thought their software was important enough to create `~/GNUStep`. Fucking maddening. Especially when one did not actually use GNUStep but some dependency.

There have been some bad ports of Windows games creating ~/My Documents lol. AFAIK there's also ~/snap. You'd think at least such non-hidden hardcoded directories would bother the developers themselves.

Oh, the logic behind the excused for ~/snap made me never want to use that program at all

Re: Show HN: boxxy – Control where Linux programs put files, without symlinks

#240
post #143

Earlier quoted context omitted.

While reading more about this I found out about the ~/.hidden file which I'm pretty excited about. The following hides the folder from Thunar & Dolphin (and presumably other file managers): echo snap >> ~/.hidden

But sadly `ls ~` will still show it.

[deleted]
Post reply on HN