You are not logged in.

#1 2012-07-05 11:07:27

carbolymer
Member
Registered: 2012-04-25
Posts: 45

[SOLVED] Backlight hotkeys

Hello,

I've got a problem with backlight regulation in my laptop using hotkeys. when after system restart hotkeys does not work (it means in xfce i don't see a "sun" and bar indicating level of backlight). After i set a value of /sys/class/backlight/toshiba/brightnes to 7 (default is -5 - i don't know why), the brightness indicator starts working - but brightness does not change. The true value of brightness is stored in /sys/class/backlight/acpi_video0/brightness - ofc backlight changes when i set proper value to this file. Any1 knows how can i make my hotkeys change this file instead of brightness file in toshiba directory?

Last edited by carbolymer (2012-07-08 10:16:12)

Offline

#2 2012-07-06 09:21:24

moetunes
Member
From: A comfortable couch
Registered: 2010-10-09
Posts: 1,033

Re: [SOLVED] Backlight hotkeys

You could make a script that changes the values in that file and add it to the xfce keyboard shortcuts.


You're just jealous because the voices only talk to me.

Offline

#3 2012-07-08 10:15:55

carbolymer
Member
Registered: 2012-04-25
Posts: 45

Re: [SOLVED] Backlight hotkeys

Oh. I've found a solution. Acpid is an easiest way to do it: https://wiki.archlinux.org/index.php/Acpid
Also useful bash script: https://bbs.archlinux.org/viewtopic.php?pid=989258

Offline

#4 2012-07-08 10:46:27

progandy
Member
Registered: 2012-05-17
Posts: 5,307

Re: [SOLVED] Backlight hotkeys

You could also try to add acpi_backlight=legacy to your kernel line
https://wiki.archlinux.org/index.php/Backlight#ACPI

Last edited by progandy (2012-07-08 10:46:44)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

Board footer

Powered by FluxBB