Jump to content

Diagonal placement of information on the screen


Recommended Posts

On systems with an X server, using the xrandr utility, you can organize the placement of information on a monitor screen mounted not only horizontally or vertically, but also at an arbitrary angle.

▪️ For example, you can rotate the monitor 45 degrees:

xrandr --output HDMI-3 --transform 0.707106781186548,-0.707106781186548,0,0.707106781186548,0.707106781186548,0,0,0,1

▪️ or 22 degrees:

xrandr --output HDMI-3 --transform 0.927183854566787,-0.374606593415912,0,0.374606593415912,0.927183854566787,0,0,0,1

The values specified in the "--transform" parameter are calculated using the formula
"cos(x),-sin(x),shift_left,sin(x),cos(x),shift_up,0,0,1", where "x" is the required rotation angle.

image.png

image.png

Link to comment
Share on other sites

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
  • Create New...

Important Information

By using this site you automatically agree to the Privacy Policy | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.