Ubuntu14.04下启动栏打开chrome产生两个图标的解决办法

(2018年 博主有了自己的博客站点啦,去看看

ubuntu14下,用unity的启动器打开google-chrome,在启动器上会有两个chrome的图标,而且点击其中一个会无视存在的chrome窗口,开启新窗口;使用bash命令打chrome开则正常一个图标。google之得到如下解决办法:

ctrl+alt+T打开终端,运行如下命令

rm $HOME/.local/share/applications/google-chrome-*.desktop

对此,解决办法提供者的解释:

From then on, Unity launcher won't create a second icon when you open Chrome.

I suspect that file is created when Chrome navigates directly to a site upon launch. Thegoogle-chrome-*.desktop file gives Unity a differentName value for Google Chrome than that defined when the application was added to the launcher, so Unity launcher doesn't know it's the same application.


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值