Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to add a program desktop icon to the ubuntu launcher

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article mainly introduces how to add the program desktop icon to the ubuntu initiator, the article is very detailed, has a certain reference value, interested friends must read it!

Resolve the problem:

Because FileZilla this program is directly unzipped after you can use, every time you need to go to the file directory Filezilla/bin/filezilla double-click to execute, too troublesome, if you directly use soft links, then you can also achieve, sudo ln-s / opt/FileZilla/bin/filezilla ~ / Desktop/filezilla, but as shown below, there is no icon, it is too ugly.

No icon

1. First, create a filezilla.desktop file, as shown below:

Filezilla file content

Exec is the execution file of the program, Icon is the icon file of the program, and Name is the name of the program.

two。 Modify the file permissions: sudo chmod 744 filezilla.desktop, and then you can see that the file becomes the shortcut startup icon of the program, as shown below:

Files with modified permissions

3. All the files in the initiator are stored in / usr/share/applications, so use the command to move the file to the target directory:

The code is as follows:

Sudo cp filezilla.desktop / usr/share/applications

4. The program can then be searched in the initiator.

Note: after my ubuntu was upgraded from 12.04, the eclipse icon became very large, like hyperthyroidism. After taking a look, the pixel of the eclipse icon is 256 / 256, so after randomly looking for a smaller eclipse icon of 48 / 48, it will return to normal.

The above is all the content of the article "how to add a program desktop icon to the ubuntu launcher". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report