LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-25-2012, 04:56 AM   #1
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Rep: Reputation: Disabled
Unhappy Connecting and disconnecting an external monitor


I replaced OSX with Linux on my Macbook Pro. When I had OSX in it, I would connect an external monitor at home and it would be automatically detected and used. When I took my laptop with me to school, I the monitor, and everything on the second monitor would move to the laptop monitor. In this way I could use my Macbook Pro at home or at school without rebooting.

This doesn't happen in Linux. How can this be fixed? I'm running xfce in Ubuntu 11.10.
 
Old 01-25-2012, 07:40 AM   #2
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Rep: Reputation: 19
According to Google, the MacBook Pro uses an AMD Radeon card. This is well supported by AMD's own fglrx driver package, which I am guessing you have installed. (If not, I would advise to do so if you are not strongly opposed to having closed source software.) fglrx comes with "Catalyst Control Center" - look for this in your application menu, you should be able to find it there. If not, go to a terminal and type
Code:
apropos catalyst
(or aporpos fglrx) to find commands relevant to fglrx. If you still cannot find it, you probably have not installed fglrx, so look for it in your packet manager (synaptic/aptitude). You may find relevant packages with
Code:
sudo apt-cache search catalyst
(or, again, search fglrx) in a terminal.

Also, all modern graphics cards drivers support xrandr, which allow you to change monitor setup, resolution and the like during runtime. If you don't care if you have to do a little reading to set things up, this is a much more flexible alternative to the fglrx way. Type
Code:
man xrandr
in a terminal to read more. Also, there may be some graphical programs that use xrandr for you, but I usually do everything by terminal, so I dont know.

The functionality to use the two monitors (i.e. automatically move windows and the like) should be provided by your window manager, to which the driver supplies the information about your physical layout. As I have never used this, I cannot tell if this works at all. But at the very least, you will be able to use both monitors and have to move the windows around yourself.
 
Old 01-28-2012, 11:42 AM   #3
javascriptninja
Member
 
Registered: Jan 2012
Posts: 41

Original Poster
Rep: Reputation: Disabled
My Macbook Pro has an nVidia card. I use the proprietary driver to control it. I don't think it's compatible with xrandr.
 
Old 01-28-2012, 12:19 PM   #4
Vinter
Member
 
Registered: Feb 2005
Location: Germany
Distribution: Aptosid
Posts: 148

Rep: Reputation: 19
I do think it is compatible with xrandr[*], but nVidia has a proprietary tool as well. Just start up nvidia-settings (type it in a terminal), go to 'Display Configuration' and click away (At least that is how things work for my 9600MGT.)
[*]: http://en.gentoo-wiki.com/wiki/X.Org...onitors/Nvidia - This is for gentoo, but most things should be applicable to Ubuntu.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
external HDD disconnecting biggles1963 Linux - Newbie 8 07-10-2009 07:29 PM
app for connecting/disconnecting the internet navarre9 Linux - Software 4 03-31-2009 07:41 AM
Problems with connecting external monitor to the laptot silin Linux - Laptop and Netbook 3 01-18-2009 07:47 PM
usb stick connecting / disconnecting JeanPierre Slackware 5 11-15-2007 08:27 AM
Wireless Card Connecting / Disconnecting (11 2 11 2) phantompgr Linux - Wireless Networking 2 06-19-2004 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration