![用于查找已存档的 .desktop 启动器的网站?](https://linux22.com/image/1038224/%E7%94%A8%E4%BA%8E%E6%9F%A5%E6%89%BE%E5%B7%B2%E5%AD%98%E6%A1%A3%E7%9A%84%20.desktop%20%E5%90%AF%E5%8A%A8%E5%99%A8%E7%9A%84%E7%BD%91%E7%AB%99%EF%BC%9F.png)
许多人可能已经意识到,12.04 的更新从仪表盘菜单中删除了某些启动器。
我经常使用的一些功能是“关机”、“重启”、“注销”和“软件源”。
现在,我知道我可以使用 HUD 关机、重启和注销,并且我可以运行software-properties-gtk
来访问来源。
但是,我可以在哪里找到这些启动器的存档 .desktop 文件?
答案1
如果有帮助的话,这是我的。
/usr/share/applications/indicator-session-shutdown.desktop
[Desktop Entry]
Name=Shut Down
TryExec=/usr/lib/indicator-session/gtk-logout-helper
Exec=/usr/lib/indicator-session/gtk-logout-helper --shutdown
Icon=system-shutdown
Terminal=false
Type=Application
OnlyShowIn=Unity;
Categories=System;
Version=1.0
X-Ubuntu-Gettext-Domain=indicator-session
/usr/share/applications/indicator-session-restart.desktop
[Desktop Entry]
Name=Restart
TryExec=/usr/lib/indicator-session/gtk-logout-helper
Exec=/usr/lib/indicator-session/gtk-logout-helper --restart
Icon=system-restart
Terminal=false
Type=Application
OnlyShowIn=Unity;
Categories=System;
Version=1.0
X-Ubuntu-Gettext-Domain=indicator-session
/usr/share/applications/indicator-session-logout.desktop
[Desktop Entry]
Name=Log Out
TryExec=/usr/lib/indicator-session/gtk-logout-helper
Exec=/usr/lib/indicator-session/gtk-logout-helper --logout
Icon=system-log-out
Terminal=false
Type=Application
OnlyShowIn=Unity;
Categories=System;
Version=1.0
X-Ubuntu-Gettext-Domain=indicator-session
/usr/share/applications/软件属性-gtk.desktop
[Desktop Entry]
Name=Software Sources
GenericName=Software Sources
Comment=Configure the sources for installable software and updates
Exec=software-properties-gtk
Icon=software-properties
Terminal=false
X-MultipleArgs=false
Type=Application
Categories=GNOME;GTK;Settings;X-GNOME-SystemSettings;X-GNOME-Settings-Panel;
MimeType=text/x-apt-sources-list;
X-KDE-SubstituteUID=true
X-Ubuntu-Gettext-Domain=software-properties
X-GNOME-Settings-Panel=software