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之时,会有一个确认弹窗。
  • 这样做的效果是,设置"服务与支持"为开机自启动的程序
  • 特意重启试了一把,成功了
相关推荐
齐齐大魔王3 小时前
linux-僵死进程处理
linux·运维·服务器
.小小陈.6 小时前
Linux 线程概念与控制:从底层原理到实战应用
linux·运维·jvm
网络工程小王6 小时前
【LangChain 大模型6大调用指南】调用大模型篇
linux·运维·服务器·人工智能·学习
wangbing11256 小时前
各linux版本的包管理命令
linux·运维·服务器
Joseph Cooper6 小时前
Linux/Android 跟踪技术:ftrace、TRACE_EVENT、atrace、systrace 与 perfetto 入门
android·linux·运维
比昨天多敲两行7 小时前
Linux基础开发工具(下)
linux·运维·服务器
feng14568 小时前
OpenSREClaw - 故障复盘和变更评审双 Agent 案例
运维·人工智能
linux修理工9 小时前
chrome官方下载地址
运维·服务器
无忧智库9 小时前
IT运维正在经历一场真正的范式革命:从告警风暴到AIOps自主自愈的完整工程解构(WORD)
运维
cn_lyg9 小时前
Linux的入门级常用操作命令
linux·运维·服务器