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 set Shortcut Icon in Linux

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

Share

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

Preface

Creating shortcuts under the Linux system allows you to open applications faster. Here is a method introduced to you, which is also checked and sorted out before. I would like to share it with you.

By the way, after opening the application under Linux, the corresponding program thumbnail appears in the application bar on the left (that is, vertical, I'll call it the application bar). Right-click on the thumbnail to come out of the menu, you can choose to lock to the application bar, and you can click the application thumbnail here to start the application.

The methods are as follows:

1, enter a directory

/ usr/share/applications

2. Make a copy of an existing similar document (here is written according to eclipse)

Cp xxxxx.desktop eclipse.desktop

3. Modify the copied file

Vim eclipse.desktop

4, add the content as

[Desktop Entry] Encoding=UTF-8Name=eclipseComment=Eclipse IDEExec=/home/ own directory / opt/soft/eclipse-jee-neon/eclipseIcon=/home/ own directory / opt/soft/eclipse-jee-neon/icon.xpmTerminal=falseStartupNotify=trueType=ApplicationCategories=GNOME;Development

Summary

The above is the whole content of this article, I hope that the content of this article has a certain reference and learning value for your study or work, if you have any questions, you can leave a message and exchange, thank you for your support.

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