LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 05-12-2016, 06:29 PM   #1
babbab
Member
 
Registered: Mar 2010
Distribution: slackware64 current
Posts: 104

Rep: Reputation: 4
G4 MacBook debian 8.4 Jessie screen dim at beginning. function key on


I have old G4 MacBook and installed debian 8.4 Jessie.
I managed it working wifi and Ethernet with firmware installed.

But when it starts up and starts X, screen is dim. I have to press brightness key everytime it boots to X.
May be something to do with systmed.

does anyone have solution to this screen dimming problem?

and function key is pressed instead of F1, F2 ...
can anyone find a solution to key problem, too?

Thanks
 
Old 05-12-2016, 07:07 PM   #2
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
I'm running Debian on the 2004 iBook, should be in the series you are speaking of. Mine's a 12" I think. I'm not sitting in front of it at the moment, so at least my initial answer will be vague, but it might lead you in the right direction.

Screen brightness is controlled by /proc or /sys. Do a find in those directories and try to locate the 'brightness' setting.

Alternately, the xbacklight package might help. Install it and test it out; if it works, put a call to it in .xinitrc or similar.
 
Old 05-12-2016, 07:41 PM   #3
babbab
Member
 
Registered: Mar 2010
Distribution: slackware64 current
Posts: 104

Original Poster
Rep: Reputation: 4
I know it's in something like this
/sys/class/backlight/acpi_video0/brightness
and give it a value with echo.

The problem is it loses value every time it boots.
I tried rc.local but didn't work
 
Old 05-12-2016, 08:36 PM   #4
babbab
Member
 
Registered: Mar 2010
Distribution: slackware64 current
Posts: 104

Original Poster
Rep: Reputation: 4
I managed screen dimming problem by put value with echo in /sys backlight brightness
turns out my debian system uses lightdm so I edit lightdm.conf to run a script after X starts before login

So I managed it.

But I haven't found solution for function key. it press function key instead of F1, F2, F3..
What controls keyboard key? does anyone know?
 
1 members found this post helpful.
Old 05-12-2016, 08:44 PM   #5
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
You probably know that the fn key will switch those keys to F1, F2, and so on.

I don't know how to change them outside the GUI, but I believe it might be an option in a control panel of your desktop environment.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Jessie black screen after grub only just started happening edged Linux - Newbie 10 04-22-2016 10:58 PM
[SOLVED] Screen dim time is very little. Whenever I pause to read whatever is on my screen or whatever the screen dims after about 3-5 seconds Ajwad Linux - Newbie 26 02-21-2016 01:45 PM
lost screen resolution after Debian/Jessie upgrade j1wu Linux - Hardware 1 04-09-2014 07:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration