Install a firefox, strange no desktop icons (white). Firefox attached a link . (Yum install firefox)
So I search the Internet search and found that after installation, you need to link the icon to the desktop.
First of all, under the home folder there is a Desktop folder
We need to be copied to the corresponding desktop folder, in the / usr / share / applications found firefox.desktop
Use the cp command to copy
After copying double-click on the line.
Another way is through links (links tentatively called it, the feeling is the same operation Shortcuts in a win)
Create a firefox.desktop in the Desktop
Wherein the code is:
#! / usr / bin / env xdg- Open [Desktop the Entry] Version = 1.0 Encoding = UTF- 8 the Name = Firefox Type = the Application Terminal = false the Name [en_US] = Firefox // icon Name Exec = / usr / lib64 / firefox / Firefox // address Firefox executable file the Comment [en_US] = the Browse at the Web // if there is no will do the Comment = the Browse at the Web // Ibid GenericName [en_US] = Icon = / usr / lib64 / Firefox / Browser / Chrome / iconsThe / default /default128.png // icons link
After you create a double-click on the line.
This uses the pwd command to get the current directory under linux (white lists the commands needed to - -)
reference:
https://www.cnblogs.com/sunny-zhao/p/10690324.html
https://blog.csdn.net/great_1996/article/details/82724815