1475
Good luck web devs (lemmy.world)
submitted 8 months ago* (last edited 8 months ago) by Zangoose@lemmy.world to c/programmer_humor@programming.dev

Alt text:Twitter post by Daniel Feldman (@d_feldman): Linux is the only major operating system to support diagonal mode (credit [Twitter] @xssfox). Image shows an untrawide monitor rotated about 45 degrees, with a horizontal IDE window taking up a bottom triangle. A web browser and settings menu above it are organized creating a window shape almost like a stepped pyramid.

Edit: alt text

you are viewing a single comment's thread
view the rest of the comments
[-] lynx@sh.itjust.works 24 points 8 months ago

How can you do fractional rotation? Does it only work with x11 or is it also supported in wayland?

[-] Chewy7324@discuss.tchncs.de 31 points 8 months ago

Rotating the display by a custom angle is possible through xrandr on X.org.

There's no Wayland protocol for custom angle rotation, and I don't expect anyone to create a protocol extension without a use-case.

My wild guess: Theoretically it should be possible for a compositor to support similar custom rotation, as applications simply draw to their surface (window), without knowing how and where it is displayed on the viewport (display).

But it might require quite a bit of work, depending on the project, so I don't expect to ever see custom rotation on anything besides smaller/niche compositors.

[1] https://unix.stackexchange.com/questions/552138/rotate-a-display-by-custom-angle#552140

[-] nintendiator@feddit.cl 17 points 8 months ago

There’s no Wayland protocol for custom angle rotation, and I don’t expect anyone to create a protocol extension without a use-case.

Puh-lease. It's Wayland; the devs fully and honestly expect every app developer (eg.: calc, Libreoffice, notepad.exe) to implement custom angle rotation on their own.

load more comments (3 replies)
load more comments (9 replies)
this post was submitted on 28 Dec 2023
1475 points (99.3% liked)

Programmer Humor

19138 readers
489 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS