Ubuntu boot brightness and Bluetooth

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.