Results 1 to 4 of 4

Thread: Need a hint on adjusting screen gamma permanently

  1. #1
    Join Date
    Apr 2010
    Beans
    98

    Need a hint on adjusting screen gamma permanently

    Good time of day, everyone! I'm facing this problem with my Ubuntu 12.04.1 and a new ViewSonic monitor. The trouble is that the monitor has it's default gamma value set too high and there is no way I can adjust it by monitor controls.
    So far I've been using the
    Code:
    xgamma -gamma .7
    command to get a comfortable picture. The problem is that after the system is locked or after I go to the "Switch User" menu gamma is reset back to 1.0 level. What can I do to adjust it once and for all times?

  2. #2
    Join Date
    Jan 2009
    Beans
    24
    Distro
    Ubuntu

    Re: Need a hint on adjusting screen gamma permanently

    I don't have a solution to your issue. But I tried your command and my screen looks better! Some ideas to checkout could be a gamma setting in xorg.conf. Or RedShift, as it sort of does the same thing. You might be able to investigate their code as it always changes the screen back after a lock or user change.

  3. #3
    Join Date
    Aug 2008
    Beans
    14

    Re: Need a hint on adjusting screen gamma permanently

    You need to add this command to your startup applications:

    /usr/bin/xgamma -gamma 0.7

    You add startup applications by selecting "Startup Applications" from the drop-down menu shown when you hit the exit button in the upper right-hand corner of the screen. Under startup applications preferences, select "Add", then fill-out the add-startup-program form. Add the above command in the "command" entry.

    Hope this helps.

  4. #4
    Join Date
    Jan 2009
    Beans
    24
    Distro
    Ubuntu

    Re: Need a hint on adjusting screen gamma permanently

    Quote Originally Posted by jdrichardson View Post
    You need to add this command to your startup applications:

    /usr/bin/xgamma -gamma 0.7

    You add startup applications by selecting "Startup Applications" from the drop-down menu shown when you hit the exit button in the upper right-hand corner of the screen. Under startup applications preferences, select "Add", then fill-out the add-startup-program form. Add the above command in the "command" entry.

    Hope this helps.
    I think the OP had it in the startup apps, but was having issues with it when he switched users or unlocked the screen. I just looked at the command line options for redshift and it has the gamma functionality (plus lots of others). So, he needs to add the following to the startup applications after he's installed redshift (It's in the ubuntu repository):

    Code:
    /usr/bin/redshift -t 6500K:5000K -g .7:.7:.7
    Cheers

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •