Email or username:

Password:

Forgot your password?
nixCraft 🐧

Ideal monitor rotation for #Linux programmers using xrandr command

xrandr --output HDMI-1 --transform 0.70711,-0.70711,0,0.70711,0.70711,0,0,0,1

Read more sprocketfox.io/xssfox/2021/12/

26 comments
fegular

@nixCraft read about it yesterday. Just wondering if it would be useful at all if it's not a widescreen deisplay?

Liam Smith

@fegular @nixCraft I am not sure it would be useful even with a widescreen display

Bonkers

@fegular @nixCraft if you spin it fast, it will appear round

GrumpSec Spottycat

@fegular @nixCraft what's funny is that post is from 2021 and the photo of the monitor with the tweet of the photo of the beer is mine (the beer photo is one I took at my Local )

StarkRG

@nixCraft Ok, now someone needs to add an accelerometer or gyroscope and automatically change the rotation amount in real time.

mxk

@StarkRG @nixCraft a lot of old laptops had an accelerometer in the hard drive.
I actually used this on my convertible Thinkpad x61t to rotate the screen, until I updated to a SSD...

sur5r

@mxk @StarkRG @nixCraft I'm pretty sure HDAPS is not part of the hard disk. I have an SSD in my x61t as well, but HDAPS is still there.

mxk

@sur5r @StarkRG @nixCraft interesting πŸ€”
I really thought that it did disappear with the change to the SSD and old harddrive was listed to have an integrated free fall sensor, while various sites confirm your observation, that Thinkpads had a gyroscope on the Mainboard.

rag. Gustavino Bevilacqua

@StarkRG @nixCraft

On a rolling boat would be perfect to keep the horizon always straight.

StarkRG

@GustavinoBevilacqua You'd need more than just an accelerometer for that the up and down motion would get in the way. A gyroscope would do, but they tend to drift, so combining it with an accelerometer for periodic recalibration is pretty standard. Art that point you're basically constructing an artificial horizon out of GUI windows. I wonder if it would help with sea sickness or just make it worse.

Arthur

@StarkRG @nixCraft time to mess around with an Arduino Uno and a gyroscope for a while

Simon W. Hall

@nixCraft Now try it with a tiling window manager :p

Jacco van Schaik

@motionthings @nixCraft I read that as "tilting window manager" and it made perfect sense πŸ˜†

Rue Mohr

@nixCraft when I said "a line of code can be as wide as a screen given a normal font" I didn't mean......

Hazmeister

@nixCraft I have a hard enough time trying to keep my monitor exactly horizontal, without trying to find 22 degrees!

Jinx

@nixCraft I discovered adb enabled on someone's Fire Stick. I'm so tempted to abuse this knowledge on a cheap prank. Imagine adding a degree of rotation every 2 minutes...

"Hello Amazon! I've just turned my TV on there's been a problem with my Fire Stick for the past 6 hours."

"If you just turned your TV on, how do you know there's been a problem for 6 hours?"

Metafrastis

@nixCraft Thatβ€˜s ridiculous for the same reason a round Smartwatch is ridiculous. Thereβ€˜s a reason why almost 600 years after Gutenberg books are still rectangles. As nerd I can appreciate the effort, as a productive computer user I donβ€˜t see the point.

Dreit

@nixCraft Now do 45Β° rotation on that EIZO 1920x1920 screen!

Oh wait, it doesn't have pivot :/

Daniel Vehof

@nixCraft This ist the missing piece to finally make 2024 the year of the Linux desktop πŸ˜‰

THT

@nixCraft Now make it spin with a motor and a script that automatically adjusts it based on angle

Go Up