mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.8K
active users

#wayland

13 posts9 participants4 posts today

zamundaaa.github.io/colormanag by @Zamundaaa is a really nice post about #HDR luminance on #wayland. The corollary is that we have a protocol where the distinction between SDR and HDR content does not exist. It all makes perfect sense to me theoretically, but I am greatly interested in seeing how it will fare in practice with end users.

Xaver’s blog · On brightness, and calibrating your displaysMany people are, understandably, confused about brightness levels in content creation and consumption - both for SDR and for HDR content. Even people that do content creation as their job sometimes get it really wrong.

The reason I am looking into #automation with #gnome / #ubuntu is because I'm building a prototype control panel to further streamline my multi-monitor/multi-workspace workflow.

If it looks blunt, that's because I'm not an artist, design will come later.

Right now I can switch workspaces, activate windows and control media playback.

Works better on #x11 than #wayland though. It's one of the few places where I I am thinking: "This would have been a lot easier in Windows".

I'm looking into some #automation on #ubuntu #gnome desktop. I figured I'd be able to do everything using #dbus.
It works great for media control but not so much for virtual desktop / window management. I can use #wmctrl to nativate between virtual desktops but window management doesn't work on #wayland. Then there is #ydotool which also doesn't seem to work well.

Now I can
- Control media via dbus
- Switch workspaces via wmctrl

But I feel there has to be a better way?

Replied in thread

@thomasadam @peppe Thanks for that! I totally forgot about the decorations topic, which is of course very relevant, it means even jumping through the hoop and implementing a #wayland compositor, you can only deliver part of the functionality (and almost none of the looks) of your window manager.

But even with that issue solved, I would really dislike wayland's design. Although I *do* think that most of #X11 core drawing is obsolete and useless (mostly for the missing alpha channel), I think a display server should offer drawing facilities. Replace X with something dropping lots of cruft (indexed palettes, COMPOUND_TEXT, etc), instead incorporate extensions that everyone needs these days, extend #XRender (now as part of core) to offer more drawing primitives, etc ... you could have a replacement for X11 that's worth dealing with. And window managers could still be separate clients.

Replied in thread

@peppe To be clear about that, I don't question the fact that #X11 is full of old cruft that's mostly useless nowadays. It became more than clear to me while implementing my #xmoji tool, which uses almost exclusively #XRender requests for rendering (an *extension* to X11, not part of the core protocol), because X core drawing requests are really designed for 1990es hardware, supporting color palettes with limited entries, but no alpha channel whatsoever. Similar goes for font support in the X11 core protocol, it's useless supporting only bitmap fonts with no antialiasing etc, so I use client-side rasterizing (with freetype) and XRender only for compositing the result. There are more silly examples, like the "Compound Text" encoding monstrosity, because the core design predates Unicode, and so on....

In a nutshell, a major rework of what the X core protocol supports would be necessary.

But then, you can *still* dislike a suggested solution. I think #wayland is taking the "simplicity" much too far, so now both compositors and clients (rendering windows) have to do the same stuff over and over again. It's a pointless exercise trying to create a wayland client without huge libraries (such as e.g. cairo for client-side rendering, better yet use a full-blown toolkit like Qt or GTK that already makes use of cairo), while this is perfectly possible for X.

Replied in thread

@peppe Well, #dwm is a window manager. Then there's #dwl, which is a #wayland #compositor, trying to do "functionally the same" as dwm. My point is, it has to implement a lot more stuff to do so.

My favorite window manager is #fvwm (or now #fvwm3), and as far as I know, its main developer was looking into wayland and currently doesn't have any concrete plans to work on that ... and I can perfectly understand. 😔

I've been attempting to rewrite some C code for a Wayland client in Zig using only the client API (via zig-wayland's scanner) and for some reason I can't grab the seat name when I set the listener, very frustrating

It's got to be the way Zig handles struct memory, I just don't know how... I doubt I actually need an extern struct but I bet if I can throw pointers around like it's C I'll figure out the rest later 😂
#C #Zig #Wayland

Still playing with #Labwc and trying to hate it but failing miserably. I'm a tiling WM girl at heart but I'm actually liking the way Labwc works. There's no IPC for external control, You just use keybinds, rules and maybe some scripting magic with the likes of wlrctl or wob. I'm still running #RiverWM as my daily though and just testing Labwc to see what's on the otherside but hey. ;)
#Wayland #OpenBox
Continued thread

The first time #Ubuntu really rubbed me the wrong way wasn't #snap, but #mir.

Back back in the days, when Jesus rode dinosaurs into Jerusalem, there was still a dispute about which new standard was going to be adopted.

#Wayland was in planning stage then and Canonical was fighting against it for no other reason than "not invented here".

There I was, with an union tired around my belt, seeing that the license was #GPL - with an agreement that #Canonical could "relicense" your code... wat?!

I did a hacking!

Today I was in the mood to add a virtual output to #niri

As a proof of concept I am just using a Jitsi meeting where I share the screen and joined with my phone. Works surprisingly well!

#Niri, #Wayland and #Rust are just awesome.

@YaLTeR should I make this into a real feature?

(Sorry for the shaky video. Hope you all don’t get seasick.)