Hi…

  • I don’t know what to say in the introduction, but in brief I have some questions about Linux, which were formed after trying some distributions on DistroSea and observing Linux communities on the Internet. Can you help with the answer?
  1. I liked Gnome DE interface very much, but whenever I look at the empty workspace after closing an app , I feel that something is missing (sorry, I have been using Windows for almost 15 years). Is there an add on - or any other way - to install some apps on workspace? Or do I have to get used to it as it is ?

  2. I read that Linux is more problematic on laptops than on personal computers, is this true? If so…what are the usual problems and is there a way to avoid them?

  3. Are there any distributions that come with the minimum pre-installed apps ? … I mean not even a video or music player

  4. If I want to delete a pre-installed app (let’s say the default browser), can this be done easily or does it require root, like Android?

  5. Does rooting invalidate the system from obtaining updates?

  6. I read that switching DEs is easy… but how exactly is it done? Something in the settings, or downloading the interface independently, or customizing it to be similar to the other, or something else?

  7. Lazy question : What are wayland and docker? I see a lot of people mentioning them

  • Sorry for the many questions, and thanks in advance
  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    3
    ·
    1 month ago
    1. ElementaryOS places the app menu there

    2. Suspend resume is the main one. Power management may be another. For example USB ports could be turned off, the CPU scheduler could be changed to powersave, network speed reduced, and a lot more These are always different though and 90% fine.

    3. Fedora Atomic Desktops are great here. The goal is a minimal base OS for running Flatpak apps (or container stuff) on. They are a bit too minimal for me poorly, uBlue uses these desktops and adds more packages, most notably hardware support (like asus, nvidia, surface)

    4. Android is extremely different from traditional distros.

    It uses A/B-root with 2 immutable system partitions, where the system apps are. That storage space can only be used by the system so uninstalling stuff there doesnt do anything useful, if you dont also install system apps there. Which is not normally possible.

    On Android, a minimal system like on GrapheneOS is best. All other editions, Googles own PixelOS included, break the Android security model of sandboxing all apps, which is hillarious. Only GrapheneOS really follows it by also sandboxing the optional Google apps and services.

    On traditional Linux distros, the system is just a bunch of packages slammed onto a disk, and a package manager doesnt know how the setup should look like. It only knows that package A also requires packages B, C, X, 1, 2 and there are often package groups like kde-plasma-desktop that automatically install packages D, E, F, G for example.

    Uninstalling an app may remove dependencies, and if the app is not a dependency of others, it works without issues.

    This is only system packages. With Flatpaks, Snaps, Appimages or binaries (like the Firefox .tar.gz archive Mozilla officially offers) you can install and uninstall whatever you want.

    On “immutable” distros, that use many different variants of reducing the mess of traditional distros, this is different. On Fedora Atomic Desktops, which (maybe apart from NixOS, which is more complicated) use the best method of this composed system, you can rpm-ostree override remove a package and it is removed from the “immutable” system. But there are no immutable distros I think, all allow changes by root users.

    Root on Android is different than on Linux. You can use Linux without root, but distros are not built for that. I am working on making Fedora capable of that, even though my change for flatpaks was rejected poorly.

    On Linux by default you are a wheel/sudo user and can run commands with root privileges by just entering your user password. Thus, the barrier for programs to get root access is pretty low, and you should always try to make your system update on its own, and have a user not in the wheel (most distros) / sudo (debian) group.

    1. No, rooting on Android is very very different. On Linux you have root access and can control this with sudo configuration, polkit rules and user groups.

    You can create custom groups like “the flatpak group is allowed to install apps of this specific format, even though it might normally require root access”.

    1. Package managers have package groups, most distros have groups for an entire DE. Just install one package group and install another.

    On Fedora Atomic desktops, the system is composed into “images”, more like Android. The system is separate from the user stuff (your home directory, user configurations) and you can swap to a different image by “rebasing”.

    This is way more stable than the oldschool package manager way. For example you can rebase from silverblue (GNOME) to kinoite (KDE Plasma).

    1. Wayland is a modern and sleek protocol for apps to display stuff on the screen, read stuff from the screen, capture input (like keyboard, camera, audio) and more. It handles access of apps to what you allow it, and it fundamentally more clean and controlled than X11, which is the old display protocol.

    For example, X11 allows any app, no matter if in the foreground or not even displaying a window, to log all your keyboard inputs, all the time.

    Docker is a tool to use small “containers”, which is a set of files that build an operating system. The files are the ones you normally find as the system stuff of an OS, but in a reduced form, and without the kernel (the main hardware interface and controller). Containers run on your system kernel, but in a different “system”. If you run apps there, they run in the container and not on your system. This ensures that apps compatible with that container run on all systems, that support running the container manager (podman or docker).

    Podman is an alternative to docker that is supposedly more secure.

    Containers are used by lazy devs to not need to fiddle with all the different Linux system configuations anymore. They help to get new software more easily and faster updates. Flatpak also uses containers.

    But they are also bigger, use more RAM (it is a small extra system!) and are outside of the control of the OS. Updates also work strange, containers are images that are never updated from inside it (like a traditional distro) but as a whole by the container manager.

    This means they may be outdated or insecure. There are tools to update containers and to check for CVEs (critical vulnerabilities) in them.

    As a desktop user, you should normally not need to use containers. Their UX (user experience) kinda suck and they are not a good way to get apps.

    Distrobox is a small exception. It uses podman or docker under the hood, and allows to install containers of other Linux Distros on a different Distro. For example if an app only runs on Ubuntu, you can use it on Fedora anyways.

    On Fedora Atomic Desktops, Distrobox helps to install some apps that are not yet flatpaks. But the user experience is still worse, for example system upgrades dont work and you need to replace the container and reinstall the apps when upgrading it.

    Using a rolling distro container like Arch, OpenSUSE Tumbleweed, Debian Sid, OpenSUSE Slowroll, helps here. But apart from OpenSUSE Slowroll I wouldnt use them.

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    #3 as an example is you installed OpenSUSE, there is a summary screen to review before commiting to the install, instead of Next/OK click software text, it brings you to pattern install check boxes (for installing entire sets of packages) but you can click details and brings you to all packages. Uncheck all, and just check the packages you do want (dependencies with get auto added) . Install the minimal setup.

  • BaumGeist@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    1 month ago

    I suggest reading through multiple answers despite everyone answering all your questions, this way you get the most complete answers. As such, here’s my two cents:

    1. Yes, search for “Widgets” at Gnome’s official website to see: https://extensions.gnome.org/

    2. Depends on what you mean by “problematic”? My laptop refused to go to sleep because of a setting in the wifi card, but once I changed it I haven’t had any issues. You may also find that some of your hardware is nonstandard, and therefore requires extra steps during installation.

    3. What do you mean “minimum”? Because I installed Debian headless, and starting with nothing but a command-line and the system utilities and nothing else installed is what I heard, but maybe in your mind it just means a graphical desktop and nothing more. If you did mean that, you could try something like MATE for your desktop environment, or XFCE if you want to learn by customizing. If you’re feeling really adventurous, use SwayWM

    4. Depends on how it came installed, but generally it’s easy. Most of the time, starting out it will be as easy as running the uninstall command for whatever package management software installed it.

    5. “Rooting” a device refers to installing untrusted firmware on SoC devices. Unless your laptop is a chromebook, you probably don’t need to worry about that. Dual-booting Windows and Linux won’t stop Windows from updating, nor stop whatever application manages your firmware from working in Windows, if that’s what you’re worried about.

    6. It depends on your distro and its package manager(s). In Debian it’s as easy as sudo apt install <Desktop Environment> and then logging out, changing which DE you’re logging into, and then logging back in. Most are going to be that way

    7. Lazy answer: don’t worry about it, and don’t worry about it. If you’re the type who wants their PC to “just work,” it’s behind-the-scenes stuff that will never apply to you. If you’re prepared to get down in the weeds, occasionally break things, and customize every aspect of your OS, then you’ll learn when it’s relevant. If you’re saying “Lazy question” and not showing that you already did some research on the topics, you’re most likely in the former camp; this isn’t a value judgment, just an observation.

    But, since we’re all still nerds here regardless of what we’re nerdy about, and since learning almost never hurts, I’ll throw some vocab at you to get you started:

    Wayland is a specification of how software should display things on the screen, it’s the generic blueprints of how Display Servers and their Clients should behave; Wayland is seeking to replace the X Window System specification, and specifically the popular Xorg Server implementation.

    Docker is a containerization platform (software ecosystem). Containers are essentially a small subset of Virtual Machines (or VMs) which are Guest operating systems that run within a separated off environment from your Host operating system. On Linux, features like namespaces, cgroups, and chroots are used to achieve this effect. Containers tend to use less hardware than Hypervisor-hosted VMs, but also tend to be single-purpose systems.