rotated screen on start up

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

Phill
PhillOAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xDamoxCommented:
Hi,

You can add this to the rc.local file this file is located in the /etc/rc.d/rc.local
PhillOAuthor Commented:
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


Phill
xDamoxCommented:
Hi,

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

/path/to/nvidia-xconfig -rotate inverted

PhillOAuthor Commented:
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

Phill
GranModCommented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.