Xbacklight

If none of the more specific forums is the right place to ask

Xbacklight

Postby questlinq » 2017-12-03 17:10

Hello,

I'm trying to set screen brightness in terminal using
Code: Select all
xbacklight -set 15
and I get the following error 'No outputs have backlight property'.

If I'm not mistaken I believe 'xorg.conf' file must be created in /etc/X11 .. My question is what data from
Code: Select all
xrandr --verbose
output to be put in xorg.conf file, if I'm using AMD driver?
questlinq
 
Posts: 14
Joined: 2017-09-19 08:51

Re: Xbacklight

Postby Head_on_a_Stick » 2017-12-03 17:41

I don't think an xorg.conf will make `xbacklight` work (but I may be wrong).

However, I do know that my AMD laptop (with the free radeon drivers) allows for keyboard backlight control if xfce4-power-manager is installed and running; the GNOME desktop also supports the backlight keys without needing that program.

Alternatively, you could try fiddling with the kernel parameters to see if that helps:

https://wiki.archlinux.org/index.php/Ba ... ne_options
"Sheer [program] size is often an illusion, reflecting only a need for improvement." — Kernighan and Plauger
User avatar
Head_on_a_Stick
 
Posts: 6815
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Xbacklight

Postby questlinq » 2017-12-03 18:39

@Head_on_a_Stick

Unfortunately, none of your suggestions worked for me - Thank you for your effort.
questlinq
 
Posts: 14
Joined: 2017-09-19 08:51

Re: Xbacklight

Postby debiman » 2017-12-05 06:30

"nothing worked" is not a valid statement on a technical forum.

but...

if X isn't running, xbacklight won't work. simple.

apart from that, i read multiple statements (and my own experience) that xbacklight simply doesn't work.
try compiling https://github.com/haikarainen/light - it's easy, and has worked on my system, where xbacklight failed.
User avatar
debiman
 
Posts: 1633
Joined: 2013-03-12 07:18


Return to General Questions

Who is online

Users browsing this forum: dx486 and 5 guests

fashionable