The codenames for every major Debian release are named after characters from Pixar’s Toy Story franchise. Debian’s unstable release is fittingly named after Sid, an unstable character from the Toy Story movies.

  • Captain Aggravated@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    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.

    • FooBarrington@lemmy.world
      link
      fedilink
      arrow-up
      1
      ·
      3 months ago

      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.

      • Captain Aggravated@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        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.

        • FooBarrington@lemmy.world
          link
          fedilink
          arrow-up
          1
          ·
          3 months ago

          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.

          • Captain Aggravated@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            3 months ago

            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?

            • FooBarrington@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              3 months ago

              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.