如何以管理员身份开机启动程序
Tofloor
poster avatar
182******97
deepin
2015-12-12 05:42
Author
这个命令不管用呀
Reply Favorite View the author
All Replies
avatar
LightQuantum
deepin
2015-12-12 18:42
#1
修改 /etc/rc.local 脚本 这是开机启动脚本
Reply View the author
avatar
182******97
deepin
2015-12-13 01:38
#2
https://bbs.deepin.org/post/33997
修改 /etc/rc.local 脚本 这是开机启动脚本

求教 {:4_127:}以Cairo-dock 为例 举个例子
Reply View the author
avatar
LightQuantum
deepin
2015-12-13 03:12
#3
sudo nano /etc/rc.local
然后会看到类似下面的内容
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

exit 0
在exit 0上方空行写入cairo-dock -c
然后Ctrl+X 输入y 然后回车
Reply View the author
avatar
182******97
deepin
2015-12-13 03:51
#4
https://bbs.deepin.org/post/33997
sudo nano /etc/rc.local
然后会看到类似下面的内容
#!/bin/sh -e

I have been tried,But it is no useful.
Reply View the author
avatar
4***8@qq.com
deepin
2015-12-13 16:09
#5
你干嘛老是什么软件都想用管理员权限呢,有些软件本来正常情况下很好,你用管理员权限启动反而会出各种毛病,管理员权限需要才用,而不是什么软件都要用,你让这个dock默认以管理员权限开启是想干什么呢?
Reply View the author
avatar
136******54
deepin
2015-12-13 20:15
#6
这个软件不用以管理员权限启动,大部分软件都不用
Reply View the author
avatar
SnDream
deepin
2015-12-13 20:25
#7
一个dock去sudo干什么……
Reply View the author