我已经搜寻了互联网,但似乎没有人以前做过并谈论过它。我不具备Ubuntu的专业知识。如何使程序(在本例中为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
按照链接的问题中的指示进行操作。
奖励:我希望该物品出现在“硬件”下。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句