linux 开机启动脚本 fusuma

对于一些服务可以systemctl enable xxx

但是用户想要自己的任务开机启动怎么办的比如fusuma

fusuma是 一个支持多指触摸板的程序

想要其开机自启动可以添加到tweak 的start application中但我要

放到脚本中 如下

#! /bin/bash
echo xxxx | sudo -S fusuma -d &

然后关键一步在 /etc/profile

中最后添加一条 bash fusuma.sh, 因为开机会自动加载 /etc/profile

猜你喜欢

转载自blog.csdn.net/qq_38250124/article/details/84329868
今日推荐