Answers:
详细信息全部在设置*.desktop
文件中。
/usr/share/applications
。*.desktop
设置的文件。gedit
。例如,要打开“ 亮度和锁定”,我使用了以下命令。
gedit '/usr/share/applications/gnome-screen-panel.desktop'
该文件的内容gnome-screen-panel.desktop
如下所示。文件的第四行Exec=gnome-control-center screen
显示打开“ 亮度和锁定”设置窗口的终端命令是gnome-control-center screen
。
[Desktop Entry]
Name=Brightness and Lock
Comment=Screen brightness and lock settings
Exec=gnome-control-center screen
Icon=system-lock-screen
Terminal=false
Type=Application
StartupNotify=true
Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-PersonalSettings
OnlyShowIn=GNOME;Unity;
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=screen
X-GNOME-Bugzilla-Version=3.4.1
X-GNOME-Settings-Panel=screen
# Translators: those are keywords for the brightness and lock control-center panel
Keywords=Brightness;Lock;Dim;Blank;Monitor;
X-Ubuntu-Gettext-Domain=gnome-control-center-2.0
gksudo
仅查看文件内容。您可以使用gedit
而不用麻烦输入密码。