CentOS 7 Creation Program (FIREFOX) Desktop shortcuts

Source: Internet
Author: User
Tags bz2 centos

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 '.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.