Link to home
Start Free TrialLog in
Avatar of PhillO
PhillOFlag for Australia

asked on

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
Avatar of xDamox
xDamox
Flag of United Kingdom of Great Britain and Northern Ireland image

Hi,

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

ASKER

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
Hi,

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

/path/to/nvidia-xconfig -rotate inverted

Avatar of PhillO

ASKER

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
ASKER CERTIFIED SOLUTION
Avatar of GranMod
GranMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial