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 02-06-2013, 07:47 PM   #1
cwwgateway
LQ Newbie
 
Registered: Feb 2013
Distribution: Debian Stable, Testing, Sid, LMDE, CrunchBang
Posts: 3

Rep: Reputation: Disabled
How to make Display Managers Recognize Multi-Monitor Settings


I have two monitors, my built in laptop one (my laptop is a Dell XPS 15 L502x) and my external monitor (a ViewSonic VX2453mh-LED). The external monitor is connected through my miniDisplay Port to an HDMI port on the monitor. Here is the output of xrandr:
Code:
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 344mm x 194mm
   1366x768       60.1*+
   1360x768       59.8     60.0  
   1024x768       60.0  
   800x600        60.3     56.2  
   640x480        59.9  
VGA1 disconnected (normal left inverted right x axis y axis)
HDMI1 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 520mm x 290mm
   1920x1080      60.0*+
   1600x1200      60.0  
   1680x1050      60.0  
   1400x1050      60.0  
   1280x1024      75.0     60.0  
   1440x900       59.9  
   1280x960       60.0  
   1152x864       75.0  
   1024x768       75.1     70.1     60.0  
   832x624        74.6  
   800x600        72.2     75.0     60.3     56.2  
   640x480        72.8     75.0     66.7     60.0  
   720x400        70.1  
DP1 disconnected (normal left inverted right x axis y axis)
I use Debian Wheezy Xfce, and I have added the following command to my session and startup list:
Code:
xrandr --output HDMI1 --left-of LVDS1
This works fine for the desktop, but the display manager I'm using, LightDM, clones the screens and doesn't use the correct resolution (I assume because the command is run after login). I have tried both KDM and MDM also, and both do the same thing. My guess is that I have to run the command before the display manager loads, but I don't know how to do this.
 
Old 02-07-2013, 02:37 PM   #2
foodown
Member
 
Registered: Jun 2009
Location: Texas
Distribution: Slackware
Posts: 611

Rep: Reputation: 221Reputation: 221Reputation: 221
Place the command into your ~/.xinitrc file, before the other stuff already in there.
 
Old 02-07-2013, 06:36 PM   #3
cwwgateway
LQ Newbie
 
Registered: Feb 2013
Distribution: Debian Stable, Testing, Sid, LMDE, CrunchBang
Posts: 3

Original Poster
Rep: Reputation: Disabled
Thanks, but this doesn't seem to change anything. There also didn't seem to be anything in that file originally. There is also an "xinitrc" file in /etc/X11/xinit/xinitrc, but adding the command to that file also doesn't seem to cahnge anything (I've done 2 reboots so far).
 
  


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
'Display and Monitor' Settings Keep Getting Reset kwikness Linux - Newbie 1 07-14-2011 08:48 PM
How do I make the nvidia driver recognize my monitor Dark Horse Slackware - Installation 6 06-24-2008 05:08 PM
Monitor display settings on laptop SlowMindThinkin SUSE / openSUSE 1 07-06-2006 04:39 PM
How to Make Slack Recognize My Monitor? bongski55 Slackware 6 10-30-2003 01:34 AM
Slackware 7.0 monitor and display settings issues vladtheinhaler Slackware 3 08-02-2003 04:02 AM

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

All times are GMT -5. The time now is 08:08 AM.

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