news.volyx.in

Ideal monitor rotation for programmers (2021) (sprocketfox.io)

511 points by AndrewKemendo · 966 days ago · 328 comments on HN

Article summary

The article discusses the ideal monitor rotation for programmers, experimenting with different angles to find the most optimal display. The author uses a tool called xrandr to rotate the screen and finds that a 22° rotation provides the longest line lengths and eliminates the need for line breaks. This rotation is based on the aspect ratio of the screen and is calculated using a transformation matrix. The article provides examples of how to use xrandr to achieve this rotation.

Main themes

  • monitor rotation
  • display features
  • programming productivity
  • subpixel layout
  • high-resolution displays
  • refresh rates

What commenters say

  • Some commenters find that a 45° rotation makes sense for programming, eliminating the need for line breaks.
  • Others prefer a traditional portrait or landscape mode, with one commenter suggesting that a 90° rotation is best for their needs.
  • The use of high-resolution displays, such as 4K or 8K, can affect the perceived need for subpixel anti-aliasing and other display features.
  • Some commenters prioritize features like 120Hz or 144Hz refresh rates for smooth scrolling, while others see no need for such high refresh rates for static text.
  • The choice of display panel, such as OLED or VA, can also impact the viewing experience, with some commenters preferring one over the other.
  • There is disagreement over the importance of subpixel layout, with some commenters prioritizing RGB layout for font rendering and others seeing it as less important.
  • Some commenters suggest that a triangular or semi-circular screen shape could be more optimal than a traditional rectangular screen.
  • The need for a Wayland protocol to support custom screen rotations is also mentioned.