when using Ubuntu, we can add a "Main Menu" item to the panel

[Ubuntu] Modify the "Main Menu" item panel in Ubuntu 

Where to add / modify the menu items? Here we go!

 

In fact that the items of Main Menu are stored under /usr/share/applications , here we will try to add a laucher of eclipse for example.

sudo vim /usr/share/applications/eclipse.desktop

 

In the file, add these code:

[Desktop Entry]
Name
=Eclipse
Comment
=c project manage software
Exec
=/opt/eclipse/eclipse
Icon
=/opt/eclipse/icon.xpm
Terminal
=false
Type
=Application
Categories
=GNOME;GTK;Office;Eclipse;

 

Then you will see the icon under the Office now!

[Ubuntu] Modify the "Main Menu" item panel in Ubuntu 

相关文章:

  • 2021-10-30
  • 2021-10-08
  • 2022-01-12
  • 2022-01-04
  • 2021-06-27
  • 2022-02-10
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2022-01-05
  • 2022-12-23
  • 2021-12-13
  • 2021-09-05
  • 2022-12-23
  • 2022-03-10
相关资源
相似解决方案