Skip to main content
Improved formatting.
Source Link

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local/etc/rc.local and add one line.

First, backupback up the rc.localrc.local file. If  If something goes wrong you can revert to the original file.

cat /etc/rc.local #!/bin/sh -e

rc.local

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

In order to enable or disable this script just change the execution

bits.

By default this script does nothing.

screen brightness line added

it's to make the laptop remember settings at power up.

echo 7 > /sys/class/backlight/acpi_video0/brightness

exit 0

cat /etc/rc.local 
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # screen brightness line added # it's to make the laptop remember settings at power up. echo 7 > /sys/class/backlight/acpi_video0/brightness exit 0 

Note that I added the line, "echo 7 > /sys/class/backlight/acpi_video0/brightness" echo 7 > /sys/class/backlight/acpi_video0/brightness to my rc.localrc.local file.

In my Debian Wheezy setup, the value "echo 7 >"echo 7 > … sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks offrc.local runs when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/ Installing Ubuntu on Samsung 5 (SSD+HDD) | LinuxMeerkat

scrollScroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

If you look at your /etc/rc.local, you will see most lines are preceded with the # symbol, indicating that line is a comment. Don't use the # for the "echo 7 >" line, and leave everything else the same.

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line.

First, backup the rc.local file. If something goes wrong you can revert to the original file.

cat /etc/rc.local #!/bin/sh -e

rc.local

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

In order to enable or disable this script just change the execution

bits.

By default this script does nothing.

screen brightness line added

it's to make the laptop remember settings at power up.

echo 7 > /sys/class/backlight/acpi_video0/brightness

exit 0

Note that I added the line, "echo 7 > /sys/class/backlight/acpi_video0/brightness" to my rc.local file.

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

If you look at your /etc/rc.local, you will see most lines are preceded with the # symbol, indicating that line is a comment. Don't use the # for the "echo 7 >" line, and leave everything else the same.

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line.

First, back up the rc.local file.  If something goes wrong you can revert to the original file.

cat /etc/rc.local 
#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # screen brightness line added # it's to make the laptop remember settings at power up. echo 7 > /sys/class/backlight/acpi_video0/brightness exit 0 

Note that I added the line echo 7 > /sys/class/backlight/acpi_video0/brightness to my rc.local file.

In my Debian Wheezy setup, the value echo 7 > … sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

rc.local runs when you restart your machine.

Here's the link: Installing Ubuntu on Samsung 5 (SSD+HDD) | LinuxMeerkat

Scroll down the page to find how to change default screen brightness on a laptop.

added 406 characters in body
Source Link
tex
  • 31
  • 2

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line:.

#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # screen brightness line added -jb # it's to make the laptop remember settings at power up. echo 7 > /sys/class/backlight/acpi_video0/brightness exit 0 

First, backup the rc.local file. If something goes wrong you can revert to the original file.

cat /etc/rc.local #!/bin/sh -e

rc.local

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

In order to enable or disable this script just change the execution

bits.

By default this script does nothing.

screen brightness line added

it's to make the laptop remember settings at power up.

echo 7 > /sys/class/backlight/acpi_video0/brightness

exit 0

Note that I added the line, "echo 7 > /sys/class/backlight/acpi_video0/brightness" to my rc.local file.

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

If you look at your /etc/rc.local, you will see most lines are preceded with the # symbol, indicating that line is a comment. Don't use the # for the "echo 7 >" line, and leave everything else the same.

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line:

#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # screen brightness line added -jb # it's to make the laptop remember settings at power up. echo 7 > /sys/class/backlight/acpi_video0/brightness exit 0 

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line.

First, backup the rc.local file. If something goes wrong you can revert to the original file.

cat /etc/rc.local #!/bin/sh -e

rc.local

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

In order to enable or disable this script just change the execution

bits.

By default this script does nothing.

screen brightness line added

it's to make the laptop remember settings at power up.

echo 7 > /sys/class/backlight/acpi_video0/brightness

exit 0

Note that I added the line, "echo 7 > /sys/class/backlight/acpi_video0/brightness" to my rc.local file.

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

If you look at your /etc/rc.local, you will see most lines are preceded with the # symbol, indicating that line is a comment. Don't use the # for the "echo 7 >" line, and leave everything else the same.

added 57 characters in body
Source Link
jordanm
  • 43.7k
  • 10
  • 121
  • 115

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line:

cat /etc/rc.local #!/bin/sh -e

rc.local

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

In order to enable or disable this script just change the execution

bits.

By default this script does nothing.

screen brightness line added -jb

it's to make the laptop remember settings at power up.

echo 7 > /sys/class/backlight/acpi_video0/brightness

exit 0

#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # screen brightness line added -jb # it's to make the laptop remember settings at power up. echo 7 > /sys/class/backlight/acpi_video0/brightness exit 0 

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line:

cat /etc/rc.local #!/bin/sh -e

rc.local

This script is executed at the end of each multiuser runlevel.

Make sure that the script will "exit 0" on success or any other

value on error.

In order to enable or disable this script just change the execution

bits.

By default this script does nothing.

screen brightness line added -jb

it's to make the laptop remember settings at power up.

echo 7 > /sys/class/backlight/acpi_video0/brightness

exit 0

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

I found the screen brightness solution in a somewhat obscure article. My issue was my laptop couldn't remember brightness settings upon reboot. I'll post the link at the end of my answer.

All that was needed was to edit the file /etc/rc.local and add one line:

#!/bin/sh -e # # rc.local # # This script is executed at the end of each multiuser runlevel. # Make sure that the script will "exit 0" on success or any other # value on error. # # In order to enable or disable this script just change the execution # bits. # # By default this script does nothing. # screen brightness line added -jb # it's to make the laptop remember settings at power up. echo 7 > /sys/class/backlight/acpi_video0/brightness exit 0 

In my Debian Wheezy setup, the value "echo 7 >" sets brightness midway between dark and bright. So 7 is perfect for me. Choose a value that suits you.

"rc.local" kicks off when you restart your machine.

Here's the link:

https://linuxmeerkat.wordpress.com/2012/12/06/installing-ubuntu-on-samsung-5-ssdhdd/

scroll down the page to find how to change default screen brightness on a laptop.

Hope that helps

tex

p.s. looks like the pasted-in terminal output of rc.local appears in bold text - don't know why...

Source Link
tex
  • 31
  • 2
Loading