If the RPM package is installed or in the system original program, directly to/usr/share/applications/right click on the corresponding icon, copy to .... Just go to the desktop. The English version of the CentOS system comes with the default use of the English version of Firefox, the server in foreign countries, Firefox account system for some reason has become two sets, the domestic use of a separate set, however, the two systems of the account of each other, that is, with the domestic account can not be logged abroad in turn, So we have to uninstall the original and then go to firefox.com.cn to download the Linux version of the BZ2 package.
# Cp/usr/share/applications/firefox.desktop/home/user/desktop
# yum Remove Firefox
# tar jxvf firefox-latest-x86_64.tar.bz2/* Download Firefox and unzip to Firefox directory */
# Cd/home/user/desktop
# VIM Firefox.desktop/* Edit and change the exec parameter to execute the file path, icon is the specific path to the image */
#!/usr/bin/env xdg-open
[Desktop Entry]
version=1.0
name=firefox
genericname=web Browser
Comment=browse the Web
exec=/path/to/firefox/firefox%u
icon=/path/to/firefox/browser/icons/ Mozicon128.png
terminal=false
type=application
mimetype=text/html;text/xml;application/xhtml+xml; Application/vnd.mozilla.xul+xml;text/mml;x-scheme-handler/http;x-scheme-handler/https;
Startupnotify=true
categories=network; WebBrowser;
x-desktop-file-install-version=0.21
The shortcuts in the Program menu are saved under/user/share/applications, similarly, copying files directly to your desktop can create shortcuts like Windows, note the right to change the file, and you may need to click ' Mark as ' when you open it. Trusted '.