Email or username:

Password:

Forgot your password?
Ian Douglas Scott

The #COSMIC desktop environment, powered by the gay agenda.

The panel/dock run applets as separate processes that create a #Wayland window for the panel to display. So with a native Linux game like Celeste, that works with `SDL_VIDEODRIVER=wayland`, it's possible to run in a panel applet.

It "works" if you can play with a lot of the window cut off. I wonder if Gamescope could be used to do funny tricks with scaling (why not add a third Wayland compositor to the stack).

A Linux desktop with a panel at the top and a dock on the left. The game Celeste is running in the dock, cropped to a narrow width, with the character jumping.
8 comments
Hugo 雨果

@ids1024 So the status bar is a sub-compositor? I had been thinking of this idea for a status bar that allows all sorts of widgets. It just sounded like such a crazy amount of work!

Ian Douglas Scott

@whynothugo Yeah. Cosmic-panel, like cosmic-comp, uses the Smithay library to implement a compositor. It would be nice if Smithay or a library on top of it made it easy to write a nested compositor for uses like this, but currently it's a bit complicated.

Qt also includes a compositor: doc.qt.io/qt-6/qtwaylandcompos. A nested Wayland compositor seems to be the modern alternative to XEmbed/etc., but there could be more libraries to make it easy.

Hugo 雨果

@ids1024 Pleased to know that my idea wasn't that terribly crazy and that there's actually prior art. Wlroots supports nested compositors too, but fractional scale doesn't seem to work well for that case.

Aral Balkan

@ids1024 Neat. Does the screen reader work yet?

Ian Douglas Scott

@aral Proper support for screen readers on Wayland will require some kind of agreement in the ecosystem on how to handle screen reader shortcuts.

Though in the mean time it looks like it wouldn't be too hard to patch at-spi2-core with a backend to support a cosmic-comp specific mechanism for that. I've been looking into this recently. Then that's something that could be proposed upstream at least as a demonstration of what's required here.

Ian Douglas Scott

@aral Client-side, we've done some work on integrating accesskit into Iced, but that still needs to be finished.

Aral Balkan

@ids1024 That sounds very positive, best of luck with it. I do hope it won’t be launched without a working screen reader.

Go Up