任务:
\n\n启动时启动 xfce4-clipman
\n\n尝试过:
\n\n我在正确的位置创建了一个具有正确权限的 sh 脚本:
\n\nmartin@martin:/etc/init.d$ ls -l start_clipman.sh \n-rwxrwxr-x 1 root root 26 \xd0\xbc\xd0\xb0\xd1\x80 12 09:05 start_clipman.sh\nRun Code Online (Sandbox Code Playgroud)\n\nsh文件内容:
\n\nmartin@martin:/etc/init.d$ cat start_clipman.sh \n#!/bin/bash\nxfce4-clipman\nmartin@martin:/etc/init.d$ \nRun Code Online (Sandbox Code Playgroud)\n\n我跑了
\n\nmartin@martin:/etc/init.d$ sudo update-rc.d start_clipman.sh \ndefaultsinsserv: warning: script 'K01mount_disk.sh' missing LSB tags and overrides\ninsserv: warning: script 'K01start_clipman.sh' missing LSB tags and overrides\ninsserv: warning: script 'start_clipman.sh' missing LSB tags and overrides\ninsserv: warning: script 'mount_disk.sh' missing LSB tags and overrides\nRun Code Online (Sandbox Code Playgroud)\n\n潜在问题:
\n\n当我这样做时:
\n\nmartin@martin:~$ xfce4-clipman\nRun Code Online (Sandbox Code Playgroud)\n\n …