Jgmenu based tools in Mabox

jgmenu
A simple, independent, contemporary-looking X11 menu, designed for scripting, ricing and tweaking.

Jgmenu is amazing piece of software, and Mabox 20.02 uses it in many places.

Main menu

In Mabox 20.02 Jgmenu replaced openbox menu, so we have now type-to-search functionality.
Menu can be accessed from panel icon, right click on desktop or super + space shortcut ( super key alone also works).

menu2


Menu can be customised by editing $HOME/.config/jgmenu/prepend.csv


Thera are also two sidepanels - both can be customized.

Left sidepanel ā€œPlacesā€ (ctrl + tab)

  • very fast directory browsing
  • GTK Bookmarks
  • VirtualBox Machines

Right sidepanel ā€œSettings & Helpā€ (super + tab)

  • access to variuos settings
  • links to online documentation
  • exit options


Screenshot tool (printscreen)

Screenshot tool uses jgmenu + scrot. It allows you to take screenshots with or without delay.


Logout dialog (ctrl + x)

Easy to customize, just click Configure options edit/ or comment out items you donā€™t need.

5 Likes

Hello and thank you very much for this very good distro. I would like to edit main menu and i opened prepend.csv but I only get this :
@text,40,20,150,20,0,left,top,auto,#000000,ļ”ˆ
@search,54,20,150,20,2,left,top,auto,#000000 0,Type to Search
^sep()
. ~/.config/mabox/favorites.csv
I canā€™t see how delete apps in the menu with this. Is there another file, with all the menu, that i can change ?

Hello @Haerber,
Yes, the file is ~/.config/mabox/favorites.csv.

You might also like Mabox Control Centerā€¦


And if you need more info about editing Menus / Sidepanels:

2 Likes

Thank you for your help. I understood how to edit favorites, but in Mabox Control when i click on edit below apps I get a file with only this :
#^sep()
#Home Directory,^pipe(jgbrowser ~),user-home
There is no menu in this file that i can modify. Sorry Iā€™m not a complete noob but not a developper either.

1 Like

What exactly you want to add/edit?
Applications part of menu is autogenerated from .desktop files available in the system.

Currently there is no easy way to remove bottom items of mainmenu - if this is what you want to do.

1 Like

Iā€™m guessing, but I think Haerber means ā€œhow can I add an application to the jgmenu search?ā€ Such as when:

  1. Download Ulimaker Cura as an .AppImage
  2. Place this into ~/bin
  3. chmod +x ~/bin/Ultim<tab><enter>
  4. Create ~/bin/cura file:
#!/bin/env bash

cd ~/bin/
./UltiMaker-Cura-*.AppImage
  1. chmod +x cura

This will allow cura to start the .AppImage. But cura does not show up under jgmenu search. Is there some way we can have ~/bin indexed, or add entries to jgmenu search?

P.S. I like to make launchers for .AppImage files, because updating is as simple as copying the newer .AppImage into ~/bin and deleting the original. Note, this ā€œwildcard-runā€ technique creates a small security vulnerability - do not do this on a shared or public computer.
P.P.S There is an AppImageUpdater which will attempt to update the .AppImage file itself. So you could rename the file to cura.AppImage then try to update it occasionally. But this only works with .AppImage files which have this feature enabled.

You need to create desktop file for that applicationā€¦

1 Like