Extern monitor only when connected?

hi, i have a big problem, i have a macbook pro 3,1 running arch with nvidia driver, and i have an extern monitior, which i want to use, if plugged in on dvi.
i want to use the extern monitor only, no macbook screen, i know i can enable the monitor with nvidia-settings, but when i shutdown, disconnect the monitor, and for example have a journey with the train, then my macbook cannot be used, because the configured screen is the extern monitor, and the macbook screen is black. no hotplugging here
if theres no clean solution for this problem, maybe there is a cmd to switch to external monitor only, which i can enter manually every time i need the extern screen, and after reboot it switches back to macbook screen?
i hope someone can help me....
regards chief

You can try something like this in your .xinitrc
xrandr | grep DVI | grep " connected "
if [ $? -eq 0 ]; then
xrandr --output LVDS1 --off
xrandr --output DVI --auto
fi

Similar Messages

  • My MBP recently started logging itself out.  I narrowed the problem to the external monitor which is connected with a Thunderbolt adapter. When I disconnected it, the problem went away.

    My early 2011 MBP laptop (OS Yosemite 10.2.2) recently started logging itself out.  I narrowed the problem to the external monitor which is connected with a Thunderbolt adapter. I installed Thunderbolt firmware update 1.2, that did not correct the problem. When I disconnect the external monitor, the problem went away. Is there something I can do to be able to use the external monitor again?

    Try Function F1

  • HMDI Connected External Monitor only works mirrored

    I've got a 27-inch iMac with the 2.93 Ghz Intel i7 (running Mac OS X 10.6.5) connected to a Hannspree HF289H 27.5in external monitor (1920x1200 resolution, connect via Mini Display to HDMI adapter and an HDMI cable). It has worked fine for a few months, but all of sudden the 2nd monitor will just go black. When I restart the computer, the 2nd monitor will flash on and off and resize, but will not show anything once the computer fully comes up. If I go to the monitor settings and choose to "mirror" the display, it comes on and works. Then, if I take it off mirrored, it will work for a matter of minutes to hours, but eventually go black again.
    Any thoughts? I've already tried resetting the SMC and restarting with a PRAM reset as mentioned in other posts.

    Are you using the method in this Apple article? If you do, it should work.
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display

  • I have one itunes account with two phones. when i phone one of the numbers both phones have started to ring, only when connected to wifi at home. How do i resolve this please?

    I have one itunes account with two phones assigned to it, sons and daughters, (5s). When i phone one of the numbers both phones have started to ring, only when connected to wifi at home. The problem does not occur when not connected to wifi. How do i resolve this please? texting is fine it is only when ringing one of the numbers.

    <http://support.apple.com/kb/HT6337>
    "To turn off iPhone Cellular Calls on a device, go to Settings > FaceTime and turn off iPhone Cellular Calls."

  • External monitor only works with clam shell open

    external monitor only works with clam shell open

    Are you using the method in this Apple article? If you do, it should work.
    Mac notebooks: How to use your computer in closed clamshell (display closed) mode with an external display

  • How do you switch output sounds   set to my external monitor that is connected via HDMI.

    How do you switch output sounds   set to my external monitor that is connected via HDMI. 

    Hello gail from Ajijic,
    If you'd like to change the audio output of your Mac, you can do so by accessing the Sound preferences in your System Preferences.
    Before you start, open the Output pane of Sound preferences (choose Apple menu > System Preferences, click Sound, then click Output).
    Choose a sound output device
    From the list of sound output devices, select the one you want to use. All sound output devices available to your Mac are listed, including the computer’s internal speakers, devices plugged into your computer’s sound port (), USB speakers, and AirPlay devices.
    For any device plugged into the computer’s sound port, choose Headphones.
    OS X Yosemite: Adjust your computer’s sound output settings
    Thanks for using the Apple Support Communities!
    Cheers,
    Alex H.

  • IPod nano plays only when connected to PC

    My nano is a 3rd, I think. I bought it from Apple's iPod website 2 years ago. I was using the iPod on a Harley-Davison plugged into the iPod connection of a Jenson Marine radio. I had it in a little rubbery protecting case. This pas week I had to ride in the rain. While the iPod was protected from the rain moisture built up inside the case. Now it will play only when connect to the PC.
    When it is connected to the PC everything works normal. ITunes does not need to be running, only it needs to be connected via the USB. I plug the speakers directly into the iPod and it work normally. But, when I un plug it, it dies. Not only does it quit playing but none of the keys are active. It is just DEAD. The display remains as it was but not moving. Of course I have reloaded factory defaults and started all over. But it is dead if not connected via USB 04/01/09
    port.
    Hopefully someone can help. It was a $300 unit. I sure don't want to have to buy another.
    thanks,
    wayne

    It sounds like a battery issue to me. When you connect it to the PC it draws power from the computer and thus it is able to function. Apparently it doesn't have enough of its own juice anymore. You probably just need a new battery.

  • Every time i go on the internet the sound starts messing up but only when connected to the internet.

    1- Product name and number: Compaq CQ57 302EA 4GB
    2- Operating system installed: Google Chrome, Windows 7 (was already onlaptop when got new from store)
    3- Error Message: From bullgaurd saying I have a virus but have sorted the problem and there is no virus no longer.
    4- Any changes made to your system before the issue occurred: I have installed games and music of the internet.
    5- In the subject title, include a brief, specific description of the problem, and your product information: Compaq Laptop. Every time i go on the internet the sound starts messing up but only when connected to the internet what can i do to fix this problem?

    #You need to check your home page settings if the pages open immediately everytime you start Firefox.
    #Sometimes, things that you download and install will change your home page. When installing anything, be observant, be sure to look for check boxes during install of anything that allows you to un-check items and not install toolbars and/or make changes to your home page.
    #Firefox can have multiple home pages separated by the "|" keyboard character.
    #It sounds as though your home page setting might be: "When Firefox starts: Show my windows and tabs from last time"
    #See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]

  • Is there a way to connect and view an external monitor only on my Intel iMac?

    I have an Acer 15.6" monitor connected to my Intel iMac via VGA cable and Mini-DVI to VGA adapter. I am running Lion (V10 7.3) and would like to direct my image to the external display only. The preferences pane does not offer that option. Is there some way to do it?

    Do you have a desktop machine running iTunes?
    If so then yes, setup home sharing and you can stream anything in your iTunes library to your iPad.
    It works good.

  • I have a one year old Macbook Air 13.  I have a brand new 22" external monitor.  When I connect my  external monitor it initially provides a nice display - very accurate and  no distortions.  But, within a few minutes the screen begins a incessant series

    I have a one year old Macbook Air 13.  I have a brand new 22" external monitor.  In turning the Macbook and monitor on, the monitor displays very well, but within a few minutes it begins this incessant blinking (temporary black out of the screen that lasts anywhere from 1-5 seconds).  This has been going on for a long time (it also happended with my older monitor which apparantly I threw out when I should have kept it thinking it was the problem).  From reading various blogs in the Apple support community, this appears to be a widespread problem, but I don't find a solution, only a lot of speculation.  I'm very surprised the Apple folks haven't figured this out.   As a new Apple user, heretofor, I have been very impressed with the support and effort to get fixes out to users.  This, however, has me frustrated to the point of junking my Mac and going back to a PC.  I love the Macbook Air and most of the functionality, but I cannot function without an external monitor. Anybody have any ideas, please help.  Frustrated, Jim

    Your dsplay is getting extended onto the external monitor. Chcnage the setting to duplicate it or only display on the external monitor and you should be fine,
    Let me know if this worked for you.

  • Strange issue with external monitor, only working when external speakers plugged in (using Thunderbolt to VGA adaptor)

    Hey – I am having a very strange issue with my external monitor; where it only works if my external speakers are plugged in and connected.
    I am using a late 2011 Macbook pro, running Mavericks 10.9.4, along with an MBox 2 (USB Audio Interface), and two powered speakers (KRK Rokit 5). This setup has had no issues. I have just acquired an external monitor (Benq T2200HD), which I am using with a thunderbolt to VGA adaptor (a cheap Chinese knockoff adaptor).
    To start - I plugged the monitor in with the thunderbolt adaptor, and it powers up and works fine. However, there is a nasty buzz coming from the speakers. I did some research and it looks like a simple ground loop issue. I did a bit of troubleshooting, and this is where things get weird.
    What I found is - If I unplug the MBox, the monitor loses signal from the computer (displaying ‘No Signal Detected!’). Further, if I keep the MBox plugged in, however unplug both the cables from the MBox to the speakers, the monitor loses signal. It doesn’t matter if the speakers are turned off, however they need to be plugged in (or the monitor loses signal). Weirder still, I can unplug the MBox, however the monitor will work if I plug in the speakers through my macs headphone jack.
    Simply put, the monitor only works if there is a direct connection between the computer, the speakers, and the power source.  What is going on here? Is the monitor grounding through the computer port, to the speakers (I don’t know how this works, is this possible?). Could it somehow be the cheap VGA adaptor I am using?
    Some other information:
    - Everything is plugged into the same multi-box for power. I have tried plugging things into separate sources, and the result is the same.
    - If I unplug the thunderbolt adaptor, then the speaker noise disappears straight away.
    - The ground noise doesn’t appear in my headphones, which are plugged into the MBox.
    Any information would be great – am I missing something here, or is this genuinely weird?

    Well, I went back into Best Buy to test on 3 other laptops (2 Asus, and their floor model for this Sony). It seems to be doing the same problem so at least I was able to rule out broken hardware issue on my particular laptop.
    Here's what I did to test:
    Since I couldn't really install Adobe Premiere on their machines, I used the DVIO software (http://www.carr-engineering.com/dvio.htm) and a 5 min clip I captured.  I transferred onto their machines, hooked up my Sony D8, and attempted to play the video.  It would play for 15 seconds and then stop and jitter with a loud noise (like it does on my laptop).  I even tried changing each machine's firewire driver to the legacy one and same results.  I pulled a brand new 4 pin to 4 pin firewire cable off their shelf and still the same problem.
    I think I've nailed it down to Win7x64 bit Home Edition not playing nice with Firewire driver.  Very annoying.  I can't find any concrete evidence of this from other users on any of the forums that have my particular problem, but from my own testing, it's all I can conclude.
    I have 2 other things I can try:
    1.  Opening the laptop and looking at the firewire to maybe find appropriate driver (ugh, I don't want to have to open this thing up).
    2.  Upgrading to Win7x64bit Pro and possibly testing with XP on the new MS Virtual PC (http://www.microsoft.com/windows/virtual-pc/).  I can't do it with my Home edition apparantly.
    Who needs to view video on an external TV anyways....sheeesh...(scarcasm).
    Tim

  • Strange issue with external monitor, only working when external speakers plugged in

    Hey – I am having a very strange issue with my external monitor; where it only works if my external speakers are plugged in and connected.
    I am using a late 2011 Macbook pro, running Mavericks 10.9.4, along with an MBox 2 (USB Audio Interface), and two powered speakers (KRK Rokit 5). This setup has had no issues. I have just acquired an external monitor (Benq T2200HD), which I am using with a thunderbolt to VGA adaptor (a cheap non-apple adaptor).
    To start - I plugged the monitor in with the thunderbolt adaptor, and it powers up and works fine. However, there is a nasty buzz coming from the speakers. I did some research and it looks like a simple ground loop issue. I did a bit of troubleshooting, and this is where things get weird.
    What I found is - If I unplug the MBox, the monitor loses signal from the computer (displaying ‘No Signal Detected!’). Further, if I keep the MBox plugged in, however unplug both the cables from the MBox to the speakers, the monitor loses signal. It doesn’t matter if the speakers are turned off, however they need to be plugged in (or the monitor loses signal). Weirder still, I can unplug the MBox, however the monitor will work if I plug in the speakers through my macs headphone jack.
    Simply put, the monitor only works if there is a direct connection between the computer, the speakers, and the power source.  What is going on here? Is the monitor grounding through the computer port, to the speakers (I don’t know how this works, is this possible?). Could it somehow be the cheap VGA adaptor I am using?
    Some other information:
    - Everything is plugged into the same multi-box for power. I have tried plugging things into separate sources, and the result is the same.
    - If I unplug the thunderbolt adaptor, then the speaker noise disappears straight away.
    - The ground noise doesn’t appear in my headphones, which are plugged into the MBox.
    Any information would be great – am I missing something here, or is this genuinely weird?

    Hello cgoldberg11
    Please go to the below link to test if you are having a speaker hardware failure.
    Testing for Hardware Failures (Windows 7)
    This will rule out hardware failure, let me know how that goes.
    Thanks
    If I have solved your issue, please feel free to provide kudos and make sure you mark this thread as solution provided!
    Although I work for HP, my posts and replies are my own opinion and not those of HP. .....
    Reguards,
    Mo

  • MBP does not detect external monitor on DVI connection...

    (2007) MBP C2D 2.33 15", OSX LION 3gb.  Worked fine till about 3 days ago (right after installing the last round of updates).
    My external monitor now fails to connect on DVI cable. Since it also has VGA, I was able to test this way with a DVI to VGA adapter and that worked perfectly, but the vga gives a lower resolution. Having estalished that the graphics adapter and the monitor were okay, I looked for other issues.
    Starting the MBP in clamshell mode, it found the monitor on DVI. Then restarting normally, it all worked fine, UNTILL the MBP went to sleep. when it awoke, no external. Plugged, unplugged, trashed display prefs, nothing, though it does still work via DVI-VGA.
    I don't think having to clamshell everytime is a workable solution, but I NEED MY DESK SPACE!
    Any thoughts?

    Yesterday, having had the problem become far worse, I too tried PRAM/NVRAM clearing (SMC reset so many times I can't count them). Then, in desperation I purchased TechtoolPro 6 and ran it. Everything s working well now, and in fact the video issue cleared up while techtool loaded, it didn't even wait for me to run the thing!
    More: About 3 weeks ago, I made a HardDrive image from an older white macbook so I could repair its hard drive. After doing that job, I (thought I) deleted the image from my MBP, but the disk still showed 80Gb used that wasn't before. So while I thought I had 130GB free, I was only showing 50. After running the directory rebuild, I now have 175gb Free! So the directory was keeping track of 95GB that WASN'T there! I suspect this had something to do with my problems.  Then running the Defrag and Optimization routines, my 2007 MBP is running like a brand new machine. Other things that had been buggy (like the right click on my magic mouse) are now working like they should.
    Recommended highly!

  • External monitor flashes when scrolling large Photoshop images

    Hello,
    My external monitor is flashing when I scroll around large Photoshop files. I'm assuming it the graphics processor switching modes. I've got a brand new Macbook Pro 2.66 i7 17" computer and am using a 23" Cinema HD Display (clear bezel) with the Apple ADC to DVI adapter.
    How can I get this to stop?
    Thanks for the help,
    Cyril
    Message was edited by: CyrilW

    According to Apple with an external monitor connected only the nvidia card is used. So it's not changing graphics cards. I would think it's more a driver issue or the usual blinking screen fault of nvidia (timing issue). Send in a report to Apple describing the fault.
    One other thing to check is your cables, from what i gather from your post you have a chain adc-dvi-mdp rattle them, and clean them with spray to take away oxides.
    Message was edited by: pepparkaka

  • Thinkpad T60p with Win XP - Lost color on external monitor (only black & white)

    Hi, I have a ThinkPad T60P, and a couple of weeks ago, I lost color on my external monitor (connected by VGA cable)
    I have done a lot of testing, and found a couple of strange things around this:
    *  when using docking station with two monitors, only monitor nr "1" inCatalyst Control Center shows colors, but not "2".
    * When using external monitor (or projector) I don't get color
    * When showing video on the external monitor, color works(!) This is only on some type of videos, I think. Flash videos (ie. YouTube does not show colors)
    * When getting a bluescreen, the external monitor displays bluescreen with colors. When rebooting after bluescreen, colors were working while booting (windows logo with colors), but as soon as XP was up, colors were gone(!)
    * I have tried updating to the latest graphics driver (79d533ww.exe), and all the settings in Catalyst Control Center /  Control Panel
    As a result of these findings, I beleive it must be a software problem, but since upgrading the drivers didn't work, I don't know what to try next.
    I see also that there are other people experiencing the same problems, but I can't find any solution to this problem.
    Re:
    http://forum.notebookreview.com/showthread.php?p=3597258
    Hope someone can help me here!
    Best regards,
    pmlovold

    Cats seem to have a strong affinity for that display mode — remarkably often we hear that they've typed in the correct keystroke combo for it, and yet they never seem to set it back to normal after using the computer. Not very considerate, but you know cats: consideration isn't part of the package.

Maybe you are looking for

  • Ipod nano 7th g is not rcognised by computer after itunes update

    My ipod nano 7th generation is no longer recognised by my computer after the latest itunes update. Newest software is on my windows 8 computer... Any ideas?

  • How to Display the Percentage (%) Sign in Planning Form..???

    Hi All, How to display the percentage sign in the planning form in an account..?? I've an account that already set as the percentage for the data type. What I want is, when I type 50 in my cell, then in my form will be show 50% Now, I can't see the %

  • Cannot burn a CD in 6.5.2

    I finally got the newest version of iTunes installed, and everything seems to work, except for burning CD's. I keep getting the Burn failure error #4251. And, I removed my other burning software, so I dont think its a conflict between the two. And, I

  • Parser Problem

    I have a parser program which queries a online shopping comparison web page and extracts the information needed. I am trying to run this program with different search terms which are created by entering a sentence, so each one is sent separately, how

  • Singleton node and non singleton practical scenario

    Hi  Friends, Iam totally confused with singleton and non singleton node implementation please explain practical implementation on singleton and nonsingle ton node . In which scenario  non single ton node is used. Thanks in advance Prasad