I just throw lots of dumb shit in my home directory. I actually have the Windows Entertainment Pack for Windows 3.1 in a folder in there. Runs great in WINE. Home directory is great for storing random files.
linuxmemes
Hint: :q!
Sister communities:
Community rules (click to expand)
1. Follow the site-wide rules
- Instance-wide TOS: https://legal.lemmy.world/tos/
- Lemmy code of conduct: https://join-lemmy.org/docs/code_of_conduct.html
2. Be civil
- Understand the difference between a joke and an insult.
- Do not harrass or attack members of the community for any reason.
- Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
- Bigotry will not be tolerated.
- These rules are somewhat loosened when the subject is a public figure. Still, do not attack their person or incite harrassment.
3. Post Linux-related content
- Including Unix and BSD.
- Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of
sudo
in Windows. - No porn. Even if you watch it on a Linux machine.
4. No recent reposts
- Everybody uses Arch btw, can't quit Vim, and wants to interject for a moment. You can stop now. Β
Please report posts and comments that break these rules!
Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't fork-bomb your computer.
Please use $XDG_CONFIG_HOME
(and other XDG base dies)
Use xdg-ninja to help clear out unwanted files not in your home folder, and give tips to move them into a normal folder like .config
but please don't hard-code ~/.config
or $HOME/.config
. Use the XDG_CONFIG_HOME
environment variable, with $HOME/.config
as a fallback if it's not set.
Many programming languages have a cross-platform implementation of this built in to their standard library. C# has Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData)
which uses XDG_CONFIG_HOME on Linux, local AppData on Windows, and whatever is the correct thing on MacOS (not very familiar with how things work on MacOS)
Never new about this! That's very handy
On macOS, the correct thing to use is usually NSUserDefaults API, or - [NSFileManager URLsForDirectory:inDomains:]
with NSApplicationSupportDirectory (gives a list of paths to find your config file in, like XDG_CONFIG_DIRS)
Thanks for the info. It looks like that's what .NET / C# uses: https://github.com/dotnet/runtime/blob/2b60d82ef3e87876128b7f71922a1b72908b6fcf/src/libraries/System.Private.CoreLib/src/System/Environment.GetFolderPathCore.Unix.cs#L103
Attention electron developers: under no circumstances do I want your entire app in .config.
You feel the curling of the monkey's paw; the entire app is now in ~/.local/AppName
Even better, ~/.local/share/
XDG? OpenDesktop? Dunno what that is, time to dump everything into ~/.myawesomeapp
Just dump it in ~
Oh, no. Don't even make it a hidden folder, it needs to be right there, front and center. And make sure you use a bunch of capital letters in the name, because you're so fucking important.
Android Studio
And Arduino.
At least it gives you the option to change it
laughs in home-manager
It's still a lot better that creating random .folders per application in your home.
The font in the screenshot makes me angry.
Idk what happened there either. After updating from Android 12 to 13, this is how it was ever since. And now I'm used to it.
Konsole once did that to me, and started inserting random tabs.
KeePass user π«‘
Of course. Everything else is hosted on other's servers, and here I have the choice between dozens of storages, mainly selfhosted ones. The only exception being KeePassXC - but that's what rclone/rsync are for. So the DB resides on a WebDAV share on my Nextcloud now.
Everything else is hosted on otherβs servers
You can self-host bitwarden with vaultwarden.
Hey! Would you mind guiding me as to what is going on in this picture? Is this an APP that allowed to SSH into your server? You got my attention with this picture, and I'm curious to hear more.
It's Termux, basically a fully fletched terminal for Android. So you can install various tools via apt, and use them, for example yt-dlp, ffmpeg, gcc, python etc. And yes, you can also use SSH, both as server and client. I use it very often to connect to my servers on the go.
You can even use chroot to basically run a distro of your choice.
Damn, that sound pretty cool, thanks for the info!
It's also incredibly useful to backup /sdcard via rsync or Borg every night automatically
Or access the contents of your phone via SFTP
Nah just put it in ~/.thing-config.d/01-0x45- 110100100-main.options-extra2cache.swp
along with three godzillion other files like it's normal and very sane for users who edit such files to have the big picture of the default configuration dreamed up by some utterly deranged lunatic be spread across enough files to represent all known stars in the galaxy, standards are for losers amirite ^/s^
Iβve been forcing myself to learn to use NixOS with home-manager just to avoid this. Not to worry, itβs just my home.nix thatβs a dumpster fire now
It really depends for what. I don't think nginx config should be in $HOME/.conf/
Right? It goes into ~/Documents/
SMH my head
Unless it's running as your own user as part of your session. /etc
for system-wide and ~/.config
for your own user makes a lot of sense.
They want ~/etc/
in their home, which just seems like a renamed ~/.config/
.
Just give me ~/etc/
Isn't that just .config?
Laughs in NixOS
Nixos still slaps your home route with a bunch of . Files
Yes, but I never have to look at them
You guys don't use show hidden files?
Valid