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

Thread: Adding to the Main Menu under LXDE

  1. #1
    Senior Member
    Join Date
    Jan 2011
    Posts
    242

    Adding to the Main Menu under LXDE

    Hi,

    I've tried adding a new item to the Programming group of the Main Menu under LXDE.

    I selected the Main Menu (editor) item from the Preferences group of the Main Menu itself. I filled in the correct information, including selecting an icon file. However the new menu item does not appear as an entry in the Programming Group of the (real) Main Menu.

    I've rebooted and it still does not appear in the (real) Main Meny but if I start the Main Menu (editor) again, the entry is there.

    What am I missing ? What should I try next ?

  2. #2
    Senior Member registered user
    Join Date
    May 2006
    Location
    Columbia, Maryland USA
    Posts
    1,631
    I would like to know as well.
    The reference below says there's no graphical way to do it.
    Whether that's the last word or not, I don't know.

    http://wiki.lxde.org/en/Main_Menu

    Let us know how you solve this.

  3. #3
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    I selected the Main Menu (editor) item from the Preferences group of the Main Menu itself.
    This is the menueditor "alacarte"; he is only designed for editing Gnome-menu, not LXDE-menu.

    Create a new entry in '/boot/grub/menu.lst' of your HD-installation and append at kernel-line "desktop=gnome".

    Boot Gnome Desktop! Now all changes made with "alacarte" will be permanent in Gnome-menu (not in LXDE-Menu!).

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)

  4. #4
    Senior Member
    Join Date
    Jan 2011
    Posts
    123
    I have a very simple menu editor installed, but you can only hide and show items
    let me know if you want to know the name, I'll try and find it

  5. #5
    Moderator Moderator
    Join Date
    Nov 2010
    Location
    Germany/ Dietzenbach
    Posts
    1,124
    ... be aware: Gnome-desktop is only available with Knoppix-DVD not -CD!

    Greetings Werner * http://www.wp-schulz.de/knoppix/summary.html
    Own Rescue-CD with Knoppix (Knoppix V6.4.4 remaster)

  6. #6
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by utu View Post
    Let us know how you solve this.
    Moi ? Mess around with XML files in hidden directories with a text editor ? I haven't had so much fun since I tried to configure an xfce desktop back in the days when I used Horrible Hog (or was it Hardly Horrendous ? I forget, gladly).

    The Main Menu editor deposits a little file with a Spanish name in ./local/share/applications and references it from .config/menus/gnome-applications.menu, which might work for a gnome desktop but dunt work for lxde.

    A copy the Spannish desktop file in ~/Desktop gave me a nice desktop icon with the correct name and iconic representation. So that might do except its usually hidden behind some window or other.

    I managed to patch it into the "Application Launch Bar" "Panel Applet", which is much more satisfactory, but not by doing it "graphically" - that use of the word isn't in my English dictionary: I prefer the terms "wimpingly" or "gooeyly".

    I did it by editing .config/lxpanel/LXDE/panels/panel (this is a structured file but it's not XML). In the Plugin block with type lanuchbar (I feel hungrier already), I added the subblock:

    Code:
    Button {
        id=/absolute/path/of/spanish/desktop/file
    }
    Naturally I renamed the desktop file first just in case I ever add another application (which seems unlikely now that I know just how easy this is).

    I had to make one minor adjustment to the desktop file itself. On the desktop, the Name[us] and Icon[us] entries are honoured but in the lunch bar the Name[us] and the Icon entries are honoured. You say potato and I say potato and all that.

    As for the Main Menu itself, I'm flummoxed. I have, in the past, done this by hand for the gnome, kde and xfce desktops but I can't find where the lxde main menu comes from or goes to.

    Me thinks some brave soul might like to boot the Knoppix iso, take a snapshot of KNOPPIX-DATA, uninstall some hapless app, take another snapshot, compare the snapshots and so reverse engineer the problem.

    Anyway, utu, thanks for the encouragement to get this far.

  7. #7
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    I started a project called lxmed. The project is written in Java and it's main goal is to provide a gui tool for customizing your Main Menu in LXDE. The work is still in beta, any suggestions are appreciated.

  8. #8
    Senior Member
    Join Date
    Jan 2011
    Posts
    242
    Quote Originally Posted by mcicak View Post
    I started a project called lxmed. The project is written in Java and it's main goal is to provide a gui tool for customizing your Main Menu in LXDE. The work is still in beta, any suggestions are appreciated.
    Hi McIcak and welcome to the Knoppix forums.

    So where is your project ? Source forge ? I'm sure utu would love to down load it and take it for a spin.

  9. #9
    Junior Member
    Join Date
    Apr 2011
    Posts
    3
    Yes it's on sourceforge. You can find it by typing lxmed in sourceforge or google. Or you can follow this link. It is still in beta. It has a few unfinished stuff, buy you get the idea what it looks like.

  10. #10
    Member Blacksimon's Avatar
    Join Date
    Oct 2011
    Location
    Italy
    Posts
    93
    LXMED is similar to alacarte. I try to use even XDG (http://linux.die.net/man/1/xdg-desktop-menu).
    I want add a new category in menu called Personal near Application, Office, System, Games, Internet.... with two entries to lauch my personal two script...
    but, i think, will be impossible !!!
    I have only been able to create two file .desktop to put in ~/.local/share/application; and now I've two new entries in system sub menù....not what I'd like to have....mhhhh

    bye

Page 1 of 2 12 LastLast

Posting Permissions

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


SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26 picture

SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26

$74.99



WD_BLACK 1TB D30 Game Drive SSD, External Solid State Drive - WDBATL0010BBK-WESN picture

WD_BLACK 1TB D30 Game Drive SSD, External Solid State Drive - WDBATL0010BBK-WESN

$99.99



Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH picture

Dell - 800GB SSD SAS 12G MLC WI 2.5in PX05SM CN3JH

$109.99



Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C picture

Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C

$46.99



Samsung 512 GB SATA III 2.5

Samsung 512 GB SATA III 2.5" Solid State Drive PM871a / SM841N / OGYG3M *TESTED*

$22.00



Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item picture

Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item

$16.99



Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot picture

Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot

$13.99



Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5

Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot

$14.99



Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot picture

Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot

$198.99



Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5

Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot

$197.99