this post was submitted on 07 Jul 2023
293 points (96.8% liked)

Linux

48039 readers
796 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

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Huge shootout to the Distrobox devs, you saved my day :)

I brew beer as a hobby. I've been using Joliebulle 3 for close to 10 years because it's FOSS and super simple to use, and I'm too lazy to switch to another brewing app. It's been unmaintained for almost 5 years, but it wonderfully does exactly what I want from a brewing software. I was missing this crucial "piece of equipment" since I migrated to Fedora.

Brew day is tomorrow. I forgot to look into it until it was almost too late.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 1 year ago (1 children)

Can you run Wayland GUI apps in distrobox?

[–] [email protected] 3 points 1 year ago (1 children)

Yes. I run VS Code in an Ubuntu distrobox, with the electron wayland flags. Works real nice. KDE Wayland btw.

[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (2 children)

VSCode is an electron application, right? Electron apps use xwindow (or xwayland) unless you launched them with certain flags. I'm interested to know if native Wayland app actually works. Or is it possible that distrobox is actually use xwindow and pass everything to the host's xwayland process? Can't seem to find anything about it in the docs.

[–] [email protected] 5 points 1 year ago (1 children)

Yes, VSCode is an electron app, and I use flags to launch it with Wayland. I export VSCode to the host system with the flags attached, so that VSCode automatically launches in Wayland. The command I used: distrobox-export --app code --extra-flags "--enable-features=WaylandWindowDecorations --ozone-platform-hint=auto"

[–] [email protected] 3 points 1 year ago

Interesting. I'll have to try this when I got the time. Thanks!

[–] [email protected] 2 points 1 year ago

I'm pretty sure it's wayland because on KDE wayland, with 200% scaling, when the cursor is over an xwayland window, it looks blurry. This doesn't happen on wayland windows. Also for some reason electron and chromium based apps run at 60 fps on wayland, while xwayland apps run at 144 fps as it should, and my VS Code in the Distrobox with the wayland flags also runs at 60 fps. Weird KDE stuff.