this post was submitted on 27 Aug 2024
293 points (95.9% liked)
Linux
48338 readers
458 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
In the branding, but the name of the installed applications in the UI do not contain “gnome”.
It's not just the branding, it's the actual command.
Do you want to launch the hardware monitor?
gnome-system-monitor
. The terminal?gnome-terminal
. And so forth.~~Your DE~~ They will give these clearer and easier names to search from the menu, as well as more recognisable icons, ~~but that's not on Gnome~~
Still makes the command slightly more of a PITA
Do you think DEs just have a huge list of package names to app names, or how do you imagine this would work?
In reality, it's of course fully on Gnome, as it's part of their code. Nobody except for Gnome has anything to do with the name that's being shown.
I did think it worked like that but the package maintainers setting these does make more sense. Thanks for letting me know!
I also edited my comment to reflect this
Thanks! Sorry for coming on so aggressively.
Yes, they're called .desktop files and they're found in /usr/share/applications.
On my Linux Mint machine, if I open the Applications menu and go to the Accessories tab, there's an icon that says "Text Editor." There is no binary on the machine by that name; it launches Xed.
When the common name of a package, the actual filename of the executable binary, and the icon title in the App menu are all different, it's not great.
No, your Desktop Environment doesn't have a huge list of package names to app names. It has a list for all your installed packages, but the list entries are part of the packages.
If your system doesn't have
gnome-system-monitor
installed, you won't have the corresponding.desktop
file, because it's part of the package. It would be incredibly wasteful and unnecessarily complex for your system to get shipped out with.desktop
files for all possible applications.Sure. But we don't just exist in the context of the machine currently in front of us. Beginners might, Wade might, but consider this:
I use Linux Mint right now. An "everything but the kitchen sink" kind of distro, GTK3 based, ships with a combination of Gnome's utility apps and several of Mint's Xapps. In the App menu, there's an icon that says "Text Editor." It launches a program that resembles Notepad but a little better. If I switched to KDE but didn't like KATE and wanted Mint's Text Editor, what would I type after
sudo apt install
to get it? How do you learn that it's Xed? It doesn't call itself Xed anywhere in the GUI.What do you think Seahorse does? Either you already know this, or you have to look it up, you'll never guess what it does from the title. I'll give you no hint whatsoever: It's Gnome's equivalent of Kleopatra.
spoiler
Those are both credential managers for things like PGP or SSH keys, things like that. Why KDE didn't call theirs "Keyring" I'll never understand.There's so many bad ways to name software, and the Linux ecosystem has tried them all. WINE Is Not Emulation or LAME Ain't an Mp3 Encoder. I still believe GNU would have a kernel if Stallman had put the effort coming up with HURD/HIRD into writing the actual software. If you had to guess, what does Caja do? We live in a world where Nautilus and Nemo are two versions of the same thing.
The various text editors, ranked from best name to worst name: Gedit, Xed, Leafpad, Mousepad, Pluma, KATE. Gedit, it's from Gnome because of the G, and it's an editor. Xed contains the same information but you have to have more in-depth prior knowledge, you have to know Mint and their Xapp initiative. Leafpad is better than Mousepad because the latter might be a mouse/cursor configuration utility. Pluma...plume > feather > quill pen > writing > text editor. Wow what a journey. Why would I independently come to the conclusion that KATE stands for KDE Advanced Text Editor? Call it Ktext.
I would rather them call it Gedit than gnome-text-editor because they're willing to put "Gedit" on the title bar of the window, they won't put "Gnome Text Editor" up there.
Your Mint/Xed example doesn't show what you think it does. Mint doesn't just ship with
.desktop
entries for a bunch of applications, they are still managed by the respective developers and part of the packages themselves. Mint is also the developer of Xed, so the repository is in their organization, but the.desktop
file is still part of the package. If you install Xed on any other distribution, you'll still get the same.desktop
entry, because it's part of the package.That is all I've been talking about. I'm not sure how your reply relates to that, but it would help me if you tell me what you're arguing against.
Mostly that we do this at all in the first place.
Forget the technical details for a minute. Fuck how .desktop files work. The program's binary is named "xed." If you want to install it, you have to type "sudo apt install xed" or "sudo dnf install xed" or whatever because that's the package's name. But in the user-facing parts of the GUI like the App menu or in the window's title bar, it calls itself "Text Editor."
Let's pretend you're a new user to Linux, you use Linux Mint Cinnamon for a little while, you like the text editor that comes with it, you decide to switch to Fedora KDE, you try it out but you find you don't like KATE as much. You want to install the one from Linux Mint. How do you find out what to type into dnf to get it to do that? You haven't been taught that the program's name is Xed, everything you saw as a Mint user called it "Text Editor." Why did they do that to you?
Okay, but why do you tell me that I'm wrong and keep going on about unrelated points? I don't care if the user-facing name is different from the binary name. I have no position on the topic.
I corrected a wrong statement (who is responsible for the
.desktop
file of an application). You tried to counter-correct me, but did so on an unrelated point (who displays the application name? I'm still not sure). Positions on whether.desktop
files defining separate names is good aren't relevant.you win forget I said anything Im blocking you please block me.