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 edit the start menu under Ubuntu

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

Share

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

Editor to share with you how to edit the start menu under Ubuntu. I hope you will get something after reading this article. Let's discuss it together.

Method 1: enter the command alacarte directly in the Ubuntu terminal. You can add, change, hide and show menus at will, but you cannot delete menus, even if you have root permissions.

Method 2: pay attention to several directories and files.

Desktop file under / usr/share/applications/

/ usr/share/applications/mimeinfo.cache file

Desktop file under ~ / .local / share/applications

Files in the ~ / .local / share/applications/default.list directory

~ / .local / share/applications/mimeinfo.cache file

/ etc/gnome/defaults.list file

Among them, the default.list file saves the way the file is opened, such as what program the txt document is opened with. Natural / etc is the global file opening mode, and .local is the personal file opening method.

Desktop files are menu items, which are menu items that appear under Application and System. The menu items under / usr are global, while those under .local are personal menu items.

Cache file global file opening method and personal file opening method cache

If you want to add a menu item, open any desktop file under / usr/share/applications/ and change it.

How to add a custom menu to the menu item you want to go to? For example, add to Programming, if you want to add a top-level directory, that is, the first-level directory under Application.

On Linux desktops, users can also easily find directory applications by clicking on shortcuts located on desktops or menus, as on Windows platforms. Both Linux KDE and Linux GNOME desktop systems use the Desktop Entry file standard to describe program startup configuration information.

After reading this article, I believe you have a certain understanding of "how to edit the start menu under Ubuntu". If you want to know more about it, you are welcome to follow the industry information channel. Thank you for reading!

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