[SOLVED] automate terminal command, netbook brightness
Posted: Fri Jun 08, 2012 8:34 am
Hi all. I am using Mint 13 Maya 64 bit.
I am not able to lower the brightness on my Acer Aspire One netbook via the function keys, which work in Windows.
So every time I boot into Mint, I have to open a terminal and execute: sudo setpci -s "00:02.0" F4.B=40 (40 is my preferred level of brightness, lower value to reduce brightness and vice versa)
Anyway, how can I automate this command, so that it is executed as soon as Mint loads? I can open up a terminal and press the up arrow, which displays a history of the last commands that were executed, which saves me from having to type it all out every time. But I would like it all to be automated so that I don't have to manually set the brightness in the terminal.
Is there a way of editing some startup file, or create some sort of script? Thanks in advance.
I am not able to lower the brightness on my Acer Aspire One netbook via the function keys, which work in Windows.
So every time I boot into Mint, I have to open a terminal and execute: sudo setpci -s "00:02.0" F4.B=40 (40 is my preferred level of brightness, lower value to reduce brightness and vice versa)
Anyway, how can I automate this command, so that it is executed as soon as Mint loads? I can open up a terminal and press the up arrow, which displays a history of the last commands that were executed, which saves me from having to type it all out every time. But I would like it all to be automated so that I don't have to manually set the brightness in the terminal.
Is there a way of editing some startup file, or create some sort of script? Thanks in advance.