Ubuntu This forum is for the discussion of Ubuntu Linux.
Notices
Welcome to
LinuxQuestions.org , a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free.
Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please
contact us . If you need to reset your password,
click here .
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a
virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month.
Click here for more info.
12-27-2020, 02:47 PM
#1
Member
Registered: Sep 2018
Posts: 214
Rep:
Adjusting contrast and gamma in Ubuntu
Hello, I am running Ubuntu 18.04 LTS on a Lenovo Ideapad 110 laptop. I want to adjust the screen contrast and gamma. Is there a GUI to do this, or do I need to do it from the terminal?
12-28-2020, 08:28 AM
#2
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792
1 members found this post helpful.
12-28-2020, 01:28 PM
#3
LQ Addict
Registered: Dec 2013
Posts: 19,872
A quick solution could be to use xgamma (if you run Xorg that is).
1 members found this post helpful.
12-29-2020, 06:28 AM
#4
Member
Registered: Jul 2020
Posts: 912
Depends on the desktop environment. KDE has a GUI (system settings-hardware-display&monitor-gamma), in gnome you can do it via custom colour profiles or via command line (xrandr --gamma)
1 members found this post helpful.
12-30-2020, 04:42 AM
#5
Member
Registered: Sep 2018
Posts: 214
Original Poster
Rep:
Quote:
Originally Posted by
pan64
Hello, I installed the program from official packages:
Code:
user@Lenovo-ideapad-110-17IKB:~$ sudo apt install ddccontrol gddccontrol ddccontrol-db i2c-tools
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-hwe-5.4-headers-5.4.0-42 linux-hwe-5.4-headers-5.4.0-45
linux-hwe-5.4-headers-5.4.0-47 linux-hwe-5.4-headers-5.4.0-48
linux-hwe-5.4-headers-5.4.0-51 linux-hwe-5.4-headers-5.4.0-52
linux-hwe-5.4-headers-5.4.0-53 linux-hwe-5.4-headers-5.4.0-54
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
libddccontrol0 libi2c0 libx86-1 read-edid
Suggested packages:
libi2c-dev python-smbus
The following NEW packages will be installed:
ddccontrol ddccontrol-db gddccontrol i2c-tools libddccontrol0 libi2c0
libx86-1 read-edid
0 upgraded, 8 newly installed, 0 to remove and 4 not upgraded.
Need to get 331 kB of archives.
After this operation, 1.548 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 ddccontrol-db all 20171217-1 [40,0 kB]
Get:2 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 libddccontrol0 amd64 0.4.3-2 [24,2 kB]
Get:3 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 ddccontrol amd64 0.4.3-2 [72,4 kB]
Get:4 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 gddccontrol amd64 0.4.3-2 [28,4 kB]
Get:5 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 libi2c0 amd64 4.0-2 [6.080 B]
Get:6 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 libx86-1 amd64 1.1+ds1-10.2 [75,2 kB]
Get:7 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 read-edid amd64 3.0.2-1build1 [18,9 kB]
Get:8 http://de.archive.ubuntu.com/ubuntu bionic/universe amd64 i2c-tools amd64 4.0-2 [66,2 kB]
Fetched 331 kB in 0s (1.350 kB/s)
Selecting previously unselected package ddccontrol-db.
(Reading database ... 367904 files and directories currently installed.)
Preparing to unpack .../0-ddccontrol-db_20171217-1_all.deb ...
Unpacking ddccontrol-db (20171217-1) ...
Selecting previously unselected package libddccontrol0:amd64.
Preparing to unpack .../1-libddccontrol0_0.4.3-2_amd64.deb ...
Unpacking libddccontrol0:amd64 (0.4.3-2) ...
Selecting previously unselected package ddccontrol.
Preparing to unpack .../2-ddccontrol_0.4.3-2_amd64.deb ...
Unpacking ddccontrol (0.4.3-2) ...
Selecting previously unselected package gddccontrol.
Preparing to unpack .../3-gddccontrol_0.4.3-2_amd64.deb ...
Unpacking gddccontrol (0.4.3-2) ...
Selecting previously unselected package libi2c0:amd64.
Preparing to unpack .../4-libi2c0_4.0-2_amd64.deb ...
Unpacking libi2c0:amd64 (4.0-2) ...
Selecting previously unselected package libx86-1:amd64.
Preparing to unpack .../5-libx86-1_1.1+ds1-10.2_amd64.deb ...
Unpacking libx86-1:amd64 (1.1+ds1-10.2) ...
Selecting previously unselected package read-edid.
Preparing to unpack .../6-read-edid_3.0.2-1build1_amd64.deb ...
Unpacking read-edid (3.0.2-1build1) ...
Selecting previously unselected package i2c-tools.
Preparing to unpack .../7-i2c-tools_4.0-2_amd64.deb ...
Unpacking i2c-tools (4.0-2) ...
Setting up ddccontrol-db (20171217-1) ...
Setting up libx86-1:amd64 (1.1+ds1-10.2) ...
Setting up libddccontrol0:amd64 (0.4.3-2) ...
Setting up ddccontrol (0.4.3-2) ...
Setting up libi2c0:amd64 (4.0-2) ...
Setting up read-edid (3.0.2-1build1) ...
Setting up i2c-tools (4.0-2) ...
Setting up gddccontrol (0.4.3-2) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
user@Lenovo-ideapad-110-17IKB:~$ sudo gddccontrol
Gtk-Message: 11:11:12.928: Failed to load module "canberra-gtk-module"
I/O warning : failed to load external entity "/home/user/.ddccontrol/monitorlist"
Document not parsed successfully.
Probing for available monitorsI/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BOE0684.xml"
Document not parsed successfully.
............
Invalid response, first byte is 0x09, should be 0x6e
0000: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0010: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0020: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0030: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0040: 09 09 09 | ...
Invalid response, first byte is 0x09, should be 0x6e
0000: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0010: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0020: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0030: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0040: 09 09 09 | ...
Invalid response, first byte is 0x09, should be 0x6e
0000: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0010: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0020: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0030: 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 09 | ................
0040: 09 09 09 | ...
I/O warning : failed to load external entity "/usr/share/ddccontrol-db/monitor/BOE0684.xml"
Document not parsed successfully.
Error while reading ddccontrol home directory.: Resource temporarily unavailable
(gddccontrol:5231): Gtk-CRITICAL **: 11:11:50.441: IA__gtk_widget_destroy: assertion 'GTK_IS_WIDGET (widget)' failed
user@Lenovo-ideapad-110-17IKB:~$ sudo apt-get update ddccontrol-db
E: The update command takes no arguments
user@Lenovo-ideapad-110-17IKB:~$
I tried to update, but it failed. When I run
to launch the GUI, I get this:
12-30-2020, 10:11 AM
#6
LQ Addict
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,792
yes, unfortunately the database is not really uptodate, you need to create an entry for your own monitor. Usually that means you need to copy an existing config (and rename it), but probably you need to fine tune it.
1 members found this post helpful.
All times are GMT -5. The time now is 06:06 PM .
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know .
Latest Threads
LQ News