我在以 root 身份在 fedora 25 上启动 Sublime Text 3 时遇到问题。这是我的 /usr/share/applications/sublime_text.desktop
[Desktop Entry]
Version=1.0
Type=Application
Name=Sublime Text
GenericName=Text Editor
Comment=Sophisticated text editor for code, markup and prose
Exec=/bin/beesu "/opt/sublime_text3/sublime_text" %F
Terminal=false
MimeType=text/plain;
Icon=/opt/sublime_text3/Icon/16x16/sublime-text.png
Categories=TextEditor;Development;
StartupNotify=true
Actions=Window;Document;
[Desktop Action Window]
Name=New Window
Exec=/opt/sublime_text3/Icon/16x16/sublime-text -n
OnlyShowIn=Unity;
[Desktop Action Document]
Name=New File
Exec=/opt/sublime_text3/sublime_text --command new_file
OnlyShowIn=Unity;
当我启动程序时,要求我输入我的 root 密码。当我输入密码时,不要做任何事情。如果我删除/bin/beesu
程序可以完美运行,但是每次我想保存文件时,它都会要求我输入 root 密码,这很糟糕。如何解决这个问题?