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之时,会有一个确认弹窗。
  • 这样做的效果是,设置"服务与支持"为开机自启动的程序
  • 特意重启试了一把,成功了
相关推荐
confiself25 分钟前
GO环境配置
linux·运维·centos
可可嘻嘻大老虎6 小时前
nginx无法访问后端服务问题
运维·nginx
阳光九叶草LXGZXJ7 小时前
达梦数据库-学习-47-DmDrs控制台命令(LSN、启停、装载)
linux·运维·数据库·sql·学习
无忧智库7 小时前
某市“十五五“地下综合管廊智能化运维管理平台建设全案解析:从数字孪生到信创适配的深度实践(WORD)
运维·智慧城市
珠海西格7 小时前
“主动预防” vs “事后补救”:分布式光伏防逆流技术的代际革命,西格电力给出标准答案
大数据·运维·服务器·分布式·云计算·能源
阿波罗尼亚8 小时前
Kubectl 命令记录
linux·运维·服务器
IDC02_FEIYA8 小时前
Linux文件搜索命令有哪些?Linux常用命令之文件搜索命令find详解
linux·运维·服务器
犀思云8 小时前
如何通过网络即服务平台实现企业数字化转型?
运维·网络·人工智能·系统架构·机器人
江畔何人初8 小时前
kubectl apply与kubectl create的区别
linux·运维·云原生
M158227690559 小时前
四通道全能组网!SG-Canet-410 CAN转以太网网关,破解工业CAN通信瓶颈
linux·运维·服务器