Getting Portrait Mode prior to X11 startup and in SLIM

Hi all,
I've been on Arch for about a week now and am having a fun time coding on it. I finally got an LCD stand that allows me to swivel my screen to portrait orientation so I suddenly have some great vertical real estate.
My current setup is Arch Linux -> SLIM -> XFCE4 with X11 configured to run on Intel drivers rather than the standard VESA one. XFCE allows me to rotate my desktop from a simple GUI application. After doing some research, it seems that this is being accomplished by using xrandr - a utility that ships with X.org, which means this rotation is only happening with the benefit of being in an X environment.
Before X boots up, the Linux terminal is outputting everything to the screen in regular landscape mode. I want to be able to work in portrait mode outside of an X environment (e.g. virtual terminals). I did some Googling and came across this:
http://www.mjmwired.net/kernel/Document … /fbcon.txt
It seems that fbcon (frame buffer console) can run a console with the benefit of VGA-driven frame buffer -- which would include screen rotation. Is this something that can be easily configured (e.g. pop open VIM, add a few lines and reboot) or is it far more complex than I think (e.g. rebuilding the Kernel).
I also noticed SLIM starts up in landscape mode as well. I believe SLIM runs in X environment (correct me if I'm mistaken). It doesn't seem to be an option in SLIM to rotate, so I imagine I could have X start already rotated, in effect causing everything (SLIM, XFCE) to inherit the rotation property. I tried configuring things by creating a "10-monitor.conf" file in /etc/X11/xorg.conf.d/ according to this page:
https://wiki.archlinux.org/index.php/Xo … r_settings
...with the addition of these changes:
Section "Screen"
+Option "RandRRotation" "on"
+Option "Rotate" "CCW"
EndSection
Section "Device"
Option "DRI" "false"
Option "RandRRotation"
Option "Rotate" "CCW"
EndSection
(ref: http://forums.linuxmint.com/viewtopic.php?f=49&t=26747)
This did not do the trick for me and I'm still logging in by craning my neck... (just kidding; I swivel it back around).
I'm somewhat new to Linux so if I miss any details please let me know.
Any help is greatly appreciated.
Thanks
P.S. -- Extra info for my X configuration (to get SLIM rotated):
/etc/X11/xorg.conf.d/10-monitor.conf file:
Section "Monitor"
Identifier "Monitor"
EndSection
Section "Device"
Identifier "Device"
Driver "intel"
Option "DRI" "false"
Option "RandRRotation" "on"
Option "Rotate" "CCW"
EndSection
Section "Screen"
Identifier "Screen"
Device "Device"
Monitor "Monitor"
DefaultDepth 16
Option "RandRRotation" "on"
Option "Rotate" "CCW"
EndSection
Full output of Xorg.0.log in Codepad: http://codepad.org/6aM0gTvM
Last edited by yodafingers (2011-01-13 00:17:15)

UPDATE: Only solved one of my problems so far (getting virtual terminals to be in portrait mode) by modifying my grub bootlist:
/boot/grub/menu.lst:
title Arch Linux (portrait)
root (hd0,0)
kernel /vmlinuz26 root=/dev/disk/by-uuid/991f0c73-38a8-444e-b1a4-41105c7d609c ro fbcon=rotate:3,scrollback=2048k
initrd /kernel26.img
I made a mistake in the previous post: uvesafb allows you to run the console in full resolution, fbcon rotation seems to be a separate matter.
Still no luck yet getting SLIM into portrait mode. I tried various things, but it seems that the X Option for "Rotate" is unsupported by the Intel video driver. I chopped out the Device/Monitor/Screen sections from the xorg.conf that is created when you run "Xorg -configure" and tossed that into /etc/X11/xorg.conf.d/10-monitor.conf to no avail...
/etc/X11/xorg.conf.d/10-monitor.conf:
Section "Device"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz",
### <percent>: "<f>%"
### [arg]: arg optional
#Option "AccelMethod" # [<str>]
#Option "DRI" # [<bool>]
#Option "ColorKey" # <i>
#Option "VideoKey" # <i>
#Option "FallbackDebug" # [<bool>]
#Option "Tiling" # [<bool>]
#Option "Shadow" # [<bool>]
#Option "SwapbuffersWait" # [<bool>]
#Option "XvMC" # [<bool>]
#Option "XvPreferOverlay" # [<bool>]
#Option "DebugFlushBatches" # [<bool>]
#Option "DebugFlushCaches" # [<bool>]
#Option "DebugWait" # [<bool>]
Identifier "Card0"
Driver "intel"
BusID "PCI:0:2:0"
# Tack on some rotation options
Option "RandRRotation" "on"
Option "Rotate" "CCW"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection
Xorg.0.log full version: http://codepad.org/mrsVi4QW
Xorg.0.log excerpt:
[ 14.511] (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message.
[ 14.511] (==) intel(0): DPMS enabled
[ 14.511] (==) intel(0): Intel XvMC decoder disabled
[ 14.511] (II) intel(0): Set up textured video
[ 14.511] (II) intel(0): Set up overlay video
[ 14.512] (II) intel(0): direct rendering: DRI2 Enabled
[ 14.512] (WW) intel(0): Option "RandRRotation" is not used
[ 14.512] (WW) intel(0): Option "Rotate" is not used
[ 14.512] (--) RandR disabled
[ 14.512] (II) Initializing built-in extension RANDR
As you can see, the Intel chipset doesn't like those options so it seems I cannot set them statically using xorg.conf files.
However, dynamically applying the rotation using xrandr seems to work. For example, I can open up a terminal right now and type `xrandr -o [orientation]` and rotate my screen on the fly. I tried this approach too, seeing if I could sneak in a call to xrandr before SLIM starts up. I was not able to get anywhere with this... I tried calling xrandr in:
/root/.xinitrc   (I believe this runs when X logs into root)
/etc/X11/Xsession.d/ (scripts in this directory are supposed to be executed upon X startup)
None of this did the trick, SLIM still starts up in normal orientation. Has anyone here successfully rotated SLIM, or any login manager for that matter? I'm considering switching over to GDM to see if I have better luck (I believe GDM provides some form of pre-start configuration scripting), but would like to avoid moving to GDM if I can do this with SLIM.
Any help with this would be hugely appreciated. Thanks
Last edited by yodafingers (2011-01-13 05:53:09)

Similar Messages

  • Won't start up, gets to the avi exporter on startup and crashes

    Everything was working fine, then I went and downloaded a shareware video converter to convert mov files to
    avi, now elements 8 won't start up.  It goes through the startup process, and when it gets to starting loading exporter AVI.prm it crashes everytime.  I've reloaded the program 2, and I've ran a windows upgrade (reload) once, and removed the converter program.  Any suggestions?

    The first thing that I would look into would be to create a System Restore Point for today, and then shut-down the computer. Now, boot into Safe-Mode and chose to go to a System Restore Point, from before you installed the converter, back when things ran properly and test.
    Good luck,
    Hunt

  • How do I get back a prior version of Ff and get you to stop installing updates?

    I too am losing add-ons even though all of my settings reflect that they should be showing on the site. If I still have the install for Firefox 28 can I uninstall the current version and install version 28? Also do you have a contact email, or is there a way to permanently turn off the updates? Seems that even when I don't have automatic update selected Firefox updates. All of my programs are set to manually update but Ff ignores this setting.

    I think this is the trend, where you can't avoid updates. It's for your safety.

  • N8 HDMI only works in portrait mode, gets disconne...

    Hi. Like the title states, my Nokia N8 HDMI works as expected in portrait mode but when I turn the phone sideways (like when I want to play Angry Birds) it immediately gets disconnected. Even the small "HDMI" logo in the top right corner disappears.
    I initially thought it was because the connector was loose so I tried holding it firmly while turning the phone. Same results. Then I tried detach/reattach the cable in landscape mode - no response from the phone at all.
    If I switch back to portrait mode the HDMI connection consistently and automatically gets restored without having to detach/reattach the cable.
    Is this just a simple setting I need to change in the phone system, or is it a hardware defect? Any help you guys can provide will be very appreciated.

    I don't have HDMI cable for my N8 but judging from a bot of googling i did, the thing should work for landscape HDMI. You may have a software problem of an issue with the accelerometer. Are you having issues with any other landscape apps?
    You may have to get the phone re-flashed at a nokia care point.
    Sorry i couldnt be more helpful
    "Freedom is the only way, yeah!"

  • Video support: resolution, portrait mode and aspect ratio

    I have been playing with a friend's PowerPC-based mini (while I wait for Leopard to come out) and have some pre-purchase questions:
    1) Do the current Core 2 Duo mac mini models support the VESA standard Preset Timing Mode of 1680 x 1050? (That's not listed on his older mac mini and would affect my choice of monitor.)
    2) Does the current mac mini support portrait mode with any monitor at all?
    3) The specs list maximum resolutions of 1920 x 1200 (16:10) with DVI and 1920 x 1080 (16:9) with VGA. I'm guessing that is related to bandwidth of the cable and does not mean that all output to DVI would be at the 16:10 aspect ratio and all output to VGA would be at the 16:9.

    mexibeetle,
    As far as the resolution of 1680x1050 I cannot answer you. I have a Power PC mini as well as an intel mini. The resolutions available change based on the display connected, but neither of mine offer that particular resolution (the 17" monitor I have does not go that high on the PPC mini via VGA and the intel mini is hooked up to a 40" LCD TV via HDMI...those resolutions are either 1600x900 or 1920x1080)
    Neither my monitor nor my HDTV list that particular resolution (1680x1050) as being available, regardless of what they are connected to, so I cannot say whether or not the mini is capable of driving a screen at that resolution.
    As to portrait mode, on both the older and newer minis in the display preference pane there is the option to rotate your image...90, 180 and 270 degrees. Mounting your monitor horizontal or vertical should not pose any problem as far as I can see.

  • Video recorded in landscape only plays in portrait mode on HD tv

    I recently obtained iphone 5s. I've recorded several videos with the phone, in landscape mode. When I try to play the videos connected to my tv via HDMI A/V cable the videos will only play back in portrait mode (quality is distorted and horrible).
    Same goes for the videos recorded in landscape mode on my old 4s (which prior to IOS 7 would play back in proper mode).
    Phone is not locked in portrait mode.
    Video will play on phone in landscape mode...just won't play in landscape on the TV.
    Hope this makes sense. Thanks for any assistance!
    D.

    I had the same exact problem.  Some of my landscape videos would get squashed into a portrait size view on the TV. 
    What I did as a workaround was to hold the phone in portrait mode, play the landscape video, and if it didn't fill the screen correctly, I would swipe the video as if I was going to another video/photo, but without lifting my thumb/finger, swipe it back so that it returns to the original position. 
    What happens is that the video on the TV screen should resize into a smaller landscape image (with the circle play button in the middle of the image).  Then usually when I hit the play button again, it will play properly in landscape mode and, more or less, fill the screen properly.
    I find it odd that so few others have faced this issue.

  • HT3382 With a MacbookAir (mid-2012) using a mini DisplayPort to VGA adapter plugged into the Thunderbolt port, can you configure the external monitor to FULLY display in portrait mode yet keep the built-in display in landscape mode?

    With an 11"-inch Macbook Air (mid-2012) using a mini DisplayPort-to-VGA adapter plugged into the Thunderbolt port:
    Can you configure an extended desktop with an external monitor (20") displaying full portrait mode (1200 x 1600 resolution) and keep the built-in display in landscape?
    I'd like to see something like
    External monitor / Built-in display

    Yes, I can't see why not.
    Just give it a try and report back if you have a problem.

  • N900 PORTRAIT MODE FOR TEXTING

    will this support texting in portrait mode i just got one and like it very much but hate the fact you cant text in portrait mode
    If  i have helped at all a click on the white star below would be nice thanks.
    Now using the Lumia 1520

    My previous phone was the N97.. I bought it the day it was released in the UK (pre-order in the Nokia store in London.. happy days!)
    Before that, my phone was the Nokia 7710.. I had that since 2004.. Not only was it the first touch screen phone from Nokia, but it was the only Series90 handset they released.. It was FANTASTIC.. It had a high res screen that was only beaten on the E90 and then the 5800/N97.. superb piece of kit..
    The best thing about it, it was landscape format.. Going back to a candy bar with the N97 was a shock to the system, but at least it worked in landscape too.. Coming back to landscape mode with the N900 feels comfortable again, but I do understand how one handed operation is important.
    The screen on the N900, although not multi-touch, is wicked accurate.. The problem is whether a cramped portrait mode keyboard can cope with the relatively large surface area of say a thumb pressing the screen.. something that is always more optimally suited to a screen technology that registers the shape of a screen press, not just the location..
    I'm interested to know how the X6 works in portrait mode, see how Nokia are deailng with a different screen tech

  • At odd times I will get a second instance of Firefox startup. I have run avast av, spybot, malwarebytes, both in normal and safe mode and nothing has been found, any ideas?

    at odd times I will get a second instance of Firefox startup. I have run avast av, spybot, malwarebytes, both in normal and safe mode and nothing has been found, any ideas?

    That second one sounds like malware.
    Do a malware check with some malware scanning programs on the Windows computer.<br />
    You need to scan with all programs because each program detects different malware.<br />
    Make sure that you update each program to get the latest version of their databases before doing a scan.<br /><br />
    *http://www.malwarebytes.org/mbam.php - Malwarebytes' Anti-Malware
    *http://www.superantispyware.com/ - SuperAntispyware
    *http://www.microsoft.com/security/scanner/en-us/default.aspx - Microsoft Safety Scanner
    *http://www.microsoft.com/windows/products/winfamily/defender/default.mspx - Windows Defender: Home Page
    *http://www.safer-networking.org/en/index.html - Spybot Search & Destroy
    *http://www.lavasoft.com/products/ad_aware_free.php - Ad-Aware Free
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked

  • After upgrading to mountain lion i keep getting an error message saying my startup disc is full. it shouldnt be full because there is barely anything on there and i was running windows with bootcamp prior to this with no issues

    after upgrading to mountain lion i keep getting an error message saying my startup disc is full. it shouldnt be full because there is barely anything on there and i was running windows with bootcamp prior to this with no issues. my computer now freezes and programs close randomly. The usual command for opening windows with bootcamp doesnt work. once in restarted my computer after it froze and it rebooted in windows automatically. i really just want to know if there is a way to take the upgrade off my laptop because it is very annoying.

    Hi Memalyn
    Essentially, the bare issue is that you have a 500GB hard drive with only 10GB free. That is not sufficient to run the system properly. The two options you have are to move/remove files to another location, or to install a larger hard drive (eg 2TB). Drive space has nothing to do with SMC firmware, and usually large media files are to blame.
    My first recommendation is this: download and run the free OmniDiskSweeper. This will identify the exact size of all your folders - you can drill down into the subfolders and figure out where your largest culprits are. For example, you might find that your Pictures folder contains both an iPhoto Library and copies that you've brought in from a camera but are outside the iPhoto Library structure. Or perhaps you have a lot of purchased video content in iTunes.
    If you find files that you KNOW you do not need, you can delete them. Don't delete them just because you have a backup, since if the backup fails, you will lose all your copies.
    Don't worry about "cleaners" for now - they don't save much space and can actually cause problems. Deal with the large file situation first and see how you get on.
    Let us know what you find out, and if you manage to get your space back.
    Matt

  • How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed.

    How long should I let Safe Mode startup run? I keep getting the "disk0s2 i/o error" message and I'm just not sure when to give up and try a different method. I already ran disk utility in Recovery Mode and it said there were no repairs needed but it still kept getting stuck on the apple loading screen.

    You have limited opportunity to attempt to create a backup of your created files.
    That is what the SafeBoot or safemode appears to allow you -- at the moment.
    Since the hard disk drive exhibits signs of failure or other major issues, plan
    on a replacement in the near future. You may be able to get the computer to
    start up in a regular full OS X (not safe mode) but consider its hours are limited.
    An externally enclosed hard disk drive (with own power supply, not relying on
    Mac ports to run it) is a good basic means of which to use a disk utility to make
    a copy or a Clone of the current OS X. This may help retrieve an archive that
    could be used along with a Time Machine backup, to restore your Mac once you
    get a new hard drive installed inside.
    Good luck & happy computing!

  • How do you get 10.6 Server to permanently reboot and startup in 32bit mode?

    Hey all,
    I need to get my newly installed snow leopard server on a Mac Pro Quad Core running v10.6.2 of Server to permanently boot into 32 bit mode instead of the default 64bit mode that it always boots in.
    I need permanent 32bit mode in order to give me a solution to proper driver support for PCI Express eSata Cards with "Port Multiplier" support that do not currently have 64bit drivers for OS X 10.6 Server yet?
    I have forcefully booted into 32Bit mode with the 3 and 2 keys held down upon startup, and my eSata cards all of sudden work, and properly support my external 5 bay raid array (Backup drive) which uses port multiplier technology. These same controller cards do not load the driver (because there is no compatible driver at the moment) in default 64 bit mode that OS X Server boots into.
    So if I am in forced 32bit mode for the server because I held down the 3 and 2 keys all is fine, but the moment I restart the server, it all goes back to default 64bit mode and non operation of the eSata Cards
    Can anyone please help me with a known solution for permanent 32bit mode that actually remembers to stay put in 32bit mode at all times??
    Cheers
    FattyBlue (Nick)

    Hi Y0$h1,
    Thank you so much.. that software link worked a treat! It now permanently boots into 32bit mode, and mounts all my eSATA based Drives that are connected.
    Thanks again
    Cheers
    Nick (FattyBlue)

  • IMac G5 running OS 10.4.11. Started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup. I can get into safe mode. Tried install disc for disc utility and reloaded OS. Still get blue screen.

    I have an older iMac G5 running OS 10.4.11. The other day I started playing with a bluetooth speaker (may or may not be related). Now I cannot get past the blue screen on startup.
    I can get into safe mode. But no regular startup.
    I tried disabling bluetooth, thinking that might be related. It didn't help.
    I even tried using the install disc to run disc utility. That didn't work so I reloaded the OS.
    But I still get hung on the blue screen when trying a normal startup.
    All help would be appreciated.

    Try resetting the PMU/SMU and PRAM/NVRAM. You'd need to identify the mode of resetting depending on the model of your G5 iMac. The Apple support sites that would help you for this are –
    http://support.apple.com/kb/HT1436
    http://support.apple.com/kb/HT1939
    http://support.apple.com/kb/HT1767
    http://support.apple.com/kb/HT1379
    I hope this solves your problem.

  • My ipod is getting stuck on startup and i cannot even access the recovery mode. what can i do to resolve this problem?

    Hi.
    My ipod touch 5 is getting stuck on startup and i cannot even access the recovery mode.
    what should i do to resolve this problem?

    Try what you missed here:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
      Apple Retail Store - Genius Bar                              

  • Is there a way to create and edit a video in portrait mode / 9:16 in Premiere Elements 12 or 13. Playback on an iPhone in portrait position.

    I'm editing iPhone app video for posting as the first screen in the Apple app store. Required size for the video is 750:1334, 9:16. I there a way to setup the initial video in portrait mode? Many posts for how to rotate a specific clip, but I need the whole video in portrait position. How to accomplish this? I'm using Windows 7 and Premiere Elements 12 and now 13.

    LaurieFrick
    Thanks for giving this portrait Edit area monitor shape a look.
    I have Windows 7 64 bit and Windows 8.1 64 bit and have done the work using Premiere Elements 12/12.1 on Windows 7 64 bit.
    Here is a step by step
    Find the DSLR [email protected] file
    Local Disk C\Program Files\Adobe\Adobe Premiere Elements 12\Settings\SequencePresets\NTSC\DSLR\1080p\
    And, in that 1080p Folder is the DSLR 1080p30@ 29.97.sqpreset file that you seek.
    1. Copy the
    DSLR 1080p30@ 29.9.sqpreset fileI
    and paste it to the computer desktop in a newly created folder named 1920p.
    2. Open the 1920p Folder and edit the ..sqpreset file in Notepad.
    To do that right click the .sqpreset, and, from the pop up, select Open With and then Notepad.
    3. In the Notepad document, you are going to edit in only 2 places for now, switching 1920 and 1080 to 1080 and 1920 at the top and bottom
    sections of the Notepad document.
    Then go specifically File Menu/Save of the Notepad document and hit Save.
    4. At this point, you have the edited.sqpreset file in the 1920p Folder on the computer desktop.
    (Change the name of the edited .sqpreset file so that it = DSLR [email protected])
    Move the 1920p Folder from there to add it to the 1080p Folder, the location where you found the original .sqpreset file that you edited.
    Close out of there.
    5. Back in the Premiere Elements 12/12.1, manually set the project preset to the new project preset
    6. When you import your 1080 x 1920 9:16 video file into the project and drag it into the Timeline, you should see
    Note that there is no orange line over that Timeline content, indicating that you are seeing
    the best possible preview of the image.
    7. As I wrote before,
    But, here is the hang up. If I render the Timeline content to get the best possible preview at the Edit level, the video in the Edit area monitor
    squeezes in resulting in black borders to the left and right of the video image on screen.
    But, otherwise I found I had no problems editing or exporting, just had to keep away from Timeline rendering for previewing after an edit. Need to find the missing ingredient for 100%.
    I will be writing this up in my blog in a more organized fashion including how I got the project preset description in Change Settings to agree with the changes. Probably I will do that in the morning.
    ATR

Maybe you are looking for

  • IDOC not Received at XI

    Hello folks , I need to send a idoc from r/3 to xi. i have made all the necessary configuration in r/3. iThis s a production sytem ....have checked on R/3the IDOC is succesful at we02 checked BD87- IDoc sent to SAP system or external program SM58 no

  • How to catch exception from shared library on Linux?

    Description: JNI dynamically loads shared library. Shared library throws exception (class CTestException). JNI can not catch it by CTestException name, only (...) works. My config: Linux RH AS 4 (x86 64) gcc: 3.4.5 glib: 2.2.5 Java 1.5.0_06 g++ compi

  • Premiere Pro CC crashes on startup! (Still no solution!)

    Whenever I open Premiere Pro CC Trial, it says "Premiere Pro CC has stopped working" I looked around the internet and found a solution that was working for many people, to download the latest AMD drive. So I went and downloaded the AMD 14.4 drive, an

  • Problems using sprites in CM with Firefox

    Hi, Iu2019m tying to improve Portal Performance, improving XMLForms content, so decided to reduce the number of requests (images) using sprites, the problem is, for some reason, that I canu2019t understand, attribute u201Cbackgroundu201D or u201Cback

  • Custom Alert is throwing an error in APPS.GMS_INSTALL

    1. We have created a custom alert and using Alert Manager we defined this new alert in applications. 2. In order to test this alert we navigated to Request -> Check and gave the Application Name, Alert Name and Start Date and submitted a new request.