如何让程序(在本例中为 Solaar)出现在 Ubuntu 16.04 的系统设置面板中?
我想要添加的包位于/usr/bin/solaar
。我尝试查看/usr/share/applications/solaar.desktop
基于这个问题(--请阅读),但Categories
条目中没有任何内容与示例中的内容完全相同,否则我早就更改它了(并且已经尝试过)。以下是整个文件:
[Desktop Entry]
Name=Solaar
Comment=Logitech Unifying Receiver peripherals manager
Exec=solaar
Icon=solaar
StartupNotify=true
Terminal=false
Type=Application
Keywords=logitech;unifying;receiver;mouse;keyboard;
Categories=Utility;GTK;
# This line is provided by the manufacturer, but doesn't produce
# the desired effect when uncommented:
#Categories=Utility;GTK;Settings;HardwareSettings;
# I created this line based on the linked post, but it doesn't work:
#Categories=Utility;GTK;Settings;X-GNOME-Settings-Panel;HardwareSettings;
#X-GNOME-Settings-Panel=Solaar
...当我修改文件时,我确信sudo update-desktop-database
如链接的问题所示。
奖金:我希望该项目出现在“硬件”下。