rotated screen on start up

Posted on 2006-04-08
Last Modified: 2013-12-15
My fedora 4 boax has an nvidia graphic card that can be rotated uing xrandr.

Where should i insert (ie which boot script) should i put  "xrand -o inverted" so that the login screen and subsequent logins are the correct orientation

Question by:PhillO
    LVL 16

    Expert Comment


    You can add this to the rc.local file this file is located in the /etc/rc.d/rc.local

    Author Comment

    Unfortunately this did not work. Not sure why

    But this is the command that set the default screen orientation

    "nvidia-xconfig -rotate inverted"

    I might just canel the question if you don't mind

    LVL 16

    Expert Comment


    All you had to do was put in the rc.local

    /path/to/nvidia-xconfig -rotate inverted


    Author Comment

    Hi xDamon
    According to the information i found...
    nvidia-xconfig -rotate inverted is used once. It creates a line in xorg.config...

    "Option         "Rotate" "inverted""

    It may do other things. Of that i am not sure, I haven't looked further

    Prior to my first posting i spent hours trying to find a solution. Many web pages instructed a similar line entry to be inserted in the "device" section of xorg.config with the option answer being "CW", "CCW "or "UD". There was another orientation alternative but none of them worked for me. Similarly it was an additional line to the device section. None of which worked

    the nvidia-xconfig script puts the above line into the "screen" section of the xorg.config file. Go figure!!

    the "xrand -o inverted" (see original post) works once you get into a users space so i thought that if the command could be triggered before the login came up and have the correct orientation. but unfortunately it didn't.

    I found this solution after your response was posted so i couldn't just delete the question. As a matter of couse, I usually keep looking for solutions even if i make a posting here

    Hope this explains more


    Accepted Solution

    Closed, 500 points refunded.
    The Experts Exchange
    Community Support Moderator of all Ages

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
    Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

    729 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now