LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding items to the menu
#4
What Jerry is saying will work if you enter it directly into the address bar of a browser.  For example, if you open the Help Manual (Menu > Favorites > Help Manual), you will see in the address bar "file:///usr/share/doc/litemanual/index.html".  For your app, you'll need to Create a Launcher similar to the Help Manual one.  To start that, you can right click on the desktop and select Create Launcher.

Now if you open the Main Menu utility (Menu > Settings > Main Menu), and look at the Properties of the Help Manual menu entry, you'll get some insight on how to set up the launcher for your app.  You'll want to pay special attention to the "Command:" line of the Launcher Properties for the Help Manual menu entry. 

To get a launcher to actually show in the menu, more detail is provided in the "Customize Your Xfce Menu" section of the pdf located here:  https://www.freecinema2022.gq/forums/on-to...ks-tweaks/.  It is much to read, but the gist is the following:
    1) Verify that your launcher works as-is
    2) Copy your launcher to the /usr/share/applications directory.  You will need to do this as administrator
    3) Edit your launcher in that directory (using a text editor, right click -> Open With -> Text Editor) so that the Categories line points to the Menu subcategory where you want your app in the menu.  For example, if you open the GIMP launcher (using a text editor, right click -> Open With -> Text Editor) in the /usr/share/applications folder, you'll see a line showing "Categories=Graphics;.......".  Sure enough, GIMP is in the Menu > Graphics subcategory. 

If you're unsure how to add that Categories line, find a program in the same menu subcategory where you want your app to be, and copy and paste its Categories line into your apps launcher (ie. *.desktop file).

P.S.:  I've done this before.  It's probably just as easy, if not easier, to get a launcher to work on your desktop, and then just drag that launcher to your panel and have it serve as a quick launching shortcut.  When done, delete the launcher from the desktop.
Want to thank me?  Click my [Thank] link.
Reply


Messages In This Thread
Adding items to the menu - by jeffneedle - 11-30-2016, 06:40 AM
Re: Adding items to the menu - by Valtam - 11-30-2016, 07:15 AM
Re: Adding items to the menu - by jeffneedle - 11-30-2016, 09:51 PM
Re: Adding items to the menu - by torreydale - 11-30-2016, 10:28 PM
Re: Adding items to the menu - by jeffneedle - 12-01-2016, 01:44 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)