Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: No way to add a main menu item

  1. #1
    Join Date
    Jun 2006
    Beans
    18

    No way to add a main menu item

    Hello,

    It's surprising that adding an item in the main menu is so difficult.

    First, I tried to right click on the main menu to access some kind of editor but there seems not to be any, one has to find and download such an editor from the ubuntu repository.

    So, I installed Alacarte and it showed up in the Accessories sub menu.

    I then tried to add a menu item, one pointing to the gnome-editor, (EDITED sorry I mean gnome-terminal) but it never shows up in the menu. I tried to add it in the Accessories sub menu. I tried as my user, and later on tried also as root. I logged out and in. Nothing helped.

    Also, the Others sub menu does not appear in the menu, even if it is not hidden.

    I'm using Lubuntu 12.10
    Last edited by stephaneeybert; October 25th, 2012 at 09:57 AM.

  2. #2
    Join Date
    Oct 2012
    Beans
    7

    Re: No way to add a main menu item

    if i'm not mistaken, your problem is adding one more list item to main menu right?

    in debian gnome-desktop, there is one (hidden) debian menu that will list all the installed application , even if that application has no GUI. in ubuntu gnome-desktop, this menu is empty and i think lubuntu-desktop does not have something equivalent of that.

    for me, alacarte shown up in this location:
    main menu button >preferences>Main Menu

    my lubuntu is default installation. i already have gnome (sudo apt-get install gnome-desktop-environment) and only remove gdm, gnome-shell and gnome-session before installing lubuntu (sudo apt-get install lubuntu-desktop). alacarte only work to hide and unhide menu, i receive error while trying to add new menu.
    Last edited by delqhi; October 21st, 2012 at 01:22 PM.

  3. #3
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,578
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: No way to add a main menu item

    Quote Originally Posted by stephaneeybert View Post
    Hello,

    It's surprising that adding an item in the main menu is so difficult.

    First, I tried to right click on the main menu to access some kind of editor but there seems not to be any, one has to find and download such an editor from the ubuntu repository.

    So, I installed Alacarte and it showed up in the Accessories sub menu.

    I then tried to add a menu item, one pointing to the gnome-editor, but it never shows up in the menu. I tried to add it in the Accessories sub menu. I tried as my user, and later on tried also as root. I logged out and in. Nothing helped.

    Also, the Others sub menu does not appear in the menu, even if it is not hidden.

    I'm using Lubuntu 12.10
    Hi! I don't understand what you are trying to do and what your problem is.

    1: do you have a pure Lubuntu 12.10 installation?
    2: what do you mean by gnome-editor? Are you referring to gedit?
    3: I'm not sure Alacarte works well with Lubuntu.
    4: At what level in the menu do you expect to see "others"? Even I don't have it.
    5: Leafpad is the default text editor in Lubuntu.
    de gustibus et coloribus non est disputandum -- Wiktionary

  4. #4
    Join Date
    Dec 2007
    Location
    Bombay
    Beans
    6,578
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: No way to add a main menu item

    BTW, I added Geany and medit. Both can be considered to be text editors. Geany shows up automatically in "Programming" while medit shows up automatically in "Accessories".
    Also, while installing software requires sudo, the rest, putting stuff in the menu, is taken care of by the system.
    de gustibus et coloribus non est disputandum -- Wiktionary

  5. #5
    Join Date
    Oct 2012
    Beans
    7

    Re: No way to add a main menu item

    Quote Originally Posted by vasa1 View Post
    Hi! I don't understand what you are trying to do and what your problem is.
    2: what do you mean by gnome-editor? Are you referring to gedit?
    3: I'm not sure Alacarte works well with Lubuntu.
    4: At what level in the menu do you expect to see "others"? Even I don't have it.
    5: Leafpad is the default text editor in Lubuntu.
    2: agree, perhaps he want to install some kind of text editor, but it's not shown up in menu.
    3: alacarte work only hide and unhide menu for me, i never uninstall gnome-desktop-environment, i got some error when try to add new menu
    4: there is some kind "other" menu in gnome-desktop, there is also hiden "debian" menu (in debian, not ubuntu) that will list all installed app.
    5: perhaps he need to know how to install leafpad and what is the command to start leafpad and manually add menu in lubuntu (usually required command for that app)

  6. #6
    Join Date
    Apr 2012
    Beans
    13

    Re: No way to add a main menu item

    I can offer you some tips about adding menu entries without using extra software.

    1. Press Alt+F2 (or select "run" from start menu) and type:
      Code:
      gksudo pcmanfm /usr/share/applications
      Then enter your password when asked.
    2. Open any desktop file in a text editor, here's my example of leafpad.desktop file:
      Code:
      [Desktop Entry]
      Name=Leafpad
      Comment=Simple text editor
      Comment[pl]=Prosty edytor tekstu
      Exec=leafpad %f
      Icon=leafpad
      Terminal=false
      Type=Application
      MimeType=text/plain
      Categories=GTK;Utility;TextEditor;
      The attributes shown are pretty simple but I'll explain them anyway:
      Name - name shown in start menu
      Comment - comment shown in start menu (on hover)
      Exec - command needed to start the program (as for leafpad, it should start just fine without the f flag)
      Icon - you can specify any icon, e.g. Icon=/home/user/images/icon.png
      As for the rest of it, I think they're clear enough. This knowledge is sufficient enough to be able to create your very own menu entries .


    If you want to get rid of some menu entries, you don't even need to delete them from /usr/share/applications directory. Instead, add this handy line to .desktop files:
    Code:
    NoDisplay=true

  7. #7
    Join Date
    Aug 2005
    Location
    Northern Michigan USA
    Beans
    1,806
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: No way to add a main menu item

    install LXDE Main Menu Editor

  8. #8
    wojox is offline I Ubuntu, Therefore, I Am
    Join Date
    Apr 2009
    Beans
    8,630

    Re: No way to add a main menu item

    Quote Originally Posted by cmcanulty View Post
    install LXDE Main Menu Editor
    +1 it makes life pretty simple.

  9. #9
    Join Date
    Oct 2012
    Beans
    7

    Re: No way to add a main menu item


  10. #10
    Join Date
    Jun 2006
    Beans
    18

    Re: No way to add a main menu item

    Me to, Alacarte shows up the same "Main Menu" entry in the "Accessories" menu.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •