来自的自动启动文件hplip-gui
位于/etc/xdg/autostart/hplip-systray.desktop
.
要修复菜单显示,我们需要通过为用户创建此文件的自定义副本,在DBus 的帮助下启动 hplip(如DropBox 案例):
killall hp-systray
rm ~/.hplip/hp-systray.lock
mkdir -p ~/.config/autostart/
cp /etc/xdg/autostart/hplip-systray.desktop ~/.config/autostart/
sed -i "s/hp-systray -x/dbus-launch hp-systray -x/" ~/.config/autostart/hplip-systray.desktop
然后重新启动并享受:
注意:
此方法适用于 18.04 LTS、18.10、19.04 和 19.10。这是错误 1810745的临时修复。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句