How set brightness on startup – Ubuntu 12.04

by John
Published on: January 2, 2012
Categories: How To
Tags: No Tags
Comments: 16 Comments

Warning: Illegal string offset 'status_txt' in /home/jaclb/public_html/wp-content/plugins/share-and-follow/share-and-follow.php on line 1243

Warning: Illegal string offset 'status_txt' in /home/jaclb/public_html/wp-content/plugins/share-and-follow/share-and-follow.php on line 1243

Warning: Illegal string offset 'status_txt' in /home/jaclb/public_html/wp-content/plugins/share-and-follow/share-and-follow.php on line 1243

1. Create a file in /etc/init.d/file_name,


sudo nano /etc/init.d/file_name


2. Copy and paste the code below and save.


setpci -s 00:02.0 F4.B=50

3. Now lets set some permissions.


sudo chmod 755 /etc/init.d/file_name

4. We want the script to run on boot up.


sudo update-rc.d file_name defaults

Now restart your Ubuntu and the script we created will run on boot-up automatically.



Celebrate SFD with us on September 15! I'll be celebrating 20 years of Linux with The Linux Foundation!

RECENT COMMENTS


Welcome , April 30, 2016