Boxxy puts bad Linux applications in a box with only their files
github.com
github.com
> A shell script that checks your $HOME for unwanted files and directories.
> When xdg-ninja encounters a file or directory it knows about, it will tell you whether it's possible to move it to the appropriate location, and how to do it.
It wants to put its config in ~/.tmux.conf. With boxxy, you can put its config in ~/.config/tmux/tmux.conf
From tmux(1): By default, tmux loads the system configuration file from /etc/tmux.conf, if present, then looks for a user configuration file at ~/.tmux.conf $XDG_CONFIG_HOME/tmux/tmux.conf or ~/.tmux.conf.
XDG_CONFIG_USER defaults to "$HOME/.config".Very poor choice for an example.
In related news, Vim just added XDG support upstream as well. Just waiting for Zsh to follow suit now :)
I would welcome the change.
If the tmux devs are confused then it looks like a perfect example of why we need a standard for `.config` or similar. I have proposed something similar in the past for code repositories to remove the config file clutter to a subdirectory, but it's hard to gain traction.
A standard wouldn't fix mistakes in the manpage. What is your proposal?
Now I just have a `/work` folder and I don't have to care what applications want to do with their configurations.
https://docs.aws.amazon.com/sdkref/latest/guide/file-locatio...
I don't see an option for the whole .aws folder. I'm sure some random stuff gets out in there, but for the life of me I can't think of any other files besides credentials and config.
Maybe some credential provider scripts/hooks? But in that case i think you can just specify the location wherever it is already... IDK.
The biggest utility I could see boxxy for is when other tooling doesn't honor those env cars/alternate configs from default. But... I mean symlinks always worked fine for me.. but I gotta admit this is better, and I'm thinking about installing it just to see what boxxy scan comes up with. I recently did a bunch of work to clean up my devenv and get it in .zshenv, this could help with that.
XDG_DATA_HOME="$HOME/.local/share" # okay, reasonable
XDG_CONFIG_HOME="$HOME/.config" # ...uh, pardon?
XDG_STATE_HOME="$HOME/.local/state" # well at least it's in ~/.local
XDG_CACHE_HOME="$HOME/.cache" # ...but this one ain't; what in tarnation?
It'd make more sense to be consistent with how system-wide applications use /usr or /usr/local, like so: XDG_DATA_HOME="$HOME/.local/share"
XDG_CONFIG_HOME="$HOME/.local/etc"
XDG_STATE_HOME="$HOME/.local/var/lib"
XDG_CACHE_HOME="$HOME/.local/var/cache"
This would make $XDG_(CONFIG|STATE|CACHE)_HOME consistent with $XDG_DATA_HOME, and also consistent with existing conventions around ~/.local/bin and ~/.local/lib.The XDG spec ain't the only naughty naughty boy here, either. Flatpak puts all of its application data in ~/.var/app, whereas it'd make a lot more sense in ~/.local/var/lib/flatpak/app. And of course, the subject of Boxxy (and, as others mentioned, xdg-ninja) is the countless apps contributing further to the chaos.
Of course, all this would stop being an issue entirely if Linux would just embrace union mounts like Plan 9 did and overlay everything onto /bin, /lib, /share, /etc, and so on. Hell, if I were the not-so-benevolent dictator for life of the Linux ecosystem I'd take the opportunity to rename all those weird UNIX™ vestiges, too, like /etc→/conf and /var→/data - but if we're gonna hang on to those vestiges, the least XDG could do is encourage consistency with them.
Maybe I just need to make my own distro and finally say goodbye to what little remains of my sanity.
Can we reverse this trend? I've recently started to see an FAQ, on GitHub, hide the answer with a deeplink into Discord channels where you needed to find the guild to join first. I've never gotten disinterested in a project that fast. This needs to stop.
Why?
People go "oh, Discord has forums, we don't need a web forum", and the world is now a little bit worse.
I think voice chat is very popular with gaming discord users, not so much with software projects anyway.
In any case, it is so simple to just send a link to an open jitsi instance on any platform that it isn't that big of a deal if you do that once every full moon.
It's very unfortunate that the entire Matrix ecosystem seems to be funded by people who want to build private branded messaging systems for enterprise and government and other users aren't the target audience anymore.
So there is absolutely no alternative but a) ensure the wider independent FOSS ecosystem can build general purpose apps (which they can and do - eg Cinny and FluffyChat), and b) have Element go off and build apps which people actually pay for (empirically that means govtech & enterprise).
The hope is that if/when Element is profitable doing the latter, then Element can get back to investing in the broader Matrix ecosystem again. (Separately, it’s fascinating to see how little much of the Matrix ecosystem seems to appreciate the $$M that Element has put in over the years. Funny old world.)
edit: oh, and the unable to decrypt errors should be pretty much gone now; we just spent the last 6 months on crypto doing nothing but killing them.
I am logged out of my schildichat every few days, cinny breaks a bit, and sometimes messages just show "could not decrypt message".
They "eventually" show on all sessions but I am facing them now.
My old sessions are broken, only new messages are visible across new sessions.
I use matrix as my daily driver so i it doesn't bother me much but I can say an average user might not.
Also,
Fluffychat android doesn't work with audio calls. Notifications are broken, I get "some" notifications, some days, sometimes after a few weeks, sometimes none.
Well, it's a gamble. With the risk they will sue you and win.
Discord must be aware that their secret ingredient is that people are "admins" over others, and that people actually quite like being in power and having a different colored name. And all that without the technical barrier of having to setup forums or Teamspeak (not that such gatekeeping kept terrible people from being admins)
With a project discord, you're filtering out people immediately -- typically only people who want to be there wind up there. It makes things easier for a lot of people this way.
Well. Yes. You filter out a lot of people, including legitimate users who would be interested but aren't going to deal with Discord. I'm not convinced that's actually a win.
Posts aging out mean that discussions fade from view. That means that they die off, as other people don't join in. Combine that with karma, and you get people tending to just contribute content that is counter to community building.
I've seen some similar stuff happen on Discord servers (I'm looking at you, Discord servers with 50 topic channels), but I've also seen people slowly get to know each other better there.
Or, to summarize: I generally see Reddit as better for discoverability and Discord as better for community. But they're both inadequate as a whole.
> No! I just thought it was a cute name ("put things in a box"), and it wasn't a common repo name on GitHub.
The default branch is `mistress`, I suspect the author has a sense of humour.
Firejail if you want ease of use (there are a lot of ready profiles to be used).
Bubblewrap if you want more security, at the cost of having to do more manual work.
TL;DR Firejail is a blacklist of things, while bubblewrap is an whitelist, so bwrap policies tend to be tighter.
Do you fire up a docker image? Do you use virtualbox? ...
That's rather inconvenient to alias ever app, is there a more ergonomic way to rewrite the file access calls?
For example I'd want to create more containers for more specific use cases where they only have access to specific dirs in my HOME.
If you pass --dry-run, it will spit out the underlying podman/docker command. That was frankly better than trying to find documentation.
Thanks, I'm using distrobox now.