See the Security and Bug Fixes Section - Grub EFI Install Updates Fix Sticky


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] How do I adjust screen brightness on an Asus G750JS?
#2
What is the output of
Code:
xrandr

When I run xrandr I get this:
Code:
xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 16384 x 16384
DVI-I-0 disconnected (normal left inverted right x axis y axis)
VGA-0 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 477mm x 268mm
   1920x1080      60.0*+
   1680x1050      60.0 
   1280x1024      75.0     60.0 
   1152x864       75.0 
   1024x768       75.0     60.0 
   800x600        75.0     60.3 
   640x480        75.0     59.9 
DVI-I-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 disconnected (normal left inverted right x axis y axis)
Loook for the word connected in the output. Whatever stands in front of it is the port yout monitor is conected to.
For me it's VGA-0
To change the brightness toi 70% I use this command
Code:
xrandr --output VGA-0 --brightness 0.7
And to return to normal
Code:
xrandr --output VGA-0 --brightness 1
As you see the value goes from 0 to 1.

If you are not sure how to do this and you have only one monitor connected, use this command:
Code:
xrandr | sed -n 's/ connected.*//p' | xargs -n1 -tri xrandr --output {} --brightness 0.6
It will run xrandr, find the line containing string connected and remove that string and everything behind that. What's left it will be passed through the pipe and and the brightness will be set to to 0.6
To change it back use
Code:
xrandr | sed -n 's/ connected.*//p' | xargs -n1 -tri xrandr --output {} --brightness 1
You can set the keyboard shortcuts to run these commands
Menu -> Settings -> Keyboard -> Application Shortcuts <-

You can also set gamma while setting the brightness Smile
The colors are 1:1:1 meaning red:green:blue all set to 100%

Code:
xrandr | sed -n 's/ connected.*//p' | xargs -n1 -tri xrandr --output {} --brightness 0.6 --gamma 0.1:1:1
To change it back.
Code:
xrandr | sed -n 's/ connected.*//p' | xargs -n1 -tri xrandr --output {} --brightness 1 --gamma 1:1:1
Reply


Messages In This Thread
Re: [SOLVED] How do I adjust screen brightness on an Asus G750JS? - by misko_2083 - 05-16-2015, 09:11 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)