GearHack

: :

Add Comment | Related Links | TrackBack
Related Content

Asus G46VW - Set Display and Keyboard Brightness in Ubuntu 12.10

After personalizing Ubuntu 12.10 to my liking, I found that Ubuntu has trouble remember my screen brightness settings, even though I set it through the "Brightness and Lock" options in "System Settings...". Ubuntu also recognizes the keyboard backlight. When you change it on the keyboard, Ubuntu pops up a dialog to show you the current setting. But like the display, it won't remember the setting once you reboot your computer; the screen and the keyboard always boots full bright.

The only way I was able to make these setting "permanent" from one boot session to another is to change the /etc/rc.local file with "sudo" permission. This is a file that gets executed by Linux at the end of its initialization sequence. I simply added a few lines to change the display and keyboard brightness settings after the computer has booted. I simply inserted the following lines into rc.local to get it to work.

# Change Display Brightness
echo 5 > /sys/class/backlight/acpi_video1/brightness

sleep 1

# Change Keyboard Brightness
echo 0 > /sys/devices/platform/asus-nb-wmi/leds/asus::kbd_backlight/brightness

For the display, the range is 0 to 10. I like it at 5. You can change the value to whatever you like between the range. The keyboard has a range of 0 to 3. I prefer an unlit keyboard, so I set it to 0.

Jake
Fri, 08 Mar 2013 05:26:22 +0300

Apparently, as I have just found out, the keybaord backlight setting in rc.local is not "permanent". When I close and open the lid on the notebook, the backlight is on again. On the other hand, If I use the Fn-F3 to turn off the backlight, the backlight stay off between lid opening and closing. So a better solution for the keyboard backlight is needed.

Jake
Fri, 08 Mar 2013 21:24:49 +0300

In addition, I found that if you enabled "Dim screen to save power" in the "Brightness and Lock" under "System Settigs...", when the screen brightness changes, it will trigger the keyboard light to be on again. It looks like it's really difficult to keep the keyboard backlight off through the command-line.

Jake
Sat, 16 Mar 2013 21:39:31 +0300

Add Comment | Related Links | TrackBack
Related Content

Did your message disappear? Read the Forums FAQ.

TrackBack

Send Ping | TrackBack URL | Spam Control

Title: Asus G46VW - Dual Boot Ubuntu 12.10 with Pre-Installed Windows 8
Weblog: GearHack
Excerpt: After Wrestling with Windows 8, Secure Boot, and UEFI to Boot USB Flash Drive, I finally figure out a working solution to get Ubuntu 12.10 to work happily with the pre-installed Windows 8. My goal is to get Mac OS X on this awesome Asus G46VW-BSI5N06 gaming ultrabook as well. But I'm happy at this p . . .
Tracked: Sat, 09 Mar 2013 02:08:53 +0300

Title: Enable Nvidia Optimus with Ubuntu 12.10
Weblog: GearHack
Excerpt: Nvidia Optimus is a software/hardware solution that automatically switches between a low end graphics card and a high-end Nvidia graphics card based on demand. This solution allows laptops with longer battery run time. Because this solution utilizes both software and hardware, the correct software i . . .
Tracked: Sat, 09 Mar 2013 02:09:22 +0300

Add Comment

Spam Control | * indicates required field
Your Name: *
E-mail:
Remember Me!
Comment: *
File attachment is optional. Please do not attach a file to your submission unless it is relevent.
Attach File:
(20 MB Max)
Spam Protection: * Answer of 3 - 1?
Click button only once, please!

Messages, files, and images copyright by respective owners.


Articles | Wiki
Forums | Latest | RSS
Library | Links | News
Search | Store | Help

29 Users Online


Hacking Digital Cameras
Fun for Photographers

Amazon Associate

Copyright © 2004 - 2017. All Rights Reserved.