1

I'm using Ubuntu 13.10 with GNOME 3.10 on a Packard Bell EasyNote-TK37 (Intel GM45 Express graphics), and I've had significant problems with my backlight.

Initially, upon booting the backlight would not turn on, but if I shone a light at the screen I could see that it was being drawn correctly. I solved the issue using the commands in the following post:

https://stackoverflow.com/questions/8380688/linux-ubuntu-11-04-install-backlight-wont-turn-on

However, this didn't completely solve all issues. When the laptop sleeps, it's backlight turns off. This can be mitigated by setting the timer very high for sleeping, but when I lock the laptop the backlight still turns off, and will not turn back on.

Is there any way to force the backlight to remain on permanently?

Caffeine seems to fit that requirement, but it isn't working for me, at least on the current version of Ubuntu. A bash script would be extremely helpful, since I could add that to my backup script for when I have to reinstall Ubuntu.

If any clarification is needed please leave a comment below. Thanks.

4
  • Have you tried installing graphics drivers?
    – Seth
    Dec 16, 2013 at 2:37
  • not manually; I figured the drivers currently installed are the correct ones. Dec 17, 2013 at 18:40
  • They probably aren't. I'd check and see if there are other options.
    – Seth
    Dec 17, 2013 at 18:41
  • Do you know what graphics card you have?
    – Seth
    Dec 17, 2013 at 19:11

1 Answer 1

1

Here is a script that will move the mouse, wait 2 seconds, then move it back where it was before. This should keep your backlight on.

#!/bin/bash
#
# Required packages:  
#
# xdotool
#
#

eval  $(xdotool getmouselocation --shell)
xdotool mousemove 0 0
sleep 2
xdotool mousemove $X $Y

(It requires xdotool which you can get with sudo apt-get install xdotool)

Save it as a .sh file, then make it executable:

sudo chmod +x fileName.sh

If you want to automatically run it hourly put it in /etc/cron.hourly, or follow these directions to run it more often.

2
  • an interesting script, but I don't think it solves the specific issue of the backlight turning off when my computer is locked; that looks like a solution to preventing the computer sleeping. Dec 17, 2013 at 18:41
  • @RyanGrannell Ah, seems I misunderstood the question. You want to lock the screen without turning the backlight off?
    – Seth
    Dec 17, 2013 at 18:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .