Author Topic: Placing custom menus on the launch bar  (Read 1738 times)

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Placing custom menus on the launch bar
« on: August 23, 2011, 01:31:49 AM »
Hi
I have pclos 2011 lxde
is there any way I can place custom menus or sub-menus on the launch bar?
Reason: placing icons for all me favorite applications on the launch bar makes it very crowded and unorganized I would like to group related applications together in one small menu (example: Multimedia button -> to show launchers for vlc, MPlayer, Clementine, GIMP, GPicview)
If you know of a way to do this let me know
Thanks
« Last Edit: August 23, 2011, 02:19:16 AM by hasmak »
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #1 on: August 23, 2011, 03:39:09 AM »
Not sure if it is what you are looking for, but lxMenuEditor is in the repos.     

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #2 on: August 23, 2011, 03:56:25 AM »
Not sure if it is what you are looking for, but lxMenuEditor is in the repos.     

LxMenuEditor only edits applications launchers that it finds to do things like change icon, show/hid, place in different categories.
This is not about editing menu items.
(by the way, LxMenuEditor in the repos does not work)
this is about creating custom menus with what ever applications I want in it, then placing that menu as a button or icon on the launch pad (like you place any application, eg. Firefox, PCmanFM, etc) and when you click on that button it will show a mini menu with my predefined applications on it.
To simplify if you right click an empty place on the task bar it will give you a menu with different options to choose.
another example if you right click the network applet in the tray area it will open a small menu for things you can do.
I hope this clear enough
Cheers
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #3 on: August 23, 2011, 04:18:15 AM »
So you want to add to the right click menu? LXPanel config files can be found in your /home/<you>/.config/lxpanel directory.   

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #4 on: August 23, 2011, 04:28:40 AM »
So you want to add to the right click menu? LXPanel config files can be found in your /home/<you>/.config/lxpanel directory.   

Neal
I don't want to add the right click
The right click example was just to demonstrate the idea of a small custom menu and what I want to do is to be able to place custom menus on the launch pad.
Cheers
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #5 on: August 23, 2011, 04:37:52 AM »
First you must create the custom menu and give it a name. Next, you will need to edit /home/<you>/.config/lxpanel//LXDE/panels/panel to add it manually.   

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #6 on: August 23, 2011, 07:53:30 AM »
First you must create the custom menu and give it a name. Next, you will need to edit /home/<you>/.config/lxpanel//LXDE/panels/panel to add it manually.   
Neal
Hi
I looked at the file
I am not sure this will work.
Fore sure you can add a menu item to the panel (you can also do that from the GUI, but it seems that lxpanel just reads the system menu.
let us take an example:
I have created 3 custom   menus that are merged with the applications menu when the session starts, those menus must be placed in /etc/xdg/menus/applications-merged/"my-menu-name.menu"
let us take one specific example; i have the menu "Multimedia.menu" which has 4 child menus
How do I insert this in "panel" and get it to show as a cascading menu when I click on it??
if you know the correct syntax let me know
Mean while, I installed adeskbar from the repos, it has the ability to have what they call "drawers" which ore in reality small menus that you you add applications to. this will do nicely because I can have different drawers for different categories (MM, Sys, Documents, Favorites etc)
From a practical point of view, this will do for the time being. From a technical point of view, I would like to see if this can done in lxpanel
Thanks
Cheers
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #7 on: August 23, 2011, 09:11:14 AM »
Do you have a file for the menu in /usr/share/desktop-directories?
If so, try this:
Copy the file from /usr/share/desktop-directories to your desktop. Now drag its icon onto your panel. It should be added. Test to see if it functions. Delete the file from your desktop.     

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #8 on: August 23, 2011, 10:29:09 AM »
Do you have a file for the menu in /usr/share/desktop-directories?
If so, try this:
Copy the file from /usr/share/desktop-directories to your desktop. Now drag its icon onto your panel. It should be added. Test to see if it functions. Delete the file from your desktop.     
Hi
No luck
Will not add to to the panel ;-(
jumps back to the desktop
cheers
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #9 on: August 23, 2011, 10:36:14 AM »
Not sure it'll help, but open the file in leafpad and then "save as" a dot desktop file, rather than a dot directory file. Try adding the dot desktop file to lxpanel.

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #10 on: August 23, 2011, 11:25:27 AM »
Not sure it'll help, but open the file in leafpad and then "save as" a dot desktop file, rather than a dot directory file. Try adding the dot desktop file to lxpanel.
No luck again
Tried with the .menu file as well, no luck
This only works in Windows, you can drop anything on it and it will stick, does not care whether it is an executable, document or whatever
Thanks any way
By the way, did you try LxMenuEditor for your self?? If you have the time and inclination please try it and let me know if it works for you, it is a very small script with no dependencies
cheers
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #11 on: August 23, 2011, 11:28:49 AM »
I know about lxmenueditor. Did you read Melodie's response to you about it?     

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #12 on: August 23, 2011, 12:18:57 PM »
I know about lxmenueditor. Did you read Melodie's response to you about it?     
Sorry I missed that,
I replied to Melodie, you check the post
cheers
PCLOS 2011 LXDE

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Placing custom menus on the launch bar
« Reply #13 on: August 23, 2011, 06:41:12 PM »
You should take her advice about posting in Advanced Users.     

Offline hasmak

  • Full Member
  • ***
  • Posts: 53
Re: Placing custom menus on the launch bar
« Reply #14 on: August 23, 2011, 11:12:16 PM »
You should take her advice about posting in Advanced Users.     
Neal
Is it possible for the admin to move the menu editor to the advanced user forum? or should I start a new thread?
cheers
PCLOS 2011 LXDE