You are not logged in.

#1 2012-04-11 10:29:06

MatejLach
Member
From: United Kingdom
Registered: 2011-06-22
Posts: 314
Website

[SOLVED] Setting KDM's brightness level after its startup

Ok, so I googled, binged etc. but was unable to came up with anything reasonable, so I ended up here - yet again:-)

Is there any way to control KDM's brightness level?
I am experiencing a common problem, where Intel-GPU based laptop gets black after init when booting up and I am still looking into this thing, so in the meantime I want to be able to set KDM's brightness to 80% after it starts up.

When using GDM, I was able to use xbacklight to solve this, by adding, e.g.:

xbacklight -set 80

to /etc/gdm/Init/Default ...

I know that KDM's main config is /usr/share/config/kdm/kdmrc ,but this does not seem to work there.
Any suggestions?

Last edited by MatejLach (2012-04-11 15:49:07)

Offline

#2 2012-04-11 15:10:51

berbae
Member
From: France
Registered: 2007-02-12
Posts: 1,302

Re: [SOLVED] Setting KDM's brightness level after its startup

kdm uses:

/usr/share/config/kdm/Xsetup

which is 'A program to run before the greeter is shown...'
according to comments in kdmrc.

You may try to write your xbacklight command in it.

Offline

#3 2012-04-11 15:22:25

MatejLach
Member
From: United Kingdom
Registered: 2011-06-22
Posts: 314
Website

Re: [SOLVED] Setting KDM's brightness level after its startup

berbae wrote:

kdm uses:

/usr/share/config/kdm/Xsetup

which is 'A program to run before the greeter is shown...'
according to comments in kdmrc.

You may try to write your xbacklight command in it.

That's exactly it, many thanks!

Offline

Board footer

Powered by FluxBB