我喜欢chrome 安装完后只能用终端打开 请问能否实现像自带的firefox一样双击就可以打开啊 新手不胜感激!
打开后把它锁定在launcher上 行不?
要不你就按照firefox的那个,写个对应的desktop文件
lenky@lenky-Aspire-V5-471G:~/桌面$ cat firefox.desktop
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Name=Firefox Web Browser
Name[ar]=متصفح الوِب فَيَرفُكْس
Name[ast]=Restolador web Firefox
Name[bn]=ফায়ারফক্স ওয়েব ব্রাউজার
Name[ca]=Navegador web Firefox
Name[cs]=Firefox Webový prohlížeč
Name[da]=Firefox - internetbrowser
Name[el]=Περιηγητής Firefox
Name[es]=Navegador web Firefox
Name[et]=Firefoxi veebibrauser
Name[fa]=مرورگر اینترنتی Firefox
Name[fi]=Firefox-selain
…
Exec=firefox %u
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=firefox
Categories=GNOME;GTK;Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml+xml;application/xml;application/rss+xml;application/rdf+xml;image/gif;image/jpeg;image/png;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/ftp;x-scheme-handler/chrome;video/webm;application/x-xpinstall;
StartupNotify=true
Actions=NewWindow;NewPrivateWindow;
…
真的很感谢你虽然我还没看很懂,想知道哪个desktop文件在哪找的,谢谢。。。:handshake
安装完 只会 会自动生成的
应该在
/usr/local/share/applications
目录下
你也可以按win键 在打开的dash里面搜

在/usr/local/share/applications目录下找到desktop文件,可以将它拷贝到桌面上,如果没有可执行权限的话,添加可执行权限: 在终端输入命令chmod +x *.desktop
安装好后在dash中搜索chrome然后单击运行chrome,在启动器栏会出现chrome图标,右键选固定到启动器,就可以了
是/usr/share/application吧????
是/usr/share/application吧????
chrome 默认是装在这里的
/usr/local/share/applications
