LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-11-2014, 02:41 AM   #1
imarriedyoung
LQ Newbie
 
Registered: Apr 2014
Posts: 20

Rep: Reputation: Disabled
Monitor Calibration with Dual Screens


I recently came into possession of a neat little 1680x1050 resolution monitor. My days of dreaming for a dual monitor were over...or so I thought. I've gotten everything to work both with x11 parameters inside of xorg.conf.d and also with xrandr initially (that is, I've switched over from xrandr to the X11 config, but may switch back, in either case they both do the same thing.);

So it works, but this little sucker isn't necessarily a spring chicken, so it's color correction is off. I've worked in imagery for a long time, so I'm fortunate enough to own a monitor calibrator, and I found a nice lightweight tool called xcalib that'll let you load previously generated .icm or .icc color profiles.

The problem is, I can't seem to figure out how to specify to xcalib which monitor to load the settings to. I don't even know if this is possible. Having two X sessions seems crazy, and trying to add extra "screen" parameters and monitor parameters in xorg.conf.d isn't really differentiating things.

More accurately my question is, in the tl;dr sense of things: Does anyone know if I can specify two separate "screen's" (or "displays", whatever you want to call them) inside of X that I can, later, individually have xcalib apply calibrations to?

At the moment, when I issue an xcalib command such as:
Code:
xcalib -d :0 /usr/share/local/color/icc/some_color_profile.icm
It seems to, strangely enough, apply solely to my new, smaller, monitor, and not to my other monitor. But I've also learned that looks can be deceiving and I don't know if it's applying it to everything on both screens.
 
Old 07-11-2014, 04:43 AM   #2
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
I don't know whether this will actually work (depending on how your screens are configured), but have you tried ':0.1'? i.e.
Code:
xcalib -d :0.1 /usr/share/local/color/icc/some_color_profile.icm
This may not work if you are using the nvidia binary driver (or that information may be out of date)

In the brave new world of Linux desktops this can be controlled by colord, but afaik the only colord-enabled desktop for Slackware at the moment is Cinnamon.
 
Old 07-11-2014, 05:51 AM   #3
imarriedyoung
LQ Newbie
 
Registered: Apr 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Damn, no, that doesn't work, although I got excited when I saw that suggested elsewhere: "Error - Can't open dislpay :0.1". Thanks though! It might be a moot point all and all, but I'm curious of anyone has some kind of resolve. I have heard some luck with argyllcm and its tool. In an ideal world you could slip ICC profiles directly into the monitor, like firmware updates; may sound crazy but a man can dream, can't he?
 
Old 07-11-2014, 06:30 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
A couple of things.

Man xorg.conf is your friend, but I believe 'left' and 'right' are the usual things to specify. It may also be possible to do ''top' and 'bottom' simply as options in the monitor description
Quote:
SebSection Monitor
<blah>
Option "Left"
<blah>
You say it's old. If the tube is a 'delta gunned' job (Red, green & blue cathodes in a triangle) it's probably better to adjust the monitor as they are incorrigibly awkward and changeable. There might be pots or coils inside.

The usual thing now is the three 'guns' in a line inside the glass. Convergance is easy on those (

Often these problems can be fixed by degaussing the screen. A big heavy coil passing loads of AC (I usually used a transformer) is brought close to and round the edge of the picture and should pull it out of shape. Then get it far away before you switch off to avoid a spike remagnetising it!
 
Old 07-11-2014, 06:39 AM   #5
imarriedyoung
LQ Newbie
 
Registered: Apr 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Well I say old but it's still a simple and rather digitally interface-able flat screen LG so no need for degaussing or anything crazy. I have set that up under a working xorg.conf.d conf file but how would I specify to xcalib to load to the "left of" monitor /screen and the "right of" one? I'll post the contents of my xorg.conf tomorrow morning.

Last edited by imarriedyoung; 07-11-2014 at 06:40 AM.
 
Old 07-11-2014, 02:16 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Quote:
Originally Posted by imarriedyoung View Post
Well I say old but it's still a simple and rather digitally interface-able flat screen LG so no need for degaussing or anything crazy.
I am glad to hear it.

Quote:
Originally Posted by imarriedyoung View Post
I have set that up under a working xorg.conf.d conf file but how would I specify to xcalib to load to the "left of" monitor /screen and the "right of" one? I'll post the contents of my xorg.conf tomorrow morning.
Left and right are specified in xorg.conf.d in the monitor sections. I would keep xorg.conf to a basic original and put the work in xorg.conf.d - otherwise you'll have the same things configured in two places and potentially confuse yourself
 
Old 07-11-2014, 07:07 PM   #7
imarriedyoung
LQ Newbie
 
Registered: Apr 2014
Posts: 20

Original Poster
Rep: Reputation: Disabled
Output of "cat /etc/X11/xorg.conf.d/10-monitor.conf"
Code:
[Sat Jul 12, 09:16 AM | ~]
>> cat /etc/X11/xorg.conf.d/10-monitor.conf
Section "Monitor"
    Identifier   "HDMI-1"
    Option  "PreferredMode"  "1920x1080"
    Option  "LeftOf" "DVI-I-1"
EndSection

Section "Monitor"
    Identifier   "DVI-I-1"
    Option  "PreferredMode"  "1680x1050"
    Option  "RightOf" "HDMI-1"
    Option  "Position" "1920 0"
EndSection

Section "Screen"
    Identifier "Left Screen"
    SubSection "Display"
        Virtual   1920 1080
    EndSubSection
EndSection

Section "Screen"
    Identifier "Right Screen"
    Monitor "DVI-I-1"
    SubSection "Display"
        Virtual 1680 1050
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier "Main"
    Screen 0 "Left Screen"
    Screen 1 "Right Screen"
EndSection
My ServerLayout section is a total guess stolen from someone else's conf. The two screens work and output correctly, whether I do it via xrandr or xorg.conf.d, but what I'm trying to figure out is how one would tell xcalib (or some similar tool I can get to run on slackware) to apply an icc profile specifically to the 1920x1080 on the left, and another to the 1680x1050 to the right.
 
  


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
Momentary blanking of screens with dual monitor setup Latios Linux - Hardware 2 05-09-2011 09:31 AM
Dual monitor setup with KDE 4.2 Slackware 13 and wallpaper not spanning both screens Moch5.0 Slackware 2 08-29-2009 02:25 PM
How to use the dual monitor in 'Multiple X Screens' ronaldv Linux - Networking 4 03-14-2008 05:12 PM
Dual monitor as individual screens linuxmandrake SUSE / openSUSE 0 09-28-2007 03:49 PM
Firefox on two screens (dual monitor setup) RemusX2 Linux - Software 2 10-01-2006 12:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:55 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