In the Windows system, users can easily edit the start menu and perform various operations. However, in the Ubuntu system, many users do not know much about it and are relatively unfamiliar with the method of editing the start menu. Therefore, the editor will introduce how to edit the start menu in Ubuntu. Let’s go and see it together!
Method 1: Enter the command alacarte directly in the Ubuntu terminal. You can add, modify, hide, and display 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
The default.list file saves the way to open the file, such as what program to use to open the txt document. Naturally, the file opening method under /etc is the global file opening method, and the file opening method under .local is the personal file opening method.
The desktop file is a menu item, which appears under Application and System. Those under /usr are global menu items, and 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, just open a desktop file under /usr/share/applications/ and modify it accordingly.
How to add a customized menu to the menu item you want to go to? For example, if you want to add a top-level directory under Programming, that is, the first-level directory under Application.
On the Linux desktop system, users can also easily find directory applications by clicking the shortcut on the desktop or menu just like on the Windows platform. Both Linux KDE and Linux GNOME desktop systems use the Desktop Entry file standard to describe program startup configuration information.
The above is the detailed content of How to edit the start menu in Ubuntu? How to edit the start menu in Ubuntu. For more information, please follow other related articles on the PHP Chinese website!

IDLE(集成开发学习环境Integrated Development and Learning Environment)是一个 Python IDE,由 Python 语言本身编写,在 Windows 中通常作为 Python 安装 的一部分而安装。它是初学者的理想选择,使用起来很简单。对于那些正在学习 Python 的人,比如学生,它可以作为一个很好的 IDE 来开始使用。语法高亮、智能识别和自动补全等基本功能是这个 IDE 的一些特点。你可以随时在官方 文档 中了

如何在 Ubuntu 中切换多个 PHP 版本?下面本篇文章给大家介绍一下Ubuntu中切换多个 PHP 版本的方,希望对大家有所帮助!

1.使用快捷键【Ctrl+Alt+T】打开终端命令模式。2.可以通过以下方式重启nginx服务。方法一,在nginx可执行目录sbin下,输入以下命令重启/nginx-sreload#重启方法二,查找当前nginx进程号,然后输入命令:kill-HUP进程号,实现重启nginx服务#ps-ef|grepnginx#查找当前nginx进程号]#kill-TERM132#杀死nginx进程,132为nginx进程号

docker内ubuntu乱码的解决办法:1、通过“locale”查看本地使用的语言环境;2、通过“locale -a”命令查看本地支持的语言环境;3、在“/etc/profile”文件的结尾处添加“export LANG=C.UTF-8”;4、重新加载“source /etc/profile”即可。

查找无用的镜像首先,您可以检查当前使用的内核,您可以通过命令获得信息:uname-aa.例如,它在我的桌面上显示为:复制代码代码如下:magc@magc-desktop:~$uname-aLinuxmagc-desktop2.6.24-19-RT#1SMPpremptRTThu8月21日02:08336003UTC2008i686GNU/Linux然后通过查看这台机器上所有内核的列表来决定哪些需要删除:运行命令:复制代码代码如下:dpkg-get-selections|greplinux例如,我

ubuntu php无法启动服务的解决办法:1、在php-fpm.conf里面设置错误日志;2、执行“/usr/sbin/php-fpm7.4 --fpm-config /etc/php/fpm/php-fpm.conf”命令;3、修改php的配置文件注释即可。

ubuntu没有php-fpm的解决办法:1、通过执行“sudo apt-get”命令添加php的源地址;2、查看有没有php7的包;3、通过“sudo apt-get install”命令安装PHP;4、修改配置监听9000端口来处理nginx的请求;5、通过“sudo service php7.2-fpm start”启动“php7.2-fpm”即可。


Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

WebStorm Mac version
Useful JavaScript development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

SublimeText3 Chinese version
Chinese version, very easy to use

Safe Exam Browser
Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

Dreamweaver Mac version
Visual web development tools
