完整版:https://blog.csdn.net/weixin_43599336/article/details/85981442
写在前面
此方法仅适用于只含Intel集成显卡的便携式笔记本计算机!!
请先尝试https://blog.csdn.net/u013991521/article/details/49562365
的方案,如果失败,再使用这个
原先的亮度调节毫无作用
正文
请先安装screen,执行
sudo apt-get install screen
# 在etc目录建立“auto_run”文件夹以及两个文件
cd /etc/
sudo mkdir auto_run
sudo touch auto_run.sh
sudo touch change.py
打开auto_run.sh文件
sudo nano /etc/auto_run/auto_run.sh
加入以下片段
screen_name="auto_run"
screen -dmS $screen_name
#以下路径为python程序的路径
cmd="python3 /etc/auto_run/change.py&#