LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-25-2016, 02:49 PM   #1
Przemas
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Rep: Reputation: Disabled
How do you apply a monitor color profile on Xfce


How do you load an ICC profiles for the connected monitors in Xfce? It does not have a proper color setting like Gnome has. I've tried DispcalGUI , but it seems there are some problems with argyll backend and nvidia drivers as I get:

We don't have access to the VideoLUT for loading

I've been trying howto do it with xcalib, but when I don't know how to apply a profile for specific monitor. For example:

xcalib U2713HM.icc

will apply U2713HM profile to both monitors, while it should get applied only to Dell U27.
I know xcalib has the -d switch, but manual leaves no clue what should I put after -d .
I've been searching through the net and I'm no closer to solution (and yes, I've read the Arch wiki - this is where I found xcalib, but no explanation howto use it on multi monitor setup) - would greatly appreciate some insight .
 
Old 09-25-2016, 07:54 PM   #2
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
$ xrandr --output HDMI1 --brightness 0.9 --gamma 1.1:1.1:1.1

You could also use xcalib, but xrandr is simpler IMO. It's a float value who's default is 1.0. The values are in a standard Red:Green:Blue sequence. How that translates to or from .icc, I haven't a clue. And your output name likely differs.

$ xrandr

To get a glimpse of available naming conventions. For the proprietary drivers, amdcccle, and nvidia-xconfig might have more gui based options. And at a low level there's some /sys/class/ stuff to fiddle with settings when all else fails.
 
Old 09-26-2016, 10:07 AM   #3
Przemas
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
If you know a way howto load an icc this way please let me know. Would love if I could do it with xrandr, but sadly it does not look like a possible option.
I can't do it "by eye" - that would defeat the purpose of calibrating your monitor to a standard. You wouldn't know whether what you see on the screen will be close to output you'll get during the print.

So any ideas about using icc in Xfce are welcome. I guess there may be a way to do it with xcalib, or make argyllcms (dispwin) work with nvidia drivers - but I feel too inexperienced to figure this one out.
Apart from Arch wiki which gives quite a bit of information about the whole thing (without dual monitor examples though) I found also this topic:
https://devtalk.nvidia.com/default/t...splay-profile/
 
Old 09-26-2016, 01:57 PM   #4
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
$ xcalib -d $DISPLAY file.icc

or

$ xcalib -d $DISPLAY -s 1 file.icc

for my 2nd display (1st one (-s 0 / default) is the LCD on the laptop). Although the only .icc files I have are those that come with xcalib in /usr/share/xcalib/*.icc.

But since there's no default.icc or restore.icc

$ xrandr --output HDMI1 --brightness 1 --gamma 1:1:1

To return to a normal-ish setup. Although gamma_1_0.icc might be such a default.

$ for FILE in /usr/share/xcalib/*.icc; do echo $FILE; xcalib -d $DISPLAY -s 1 $FILE; sleep 5; done; xrandr --output HDMI1 --brightness 1 --gamma 1:1:1

To cycle through the options. The last tag could / should be xcalib and it's syntax, but old habits, plus fewer keystrokes,

$ echo $DISPLAY
:0

In my case.

$ xcalib -d $DISPLAY -s 1 -v /usr/share/xcalib/gamma_1_0.icc

To set and see the particulars of the profile. Which could be used to generate the xrandr equivalent.
 
1 members found this post helpful.
Old 09-27-2016, 11:11 AM   #5
Przemas
LQ Newbie
 
Registered: Sep 2016
Posts: 10

Original Poster
Rep: Reputation: Disabled
THank you SHadow_7. I've been trying this one out , but I can't figure out $DISPLAY part. echo $DISPLAY gives me
:1

So this is a single value even though I have 2 monitors attached. Here's xrandr output:

Code:
Screen 0: minimum 8 x 8, current 4480 x 1440, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 509mm x 286mm
   1920x1080     60.00*+
   1600x900      60.00  
   1280x1024     75.02    60.02  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   640x480       75.00    59.94  
DP-0 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
DP-3 disconnected (normal left inverted right x axis y axis)
DP-4 connected primary 2560x1440+0+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440     59.95*+
   1920x1200     59.88  
   1920x1080     60.00    59.94    50.00    23.97    60.05    60.00    50.04  
   1680x1050     59.95  
   1600x1200     60.00  
   1280x1024     75.02    60.02  
   1280x800      59.81  
   1280x720      60.00    59.94    50.00  
   1152x864      75.00  
   1024x768      75.03    60.00  
   800x600       75.00    60.32  
   720x576       50.00    50.08  
   720x480       59.94    60.05  
   640x480       75.00    59.94    59.93  
DP-5 disconnected (normal left inverted right x axis y axis)
- is there a value I could use for xcalib?
 
Old 09-27-2016, 02:32 PM   #6
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
It looks like xcalib breaks the :0.0 + :0.1 into it's parts.

$ xcalib -d :1 -s 1 -v /usr/share/xcalib/gamma_1_0.icc

The "-d :1 -s 1" for a screen that might be called :1.1, which would likely be your DP-4 option from xrandr. The HDMI-0 is likely :1.0 which would be "-d :1 -s 0". I guess I should add that the .icc samples for me are in arch via the AUR (via yaourt). My debian jessie install has no such files (as part of xcalib).

If you use startx to bring up the gui you can override the :# setting to tastes.

$ startx -- :0
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GIMP: Apply color tool to ALL layers? nakko Linux - Software 5 11-15-2015 01:59 AM
setting ROXterm profile/color defaults KYJazzyJeff Linux - Software 1 05-12-2013 07:55 AM
LXer: How to quickly apply color schemes to spreadsheet rows with OpenOffice LXer Syndicated Linux News 0 05-27-2010 07:10 AM
How to change the color profile of iceweasel (and other questions) ? wearetheborg Debian 5 03-28-2009 11:48 PM
ICM color profile Vookimedlo Linux - Software 0 12-24-2005 12:18 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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