求助,关于开机启动软件的问题
Tofloor
poster avatar
Dream
deepin
2017-07-11 09:04
Author
最近写了个脚本,想开机启动,发现linux下添加软件开机启动都是要管理员权限的,可是为什么deepin可以在启动器右键软件添加开机启动,并且不需要管理员密码?难道deepin有其他不需要管理员权限添加开机启动的方式?不懂,求教!
Reply Favorite View the author
All Replies
avatar
lcw0268
deepin
2017-07-11 15:41
#1
当初安装时已经确认,再添加开机启动,可以省确认这一步。
Reply View the author
avatar
jingle
deepin
2017-07-11 17:01
#2
启动器里面需要desktop文件
Reply View the author
avatar
Dream
deepin
2017-07-11 19:52
#3
https://bbs.deepin.org/post/142322
当初安装时已经确认,再添加开机启动,可以省确认这一步。

但是我之前写的一个脚本直接添加了一个快捷启动图标,也没用到管理员权限啊,那个图标也能右键加入到开机启动
Reply View the author
avatar
Dream
deepin
2017-07-11 19:54
#4
https://bbs.deepin.org/post/142322
启动器里面需要desktop文件

我知道需要desktop文件,我只是不明白 右键添加开机启动后进行了什么操作,而且不需要管理员权限
Reply View the author
avatar
pikachuhy
deepin
2017-08-02 07:42
#5
https://bbs.deepin.org/post/142322
启动器里面需要desktop文件

这个原理是什么?
Reply View the author
avatar
billy123456
deepin
2017-08-02 18:31
#6
https://bbs.deepin.org/post/142322
这个原理是什么?

它是用你的权限启动的
Reply View the author
avatar
billy123456
deepin
2017-08-02 18:32
#7
https://bbs.deepin.org/post/142322
我知道需要desktop文件,我只是不明白 右键添加开机启动后进行了什么操作,而且不需要管理员权限 ...

只是添加到~/.config/autostart而已,是登陆后启动
Reply View the author