Slashdot Mirror


Portrait Display Drivers For X11?

helloRockview asks: "I have a MAG LT541C TFT, which I often use as a display for my Linux machines. Its best feature is that is has the ability to swivel into portrait mode, which works great when it's hooked up to a Windows box with 'Pivot' software installed. I'm wondering if there are any such utilities for X that will switch screen orientation from landscape to portrait on the fly." We did this question over a year ago and there didn't seem to be an answer, might there be one (or more) now?

3 of 7 comments (clear)

  1. Define a key to change the resolution by by+by · · Score: 3

    If I understand your question, switching between portrait and landscape mode should be easy.

    I would use XF86Config to define two resolutions: one for landscape, one for portrait. The dimensions you use should be porportionally opposite from each other

    Edit your /usr/X11R6/etc/keys.conf file to contain a line to define F12 to change the resolution. I'm not sure how you could go about this as I don't use X, but it should be easy.

    Alternatively, use Meta-Control-plus and Meta-Control-minus to change the resolution on the fly. In your XF86Config file, define only two resolutions, and M-C-+ or M-C-- will swap you between the two. Hope this helps.

    1. Re:Define a key to change the resolution by exitzero · · Score: 2

      How do these monitors work? You rotate it through 90 degrees to switch between portrait and landscape I presume.

      Is the image rasterized in lines left to right decending down the screen in both modes of operation? Or does it expect you graphics hardware to do the rotation for you so it can refresh the screen in lines bottom to top crossing the screen left to right once rotated.

      If the latter is the case. X would need to do this transformation for you, and setting multiple resolutions alone would not be sufficient.

      --
      Keep your programs tidy.

      Exitzero.

  2. maybe less cool, by The+Madpostal+Worker · · Score: 2
    but under x 4.0.1 my video card has a setting called Rotate. Heres part of the man page:
    Option "Rotate" "CCW"
    Rotate the display clockwise or counterclockwise. This mode is unaccelerated. Default: no rotation.


    /*
    *Not a Sermon, Just a Thought
    */
    --

    /*
    *Not a Sermon, Just a Thought
    */