this post was submitted on 28 Apr 2025
60 points (96.9% liked)
Linux
53664 readers
1210 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Put them wherever you want, don't let Poettering dictate what you do with YOUR system. It is better NOT to put them in system directories since those will get overwritten by upgrades.
thats fair, but that shouldn't make you avoid sensible freedesktop dirs just out of spite.
That's a purely Atomic thing, isn't it?
Package managers tend to assume they are the only ones touching files in
/usr/share
. You will find if you try to change any files there, the next update may delete or download a new version of the file, stomping your changes. Instead your local changes should go in/usr/local
(if you want something system-wide) or~/.local
(if it only applies to a specific user).Ex. If you made a custom .desktop file to show up in your app launcher, or a custom .xsession file to show up in a login manager.
not necessarily, package managers tend to overwrite existing files on the same path, if you end up having installing such a package. but that shouldn't apply to /usr/local