I got an old Windows 7 laptop that was going to be thrown out and decided to put Linux on it (see previous thread here). Most people suggested I go with the latest stable version of Debian, so that’s what I installed. I’ve mostly used Windows, but I do have some experience with Ubuntu.

The installation went smoothly, but I’ve had a few problems getting it set up to my liking:

  1. I can’t figure out how to setup flatpak. Everything seems to be working fine until I enter the last line in the terminal:

flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

I hit enter and nothing happens. No error message or anything. I restarted the computer but flatpak doesn’t work, either through the software center or the flatpak website. I found a few forum posts with the same problem, but no solutions.

  1. I somehow set it up so that my username is not the super user, so I have to type a password in the terminal every time I want to use sudo. Is there a way to fix this without a clean install?

  2. I somehow set up the hard drive partitions so that the OS is on an encrypted partition, so I have to put in a password for the BIOS to boot up. Is there a way to fix this without a clean install?

  3. I’m used to a desktop interface with a toolbar/start menu that I can pin frequently-used programs to, but with Debian it seems like I need to click “Activities” to do anything. Is there a way to set up the interface so it’s more like Windows in that regard?

  4. If I need to do a clean install, I’m thinking of switching to Ubuntu, since I’m more familiar with the interface. Is there any reason why I should stick with Debian? I’ve heard some people trashing Ubuntu but I’m not sure why. Is Debian better for older hardware?

Edit: Thanks for all the knowledgeable replies. For reference, this is a Dell XPS M1530 running the 32 bit version of Debian 12 and Gnome.

  • rufus@discuss.tchncs.de
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Lots of people gave great advice. Let me sum a bit of that up.

    Flatpak

    1. No error means success. You might want to install gnome-software-plugin-flatpak to make it available in gnome-software. I’d advise against using flatpaks if you also have the software available in the debian repositories. Always use the package manager instead, when possible. Those packages are maintained by the debian community and tied into the rest of the system. Flatpaks are not.

    sudo

    1. What would you like? That is kinda intended behaviour and an integral part of security. But you can have it remember the password for some time. Or ask for a different password.

    FDE

    1. I think a clean install is the quickest way to fix this. You can also get the other things right while at it.

    DE

    1. You can choose the desktop environment while installing Linux. You chose the default Gnome Desktop. It’s designed more like Apple or Android tablets. I quite like it. You don’t have that menu blocking space on the monitor. Instead you just bump your mouse to that top left corner or press the windows key and you have a fullscreen menu with your favorites. You can also directly start typing the first letters of the application you want and hit enter and start is, without lifting your fingers from the keyboard and it’s way quicker and more streamlined than clicking on things in a windows start menu. You can have an addidional dock somewhere at the left or the bottom with an additional gnome extension like this or what other people suggested. But if you’d like it like windows, why don’t you try the KDE destop? I think you’d be more comfortable with that if you’re looking for something alike the windows experience.

    Ubuntu

    1. Ubuntu regularly does some stupid things. I’ve been using Debian for quite some time. I suppose the differences for you are minor anyways and you could have it look the same if you found out which gnome quick-launch bar to install or if you used the KDE desktop instead.
    • WFH@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      I’d advise against using flatpaks if you also have the software available in the debian repositories. Always use the package manager instead, when possible.

      Please let me disagree on this. Debian + Flatpaks is actually an awesome combo. Rock solid and super stable base, up to date user facing apps.

      Debian’s life cycle is awesome for core system stuff, it ensures that once your system runs perfectly, it’ll continue to run perfectly for several years without intervention despite always being up to date.

      But for user facing apps, it’s actually really frustrating when you know there is a bug fix or a feature you need that’s been implemented and made available months ago but you’re stuck on a 2-year-old version.

      • rufus@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 year ago

        It’s just, we get so many questions regarding Flatpak from newer users:

        • Why doesn’t App A tie into App B?
        • Why doesn’t the program tie into my desktop environment?
        • How can I install Addons?
        • Why can’t I access files somewhere

        And it’s just not easy. The Apps/Programs are sandboxed and can’t tie into each other unless specifically made for this. Addons need to be put inside of that environment or the program needs to be fitted with some kind of Appstore that incorporates this. You can’t just download an addon from github and drag and drop it like the instruction says. New users blame that on Linux. And you need to understand the additional Flatpak permission system.

        In my experience these problems have really increased in the last year or so.

        Next thing is, you lose what the distro maintainers do for you. They double check that everything works together well and is tied into your desktop. Breaking changes are postponed until the next major releas of the distro. Since you mentioned Debian, they strip tracking behaviour, and most importanly they fix security issues quickly. Once I read about a severe vulnerability in libpng it’s often already fixed or takes them like one to three days.

        Everytime I have a look at ‘flatpak list’ I have like 3 different versions of some runtime installed and it takes half a year until the last flatpak app is updated to the release without that vulnerability. And I get that. Programmers of a project mainly code, maintenance and packaging the stuff isn’t necessarily top priority on their agenda. But you as a user are exposed for months and I usually expect exploits to appear in the wild after some weeks.

        That may be less of a concern if you install OBS via flatpak or a game. But this would be bad if it’s a web-browser or a messenger.

        That’s why I usually tell people not to use Flatpak. If you know about the consequences and how to handle the sandboxing and get an addon working, go ahead. Maybe subscribe to a mailing list regarding the security vulnerabilities, because that’s now your job.

        For Debian users there are a few alternatives. You could just mix and match software from ‘stable’ and ‘testing’. That is not recommended, but everyone does it. Second thing: Just install Debian testing and you get a rolling distro. That’s what I do and it works great. Well, during the ‘freeze’ for the next version you will experience some delays until they figure out some library updates and requirements. But that’s alright.