• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 222
  • Last Modified:

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
0
PhillO
Asked:
PhillO
  • 2
  • 2
1 Solution
 
xDamoxCommented:
Hi,

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

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

/path/to/nvidia-xconfig -rotate inverted

0
 
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
0
 
GranModCommented:
Closed, 500 points refunded.
GranMod
The Experts Exchange
Community Support Moderator of all Ages
0

Featured Post

Free recovery tool for Microsoft Active Directory

Veeam Explorer for Microsoft Active Directory provides fast and reliable object-level recovery for Active Directory from a single-pass, agentless backup or storage snapshot — without the need to restore an entire virtual machine or use third-party tools.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now