:: Re: [DNG] Controlling screen bright…
Página Principal
Delete this message
Reply to this message
Autor: Jim Murphy
Data:  
Para: dng
Assunto: Re: [DNG] Controlling screen brightness
On Fri, Jan 12, 2018 at 8:12 PM, Gregory Nowak <greg@???> wrote:

> On Fri, Jan 12, 2018 at 10:20:06AM +0100, Didier Kryn wrote:
> >     The brightness is controlled through 3 files in
> > /sys/class/backlight/intel_backlight, named actual_brightness,
> brightness
> > and max_brightness.

> >
> >     The brightness can be controlled by writing to these files. But these
> > files do not exist if xfce4-power-manager isn't installed. So it seems I
> > need this package (or an equivalent in another DE) to be able to set a
> > decent brightness.

>
> Hmmm, are you sure? I have a text only install of devuan Jessie on an
> external usb drive (no GUI at all), and these files do exist for me on
> that install when I use it on my laptop.
>


Modern Linux distributions include a /sys directory as a virtual filesystem
(*sysfs*, comparable to /proc, which is a *procfs*), which stores and allows
modification of the devices connected to the system, whereas many
traditional
UNIX and Unix-like operating systems use /sys as a symbolic link to the
kernel source tree.

​From: ​https://superuser.com/questions/794198/directory-sys-in-linux

You may want to start here if your interested in digging deeper.