Hey hey, it's a small problem, that is, it's a headache to save the screen brightness, and the Bluetooth is always started on and off for some machines with the same Bluetooth and wireless switch... it makes Tom uncomfortable... however, this solution is not straightforward. but indirectly solved. it is to re-set the value when loading the configuration file when the user starts... not much to mention... let's see the setting method...
Brightness: first, make sure that this file is available:
/Sys/class/backlight/acpi_video0/brightness
The cat value is your current screen brightness.
Modify the following file to add some User Startup settings:
Sudo gedit/etc/rc. local
Add the following code above exit 0 (Make sure exit 0 is not commented out ):
Echo screen brightness value>/sys/class/backlight/acpi_video0/brightness
In this way, the file will be read at the end of the boot to dynamically write the screen brightness value to the brightness file to change the current brightness.
Bluetooth: (T420 is applied to the machine, and the file in the bluetooth status is/proc/acpi/ibm/bluetooth.) in short, you 'd better find the file in the current bluetooth status, then modify rc. local file. The method is the same as above. Add the code above exit 0:
Echo "disable">/proc/acpi/ibm/bluetooth
This is a success... I always felt that this method was intended to have half a cup of water, I poured a cup, and then I drank half of it. but the problem is also solved temporarily... hey, if someone else has a better way to tell Tom... 3ks.
As a new comer... If I help you, I will be very happy...
Author: HenrYau