Install Gentoo

  • 0 Posts
  • 26 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle







  • In current versions of Firefox you hover your mouse over a non-active tab […] to see (after a small delay) a tooltip containing the web page title.

    Uh… what is the point of that? If I am looking for a specific tab then:

    • I probably want to switch to the tab that I am looking for, so staying on the current one is not required
    • if there are a few tabs from different pages from the same domain the difference might be hard to see on a thumbnail (similar page headings with logos)
    • and most importantly: opening the tab is faster than waiting for the delay anyway

    This sounds like a “cool” feature that’s looking for an actual problem to solve.




  • X11 and Wayland are just protocols. These protocols are used to abstract the window drawing from the actual hardware and runtime environment as much as reasonably possible - because nobody wants to maintain 3215 versions of their app for different runtime environments. So in order to be shown on the screen an app needs to implement either the X11 or the Wayland protocol (or both!).

    The piece of software that is on the other side depends on whether the app is using X11 or Wayland. For the sake of simplicity let’s assume that the app does only support one of those. If the app supports Wayland then it will try to connect to a Wayland compositor. The compositor implements every part of the protocol and makes sure that the window is rendered on the screen and that user input is forwarded to the app. If the app supports X11 then it will try to connect to a X server and take the role of an X client. This is (on Linux, essentially) always X.org*. X.org also implements every part of the protocol and makes sure that the window is rendered on the screen and that user input is forwarded to the app.

    * Unless you’re running a Wayland compositor, then it will connect to XWayland which passes through the window to your compositor.

    Wayland compositors have full control over the apps while the abilities of apps are purposefully restricted.
    A window manager is just another regular, boring, old X client connecting to the X server. It doesn’t actually abstract anything. It can move windows because the X11 protocol allows it to, but any other X client could just as well move all other windows around, read all user input to all other windows and even move the mouse around as it pleases.

    So, to be specific, there is no mouse pointer bug in Virtualbox while using Wayland. There is a mouse pointer bug affecting specific Wayland compositors, likely because they enforce GPU hardware acceleration that is lacking in either your VM or the Linux kernel because of missing drivers. Try using a different compositor, (re)installing Virtualbox Guest Additions with the correct version on the guest system and/or check whether hardware acceleration is enabled for the VM and has enough video memory.





  • I’ll answer what I can in good conscience.

    Is that a good idea?

    If you keep in mind that it won’t 100 % behave like a “proper” installation when things go weird it’s fine.

    Do different distributions work better or worse on VMs?

    VirtualBox comes with some pre-made profile for some distributions but I’ve never been able to tell what those actually do, other than by default selecting virtual hardware that is supported.

    Are there any major differences when using linux in a VM compared to a bare metal installation?

    VM “hardware” is well supported, but anything requiring proper hardware acceleration (of any kind) will either perform terribly or fall back to a software-based backend. I.e. desktop compositing or hardware video decoding may or may not work as well as a native installation. Video games likely won’t work in a usable way at all, unless it’s Solitaire. Also the hard disks are decoupled from the VM to the host system and you need to manually forward USB devices to the VM or the system might not be able to detect them.

    Is there any [dis]advantage to “Linux VM on Windows” VS “Windows VM on Linux”?

    That entirely depends on what you want to use both systems for. If you already have Windows installed then I’d like to suggest the following path:

    • run some live USB to figure out whether your hardware is supported (graphics, sound, network, printers - especially the latter two)
    • if so, install Linux in a VM first (install multiple desktops and try them out, because why not)
    • figure out what programs are available that do the things that you usually do on Windows - keep in mind that just because $PROGRAM is written by GNOME/KDE/LXQT/… people that doesn’t mean that it won’t run perfectly fine on other desktops. Also: distributions may not ship all software, don’t forget to check Flatpak/Flathub if your distribution is missing some software.
    • try them out in the VM to see if they meet your basic requirements
    • install the Windows version of those programs on Windows
    • over time, replace the Windows programs that you used to use for the ones that are also available on Linux
    • if after a few months there are no non-Linux programs left: Congrats, back up your data and just use Linux
    • otherwise: figure out whether the programs that you need will run well enough with Wine or in a Windows-VM

    If it turns out that there’s just too much Windows-only software that you can’t part with then you can just delete the VM and that’s it. On the flip side you can find software that may just happen to be better than what you used previously. Also trying out various distributions is much, much easier this way - installing the tenth distribution on bare metal because you weren’t happy with the previous nine isn’t particularly fun.






  • I use a Rode NT1 with a Focusrite Scarlett 4i4 3rd (!) gen. It’s not quite “just works”, you need to set up parameters for the USB sound kernel module to get the Scarlett working. Otherwise it “just works”.
    Be careful with Focusrite products in general and read the Linux kernel project’s instructions very carefully on supported products, in case you’re interested in such a device (e.g. it’s common that 3rd gen works, 2nd or earlier doesn’t).