How do you connect your external monitor(s)?

More frequently I'm using an external monitor when working on Arch Linux, so I made this script, which works ok for now. This is a simple approach for this kind of stuff I think, so I'm wondering what you people out there are using to connect your external monitors. I guess there's a bunch of people in this community that are using two (or more) monitors? Please post your beloved script or name the package you are using. I would also be happy with some feedback or tips on my script.
#!/bin/bash
#~/scripts/vga
case $1 in
-r|--right) xrandr --output VGA1 --auto --right-of LVDS1 ;;
-l|--left) xrandr --output VGA1 --auto --left-of LVDS1 ;;
-o|--off) xrandr --output VGA1 --off ;;
*) xrandr --output VGA1 --auto ;;
esac
Last edited by roygbiv (2011-08-24 18:15:54)

When I'm at home I connect my laptop to my TV and use that as the only screen. I have mapped the screen fn-key to this script:
#!/bin/bash
if xrandr -q | grep "HDMI1 connected" > /dev/null ; then
# xrandr --newmode "1920x1080" 138.500 1920 1968 2000 2080 1080 1083 1088 1111 +hsync -vsync
# xrandr --addmode HDMI1 1920x1080
xrandr --output HDMI1 --mode 1360x768
xrandr --output LVDS1 --off
else
xrandr --output LVDS1 --mode 1366x768
xrandr --output HDMI1 --off
fi
Works perfectly.

Similar Messages

  • Hp dv6 1355dx laptop - how do I connect 2 external monitors?

    I have a HP dv6 1355dx laptop Entertainment PC.  How do I connect 2 external monitors (both have VGA cables) and neither one has HDMI connectors.  My laptop has only 1 VGA connector, so I can display my laptop video and 1 of the external monitors. 
    Any help would get greatly appreciated.  I am even willing to buy a docking station or port replicator.

    Hi,
    Docking station or port replicator won't solve the problem because of your internal graphics card. You need something which is similar to the following products:
        http://www.matrox.com/graphics/en/products/gxm/
    or USB to 2 VGA monitors but very hard to find (normally you can only get 1 VGA and 1 other, not both VGA's).
    Regards.
    BH
    **Click the KUDOS thumb up on the left to say 'Thanks'**
    Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem.

  • How do I connect an external monitor to my MacBook Air?

    How do I connect an external monitor to my MacBook Air?

    With a minidisplay port to VGA or DVI or HDMI adapter:
    http://store.apple.com/us/product/MB570Z/B/mini-displayport-to-dvi-adapter?fnode =53

  • How do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the onli

    how do you connect your photoshop elements on your computer to your account online? and how do you create a customized url? how does the gallery work and how do you access it? i have trouble signing in on my program from my computer to connect to the online photoshop, and I really want to create my own customized url and post photos to my gallery and share them with the world, family, and friends, but i need help because i can't figure how to do any of this, would really appreciate feedback and assistance, thanks, - claire conlon

    To add to sig's reply, "calibrating" does not calibrate Lithiu-Ion batteries, it calibrates the charge reporting circuitry.  If you look at the effect of deep discharging Lithium-Ion batteries in the data from the independent test group, Battery University, you will see that doing so shortens the life of the battery significantly. It looks like an optimum balance between use and life is at a discharge level of 50%.

  • How do you connect your iPad to a wireless computer?

    How do you connect your iPad to a wireless computer?

    Your question makes no sense. You "connect" an iOS device to iTunes on your computer via WiFi or by using the supplied cable.

  • Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. Thanks.

    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work. Please help. I am getting lots of spelling errors as the MacBook laptop screen is too small. Thank you so much! .

    Contentmom6 wrote:
    Brand new Mac user help please! How do you connect a 17" monitor to the MacBook? I have the monitor plugged into the Mac, but the F8 that I am used to with PC does not work.
    Normally, you just connect the monitor to the MacBook using a VGA adaptor that you can buy from an Apple Store.  Now try System Preferences > Displays > Detect Displays.  You should now be able to select a display mode for the monitor.  If it still doesn't work, then I'd check that everything is properly connected.  I've had problems with colours disappearing due to a faulty connection in the VGA adaptor.
    Bob

  • How can you connect your 4th gen ipod touch to a 3g network?

    how can you connect your 4th gen ipod touch to a 3g network?

    Yu need a device like the following:
    - A MiFi or similar. They are credit-card size devices that act a wifi hotspot and then connect to a cellulare network
    - Use a smart phone that can act as a wifi hotspot to share it s cellular connection. An iPhone will also do that via bluetooth. You need to purchase a tethering plan .

  • How do you connect your macbook pro to a sony bravia tv with a belkin cord????? HELP!!!!!!!!!!!!!!!

    How do you connect you macbook pro to a Sony Bravia tv with a Belkin cord!?!?!?!?!?!?!? We know how to set it up, but what setting do you put your tv on!?!?!? we have tried everything, but it wont work!!!!!!!!! HELP!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

    Well, I have connected my mbpr directly to a Sony Bravia using an hdmi cable, then set the tv to use the corresponding input port, and it works just fine. Have also connected via airplay -> appletv -> tv (with the last connection via an hdmi cable), which also works fine.

  • How can you connect your iPod touch to your Vista computer without using Apple Software

    How do you connect an iPod touch to your Vista computer without using any Apple products

    There is no other legit way to sync your iPod than using iTunes. There is 3rd party software to transfer content from the iPod to your computer, but not from the computer to your iPod.
    Disk mode is not supported.
    See also: http://www.apple.com/ipodtouch/specs.html

  • How do i connect three external monitors to a macbook pro?

    How do I connect three extrenal monitors to my Macbook Pro?

    I have a USB to DVI adapter from kensington. I use to use it to power at 14" display.Moving windows around had some tearing and lag. Typing lagged, but it was use-able. It was fine for displaying diffrent stats. The OS treated it as it would any additional display.
    But I found it undesirable for any thing tha requires lots dragging and clicking.
    Every so often the device would lock up. At witch point the computer would get stuck trying to detect the USB display. I would have to unplug the adapter, cycle the power on the adapter. And then it would be good for a couple more months.
    Also some times after a reboot, the adapter would stop working. I would have to unplug it, and login, and then plug it back in.
    Coping file to my USB 2 harddrive seemed to cause more lag to the USB to Video Adapter.
    About the idea of dasiy chaining 3 Thunderbolt display tgeother. Apple Thunderbolt Display (27-inch): Connection options for Thunderbolt Macs states the most the current MacBook Pro 15 & 17 inch can currently drive is 2 Apple Thunderbolt Displays.

  • How do you connect a second monitor to a MacBook Pro

    i am wanting to connect a second monitor to my MAC so i can have 2 of my pages showing at the same time. how do i do that?

    I am pretty sure the MacBook and MacBook Pro only supports ONE external monitor of any description, even though the cabling will support two.
    The short story, that Courcoul has alluded to but not stated, is this:
    All you need is an Adapter. All the software to do elegant multiple display work is already in place in your Mac, and will be activated automatically the moment you plug it in. Nothing to Install, no settings to change. Just plug in the display.
    The default mode is Extended Desktop, where the one-monitor desktop is enhanced by having the area of the second display appended to its right side (or any other side you specify). The mouse moves freely from one display to the other, and can drag windows with it, which can be resized on the other display. You can even drop things so that half is on each display, and they will scroll and update "the right way".

  • How to only use your external monitor.

    I just recently bought a cable to connect, using thunderbolt, to my external display. I need to know how to make my screen only appear on my external display NOT my built-in Macbook Air screen. Does anyone know how to do this?

    You might not be able to disable the internal display but you can place it logically out of the way and darken it.
    System Preferences > Displays > Arrangement
    Drag the menu bar to the external display.
    Drag the image of the internal display down so it is not next to the external display.
    Put all of your desktop icons on the external display. 
    Adjust the brightness on the internal display to full dark.
    When you disconnect the external display, Mac OS X will rearrange your desktop onto the the internal display and vice versa.
    Think you will find that is less functional than using the internal display as a logical extension of the external one with your most used windows on the external display and others on the internal display.
    I assume you have a separate keyboard and mouse for the external display.

  • HT3131 how can i connect 2 external monitors(VGA) to my 2007 macbook pro

    I would like to use 2 external monitors simultaneously with my clamshell closed. I have external keyboard and mouse but need to know how to and what to buy in order to achieve this.....havent found anything straight forward on apple site, like a vga dual monitor splitter, so am in need of some advice on how to do this please!

    Thanks for the reply. Haven't gotten anything as yet. Just that I burned out my older PowerBook using it as a primary screen w/ a secondary 20" monitor. Would be nice if the MacBooks could be used as a CPU only, connect 2 different monitors, and use the LCD screen when portability is needed. But I suppose that is why Apple makes different types of computers. I know I can rig the video SCSI cable to bypass to LCD screen and use the other built-in monitor. But there goes the warentee and any kind of AppleCare... not that I have ever used it, (until a day after it has expired!)
    But thanks for the feedback. Your reply is what I expected. Being that I am a mercenary graphic designer and need to be able to work whenever, and where-ever I need to, the MacPro is not my hardware of choice. As well, I don't have $4000 in my budget. But man do those machines rock! Just think of what NASA could have done with one of those in 1969 when we were going to the moon! But now that the U.S. has decided that manned space travel and even scientific space exploration is not worthy of having a budget, the MacPros are religated to creating new episodes of Jersey Shores!
    Thanks again for your feedback!

  • How do I connect 2 external monitors with full HD to my MacBook Pro?

    I would like to connect up my 2 external monitors to my MacBook Pro.  But I want to have full HD resolution.  I want to have the desktop stretched so I don't want mirror displays.  What is the best way to accomplish this?  Is there an adapter that I should use?

    Thanks for the reply. Haven't gotten anything as yet. Just that I burned out my older PowerBook using it as a primary screen w/ a secondary 20" monitor. Would be nice if the MacBooks could be used as a CPU only, connect 2 different monitors, and use the LCD screen when portability is needed. But I suppose that is why Apple makes different types of computers. I know I can rig the video SCSI cable to bypass to LCD screen and use the other built-in monitor. But there goes the warentee and any kind of AppleCare... not that I have ever used it, (until a day after it has expired!)
    But thanks for the feedback. Your reply is what I expected. Being that I am a mercenary graphic designer and need to be able to work whenever, and where-ever I need to, the MacPro is not my hardware of choice. As well, I don't have $4000 in my budget. But man do those machines rock! Just think of what NASA could have done with one of those in 1969 when we were going to the moon! But now that the U.S. has decided that manned space travel and even scientific space exploration is not worthy of having a budget, the MacPros are religated to creating new episodes of Jersey Shores!
    Thanks again for your feedback!

  • HT1277 how do you connect your outgoing mail, it says its constantly offline

    I have tried disconnecting and connecting my mail account a number of times and everytime i have tried to do this the outgoing server says its offline.
    How do i get it to stay online?
    Thanks

    If the mail works for a while and then drops off, that's usually a problem with the network connection somewhere between the Mac and the mail server.   Could be a flaky WiFi, or a bad cable, a bad modem or a problem further along in the wiring to your ISP.  WiFi in villages and cities can encounter interference, for instance, and moving to a 5 GHz connection (if your equipment supports it) can help.  ISP connections can be flaky and drop.
    If your mail is offline solidly and this is not a transitory problem, then there's usually problem with the username, password, port or server name settings, or a connection has switched to requiring SSL/TLS.  To test a connection that's entirely offline, use the Connection Doctor tool within Mail.app.  (Window > Connection Doctor)
    Verify your credentials with your ISP web mail interface, if your ISP offers that.
    There are two parts to a mail connection.  The incoming connection (usually POP or IMAP) that receives mail from the mail server, and the outgoing connection (SMTP or ESMTP) that sends the mail to the server.  Mail.app "hides" the latter settings; you have to select the "edit server list" option to get to the SMTP mail server configuration.  Check those against your particular ISP's requirements; you'll have to search for thiose.
    If you're using a major ISP provider, post the name of the ISP, and somebody might be able to locate those mail server settings for you.  (Verizon is apparently rolling out a change to their settings, for instance.)
    Apple offers a web-based email setup assistant that might help determine the settings, too.  That can help if you remove the existing account and re-add it, too.

Maybe you are looking for

  • Need help with extracting sales data

    Hi all, We want to get a list of net sales (invoice minus credit notes) per customer by Item Group. This would look like: Customer Code | Customer Name | Item GroupA | Item GroupB | Item GroupC etc.. The data appears to be in the Sales Analysis Repor

  • IDVD Quality Issues

        Hello, I have been using IDVD to finalize and burn my Final Cut Pro and Adobe projects for a while now I have recently run into a problem I had not noticed before. I created a 9 min and 4 second video project using Adobe Premiere Pro CS 5.5. I ex

  • Ipod mini transfer problem

    Hi my problem is that when my ipod mini gets filled to 1.39GB it will either not transfer anymore songs from itunes or just crash and its a 6GB mini.I have tried reformating my ipod with every kind of updater there is and still it does not work.I als

  • Parenthasis in songs not showing up in ios5 music player.

    When I go to look at a song that is a remix or has any type of parenthasis, it only shows the original song title. And not the remix info. For example: Yoü and I (Mark Taylor Remix) is in my iPads music library as Yoü and I but I know that's not how

  • My internet is slow on my Macbook.

    But..... only on my home internet. On all other networks it is fine and all other devices in the house work fine.