[problem help] 启动器的程序需要root怎么加?
Tofloor
poster avatar
boydreaming
deepin
2024-09-09 11:41
Author

在启动器里的putty,打开端口ttys0之类,需要root权限,修改/usr/share/applications/putty.desktop里,

Exec=sudo /opt/apps/org.chiark.putty/files/bin/putty后,无法执行。

有谁知道如何修改?

Reply Favorite View the author
All Replies
忘记、过去
deepin
2024-09-09 12:24
#1
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY /opt/apps/org.chiark.putty/files/bin/putty
Reply View the author
boydreaming
deepin
2024-09-09 13:42
#2

多谢

Reply View the author