Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news


Author Topic: Question on XRandR  (Read 2185 times)

0 Members and 1 Guest are viewing this topic.


  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1031
  • Last login:May 14, 2020, 02:25:56 pm
  • Building a 'Classic' MAME Cab
Question on XRandR
« on: January 18, 2010, 05:36:39 pm »
Just wondering, but with XRandR - can I use it to completely flip my display and that would carry over to all programs run in whatever distro I'm using?

Specifically, will having an SDL app cause an issue with flipping via XRandR? (i.e. will it just ignore it and display unflipped?)

Even more specifically - can I flip Linux using XRandR, then run WinXP in a virtual machine fullscreen? :)
« Last Edit: January 18, 2010, 05:41:38 pm by Necro »


  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 284
  • Last login:June 10, 2014, 07:58:21 pm
  • "They must've spent tens of dollars on this."
    • My b(uild)log
Re: Question on XRandR
« Reply #1 on: January 22, 2010, 12:44:34 am »
Let me see if I understand what you're getting at...

If you mean you want to rotate/flip your desktop in Linux, and start any other program (VirtualBox, SDLMame) using those settings, then the answer is 'Yes.'

If MAME is set to not flip your screen, it will use whatever settings you currently have (i.e., whether your monitor is vertical or not, MAME will still rotate or not rotate based on its own settings).  Any applications that run on X will basically see that you have a monitor with X x Y resolution, and don't care what the default orientation of your monitor is.  XRandR is operating at a lower level than your applications, so they'll see whatever settings it is using.

That help?
« Last Edit: January 22, 2010, 12:48:53 am by saurian333 »