uos基础 autostart 设置程序开机自启动

统信桌面操作系统专业版V20(1070)

Linux uos 5.10.97-arm64-desktop

uos基础 autostart 设置程序开机自启动

c 复制代码
code@uos:~$ ls
模板  Desktop  Documents  Downloads  Music  Pictures  Videos
code@uos:~$ ls -al
总用量 320
drwxr-x--- 21 code code   4096 10月 28 15:19 .
drwxr-xr-x  4 root root   4096 10月 28 15:18 ..
drwxr-xr-x  2 code code   4096 9月  15 10:45 模板
-rw-r--r--  1 code code     86 11月  9  2024 .bash_aliases
-rw-r--r--  1 code code    220 2月  25  2024 .bash_logout
-rw-r--r--  1 code code   3748 6月  12  2024 .bashrc
drwxr-xr-x  8 code code   4096 10月 28 15:19 .cache
drwxr-xr-x 16 code code   4096 10月 28 15:19 .config
drwx------  3 code code   4096 10月 28 15:19 .dbus
drwxr-xr-x  2 code code   4096 10月 28 15:19 .deepin-defender
drwxr-xr-x  2 code code   4096 10月 28 15:19 Desktop
drwxr-xr-x  2 code code   4096 6月  12  2024 Documents
drwxr-xr-x  2 code code   4096 6月  12  2024 Downloads
drwx------  3 code code   4096 10月 28 15:19 .gnupg
-rw-r--r--  1 code code     27 10月 28 15:19 .gtkrc-2.0
drwxr-xr-x  2 code code   4096 10月 28 15:19 .hplip
drwxr-xr-x  3 code code   4096 6月  12  2024 .icons
-rw-r--r--  1 code code 194683 10月 28 15:19 .kwin.log
drwxr-xr-x  3 code code   4096 6月  12  2024 .local
drwxr-xr-x  2 code code   4096 6月  12  2024 Music
drwxr-xr-x  3 code code   4096 6月  12  2024 Pictures
drwx------  3 code code   4096 10月 28 15:19 .pki
-rw-r--r--  1 code code    807 2月  25  2024 .profile
drwxr-xr-x  2 code code   4096 6月  12  2024 .Public
drwxr-xr-x  2 code code   4096 6月  12  2024 .Templates
drwxr-xr-x  2 code code   4096 10月 28 15:19 .themes
drwxr-xr-x  2 code code   4096 6月  12  2024 Videos
-rw-r--r--  1 code code    205 10月 28 15:19 .wget-hsts
-rw-------  1 code code      1 10月 28 15:19 .Xauthority
-rw-------  1 code code   9346 10月 28 15:19 .xsession-errors
-rw-r--r--  1 code code   1753 10月 28 15:19 .xwayland.log
code@uos:~$ cd .config/
code@uos:~/.config$ ls
autostart               deepin      google-chrome       pipewire-media-session  user-dirs.dirs
autostop                deepinwmrc  gtk-3.0             pulse
com.huawei.pcmanager    dsg         kcminputrc          SogouPY
dconf                   enchant     kglobalshortcutsrc  systemd
dde-first-run.log_code  fcitx       kwinrc              Trolltech.conf
c 复制代码
code@uos:~/.config$ cd autostart/
code@uos:~/.config/autostart$ ls
code@uos:~/.config/autostart$ cp /home/code/Desktop/uos-service-support.desktop .
code@uos:~/.config/autostart$ ls
uos-service-support.desktop
code@uos:~/.config/autostart$ 
  • cp之时,会有一个确认弹窗。
  • 这样做的效果是,设置"服务与支持"为开机自启动的程序
  • 特意重启试了一把,成功了
相关推荐
青瓦梦滋19 小时前
IP/MAC帧/ARP协议
运维·服务器·网络·网络协议·tcp/ip
阿 才20 小时前
Matlab(Simulink)使用详解
运维·网络·matlab
St_rive20 小时前
webUI自动化实现及封装
运维·自动化
xx~t20 小时前
嵌入式——Linux软件编程2
linux·运维·服务器·c语言·学习方法
Shell运维手记21 小时前
Linux (挂载|rpm|yum|源码编译)
linux·运维·笔记·网络协议·bash
-今昭-21 小时前
MFS高可用负载均衡
运维·负载均衡
ITyunwei098721 小时前
SSL 证书过期排查实战:openssl + Nginx 4步从发现到续签
运维·网络
郝开21 小时前
Docker Compose 本地环境搭建:kkFileView
运维·docker·容器
QYR_1121 小时前
2032年气相分解设备市场规模达2.25亿美元:VPD向高灵敏度、自动化晶圆污染检测升级
运维·自动化
RisunJan21 小时前
Linux命令-vgchange(修改 LVM 卷组属性)
linux·运维·服务器