How can I tint my screen in ubuntu?

[U]ber|Noob

Limp Gawd
Joined
Apr 4, 2013
Messages
427
I want to tint my screen a colour such as blue for example.

Can it be done in Ubuntu?

I couldn't find a way, except for programs to change the colour temperature by the time of day which I don't need.

Any suggestions appreciated.


In case you don't understand what I mean, start Gimp, go to "colors > colorize" then change the hue.
Or go to "colors > color balance" and adjust.
That's great for image editing but how can I tint my whole desktop screen in the same way?

Can I do it with a terminal command?
 
Last edited:
If you use amd/nvidia display driver just adjust the color balance from the RGB sliders to your preference.
 
If your graphics driver is sufficiently modern (i.e. XRandR 1.2 capable), you can use xrandr gamma settings to affect the color of your display.

For example, reducing red:
Code:
$ xrandr --output DisplayPort-0 --gamma 0.5:1:1
(replace DisplayPort-0 with the actual connector name)
 
Thanks, that seems to be just what I want, what is the line to determine what my display adapter is called? Or can you point me to a link? thanks.
 
You don't need to specify the display adapter. If you run xrandr without any arguments, it will show the display outputs and whether a monitor is connected to them:
Code:
$ xrandr
Screen 0: minimum 320 x 200, current 1920 x 1080, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 510mm x 287mm
   1920x1080     60.00*+
   1280x1024     60.02  
   1440x900      59.89  
   1280x800      59.81  
   1152x864      75.00  
   1024x768      70.07    60.00  
   800x600       60.32    56.25  
   640x480       66.67    60.00  
   720x400       70.08  
HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 disconnected (normal left inverted right x axis y axis)
In this case, DisplayPort-1 would be the connector name to use.

If however the output of xrandr looks more like this:
Code:
Screen 0: minimum 640 x 480, current 1600 x 1200, maximum 1600 x 1200
default connected 1600x1200+0+0 0mm x 0mm
1600x1200 0.0*
1280x1024 0.0
1024x768 0.0
800x600 0.0
640x480 0.0
then your driver does not support XRandR 1.2.
 
~$ xrandr
Screen 0: minimum 640 x 480, current 1920 x 1080, maximum 2048 x 2048
LCD connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 60.0*

Here's what I get, does it mean I can't adjust gamma since there are no display ports?
Is there any other alternative way to adjust gamma?
 
[U]ber|Noob;1041554897 said:
~$ xrandr
Screen 0: minimum 640 x 480, current 1920 x 1080, maximum 2048 x 2048
LCD connected primary 1920x1080+0+0 0mm x 0mm
1920x1080 60.0*

Here's what I get, does it mean I can't adjust gamma since there are no display ports?
Is there any other alternative way to adjust gamma?

May I consider a self adhering tinting film from the nearest photographing shop? :D

Why do you want to change your gamma anyway like that?
 
I ordered one already but unfortunately it just doesn't add enough tint.

I want to tint b&w video without having to convert them before hand.

I have a small arm computer (with ubuntu installed) I was hoping to use the tint on but if I can't I will definitely use the tint on a larger desktop computer.
 
[U]ber|Noob;1041556278 said:
I ordered one already but unfortunately it just doesn't add enough tint.

I want to tint b&w video without having to convert them before hand.

I have a small arm computer (with ubuntu installed) I was hoping to use the tint on but if I can't I will definitely use the tint on a larger desktop computer.

Well thats your problem then, you need a computer with a proper graphics card that has a proper driver that has option to adjust these things.
 
Yes I know now, but I already bought it.

It plays video great, but it's just a shame that I cant adjust the gamma.

I just hoped that since the computer software has to generate the picture for each frame, I could just tell it to change the values of each pixel at a core level somehow.
 
Last edited:
[U]ber|Noob;1041557482 said:
Yes I know now, but I already bought it.

It plays video great, but it's just a shame that I cant adjust the gamma.

I just hoped that since the computer software has to generate the picture for each frame, I could just tell it to change the values of each pixel at a core level somehow.

The mali driver does seem to have gamma options, at least the model discussed here: http://freaktab.com/forum/tv-player...+++u-ubuntu-ports/8263-rk3188-mali-3d-support
 
Last edited:
Link no worky, put search word rk3188-mali-3d-support to google.
 
I tried xgamma -bgamma .5

but I get no change, even though it returns a change to the value.
 
Back
Top