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
They put touchscreens on doorstops now? /s
Java truly runs on everything.
Embrace the power of the pyramid.
Ackchuwally, that’s a prism 🙃
ackshuaelly, it says ‘pyramid’ right there
I’ve noticed… But it lies
Unleash the power of the pyramid!
Linux is the only major operating system
to support diagonal modeWho hurt you
Ha~! WebDevs haven’t cared about desktop for years.
Product owners, you mean. They are the ones that determine support level of browser and as a result, what testers focus on. Devs don’t focus on things that aren’t a priority because otherwise they’re working on that on the evenings and weekends free of charge.
How many minor operating systems support it? 🤔
There’s ReactOS and BSD off the top of my head.
Haiku counts
I’m assuming most that can run Xorg.
Correct
Original Article
Basically, it’s just some cool X11 magic that uses a matrix transformation to rotate the screen.
Not on wayland, right? Time to pester wayland devs to add this important missing features!
Probably would fall into scope of a compositer in Wayland, rather than the protocol. I suspect it originated with old CRT displays. Sometimes they can appear scan diagonally.
Even without that usecase, I think it’s great to have around in order to support novel displays and display-like devices.
I remember seeing the video of this. The guy was doing it for shits and giggles, but it ended up looking great!
Can you link it?
No idea what it was, sorry. One of the youtube recommendations at the time.
a great prank for computer labs… just rotate everything by 0.5 degrees…
Yeah, keep adding 0.5 deg every minute or so.
Add a randomizer that has a chance of resetting it back to normal every now and then for maximum chaos
How can you do fractional rotation? Does it only work with x11 or is it also supported in wayland?
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
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.
in wayland the compositor is king they can do mhatever they want with the screen
https://m.youtube.com/watch?v=ZBLLC5fOy98&list=PLb7YRKEhWEBUIoT-a29UoJW9mhfzjpNle&index=2&pp=iAQB
Time to ask the wayfire devs to implement fractional screen rotation.
I was looking into this earlier to try fixing a display that was being offset on an old tv screen. The display was going off the left side of the TV, causing a black bar on the right side.
I was trying
xrandr
, and fixed it somewhat by offsetting the display back, but somehow it did not fix the right side - it seemed as if the display had went under the black bar.But yeah you can offset, stretch, skew and rotate with
xrandr
The
--rotate normal,inverted,left,right
does not work, but you can use the transform option to achieve the same effect. To create the transformation matrix you can use something like: https://angrytools.com/css-generator/transform/- for translateXY enter half the screen resolution
- don’t copy the generated code, it has the numbers in the wrong order just type out the matrix row wise.
The final command looks like this:
xrandr --output screen-1 --transform 0.87,-0.50,960,0.50,0.87,540,0,0,1
To restore the original use (type this in first, because if you screw up you might not be able to see anything anymore):
xrandr --output screen-1 --transform 1,0,0,0,1,0,0,0,1
I tested it on x11.
I hate this.
I won’t try implement something like this even my boss forces me.
No one died this kind of stuff because someone asked then to do it. This is the kind of useless insane stuff you do for the lulz, or because someone dared you.
i guess ill have to get linux then, i NEED diagonal mode
Ah yes why I like Linux but hate supporting it
Next is star shape.