一千萬個為什麽

搜索

如何編輯啟動應用程序?

如果我去設置,應用程序,啟動,我看到的是:

enter image description here

我記得我已經添加了一些啟動腳本(conky等)和應用程序(xbindkeys),但我無法在那裏看到它們。

我認為他們添加了不同的工具或其他東西。

最佳答案

在弗雷亞

我使用的工具是 gnome-session-properties (默認安裝的 gnome-session-bin 包)

為了啟動它,我創建了一個桌面文件,如下所示:

gedit ~/.local/share/applications/startup.desktop

[Desktop Entry]
Type=Application
Name=StartupApps
Comment=View apps starting 同 the system
GenericName=Startup Applications
Icon=preferences-system
Terminal=false
Categories=Gnome;Gtk;System;
Exec=gnome-session-properties

表明:

enter image description here

它有編輯選項。

But it seems that for security reasons 在弗雷亞 stable the default startup options which were accessible 在弗雷亞 beta 同 this tool (see here, from this older answer (that I had forgotten about!)) are now hidden, and only the new custom options are visible.


在Loki

在Loki ' Settings, Applications, Startup' shows the same items as gnome-session-properties.

enter image description here

但後者仍然具有提供編輯條目的選項的優點(在前者必須移除並再次添加條目以修改它)。

A cool feature in both tools is the possibility to use drag&drop of application launcher files (the kind of .desktop files found in the applications folders) onto the window in order to add new startup items. Only such files can be added in this way, not scripts; in order to add scripts, you have to use the 'Add' option.

轉載註明原文: 如何編輯啟動應用程序?