Using jgmenu in antiX

Forum Forums General Tips and Tricks Using jgmenu in antiX

  • This topic has 5 replies, 3 voices, and was last updated Jan 19-7:41 pm by PPC.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #60409
    Member
    PPC

      Backdrop:
      This tip won’t probably be of much use to most people- if you want to change antiX default settings you can – it has docks and Desktop environments available and easily instalable in the Package Installer- a while ago I began addapting antiX to my personal taste even more than usual- for months, my default toolbar is (a very costumized) tint2. But I’ve been using the usual fluxbox menu (although a bit adapted, it’s a “normal” fluxbox menu). Using my last days here before a major life change, I began trying to find a new menu that fitted 100% to my personal taste… I’ve tested jgmenu before, but although it allowed to search for apps, just by typing when the menu was open, it only offered the basic debian default categories…

      Installing jgmenu
      I installed jgmenu from MX’s repo, it’s not, a the time I write these lines, available in the antiX repo. I installed version 4.3.0 in my antiX 19.3 from MX’s 19 repo from here: https://repology.org/project/jgmenu/versions

      Launching jgmenu:

      using the run menu window or the terminal, type: jgmenu

      Configuring jgmenu:
      You have to create the folder called “jgmenu” in your user’s home hidden “.config” folder

      You need to create 3 files there:
      “jgmenurc”:

      # jgmenurc
      stay_alive           = 0
      csv_cmd              = pmenu
      tint2_look           = 1
      color_sel_bg        = #ECEFF4 100
      color_sel_fg        = #131920 100
      

      “prepend.csv” (displays entries before the default Debian categories)

      Terminal,roxterm,utilities-terminal
      Web Browser, desktop-defaults-run -b, web-browser
      File Manager, desktop-defaults-run -fm, /usr/share/icons/papirus-antix/48x48/apps/file-manager.png
      E-mail, desktop-defaults-run -e, xfce-mail
      Calc, galculator, galculator
      Text, desktop-defaults-run -te, text-editor
      Audio, desktop-defaults-run -a, audio-player
      Video, desktop-defaults-run -v, video-player
      Image, desktop-defaults-run -i ~/Imagens, /usr/share/icons/papirus-antix/64x64/apps/image-viewer.png
      
      ^sep()

      “append.csv” (displays entries after the default Debian categories)

      ^sep()
      Control Center, antixcc.sh, cm_options
      Exit, desktop-session-exit, application-exit

      Note: as you can see Append and prepend files use this syntax:
      [Text to be displayed in the menu], [command to be run], [path to the icon to be displayed]

      The jgmenurc option “stay alive” is used to let the OS know if it’s supposed to let jgmenu stay resident in RAM (is set to “1”) or not (if set to “0”)
      If jgmenu stays resident in RAM, it opens instantly after first run. If not (like I use in my default setting above) it always takes about 0.5 seconds to open, every time you launch it.

      Features of this menu configuration:
      1- it displays the default Debian categories of apps straight in the main menu, windows XP like, fully localized to your language
      2- menu entries are searchable- just begin typing at the menu and only entries that correspond to the text appear in the menu
      3- it includes (in random order) entries to all default apps + calculator
      4- It includes access to the exit menu and control center, on the bottom

      To do:
      my jgmenu does not display the .desktop files in the “antiX” folder…

      P.

      • This topic was modified 1 year, 11 months ago by PPC.
      • This topic was modified 1 year, 11 months ago by PPC.
      #60633
      Member
      userzero
        Helpful
        Up
        0
        ::

        Si usa el panel tint2 necesita, es solo un ejemplo,

        $vim ~/.config/tint2/tint2rc
        
        [...]
        #-------------------------------------
        # Panel
        panel_items = PSEEEEEC
        [...]
        [...]
        #-------------------------------------
        # Button 1
        button = new
        button_icon = jgmenu
        button_text =
        button_lclick_command= jgmenu_run >/dev/null 2>&1 &
        button_rclick_command= exo-open ~/.config/jgmenu/jgmenurc
        button_mclick_command=
        button_uwheel_command=                                                                                                                                                                    
        button_dwheel_command=
        button_font_color = #000000 100
        button_padding = 8 2
        button_background_id = 5
        button_centered = 1
        button_max_icon_size = 22
        [...]

        Wiki:
        L
        shows the Launcher
        T
        shows the Taskbar
        S
        shows the Systray (also called notification area)
        B
        shows the Battery status
        C
        shows the Clock
        F
        adds an extensible spacer (freespace). You can specify more than one. Has no effect if T is also present. (since 0.12)
        E
        adds an executor plugin. You can specify more than one. (since 0.12.4)
        P
        adds a push button. You can specify more than one. (since 0.14)
        :
        adds a separator. You can specify more than one. (since 0.13.0)

        Acceso desde el teclado a jgmenu, ejemplo con Openbox (~/.config/openbox/rc.xml),

        <keybind key="A-F2">
          <action name="Execute">
           <command>jgmenu_run</command>
          </action>
        </keybind>
        • This reply was modified 1 year, 11 months ago by userzero.
        Attachments:
        #75515
        Member
        DeepDayze
          Helpful
          Up
          0
          ::

          I realize this is an old post but how do you disable the fluxbox menu and use jgmenu instead? Anything to add to fluxbox startup? Hope you do like jgmenu as I’ve used it in Openbox based distros and I might want to try this in AntiX and MX.

          Real men use Linux 🙂

          #75522
          Member
          PPC
            Helpful
            Up
            0
            ::

            @DeepDayze – The FT10 transformation pack – that includes the tint2 toolbar and jgmenu is already in the repository. Install the packahe ft10-transformation and then antiX menu > Preferences > FT10 activate…
            You can install ft10 and replace it’s jgmenu config file with you own, if you want to…

            It automatically configures icewm, jwm or fluxbox, You can check out how it looks in a multi monitor system in this post: https://www.antixforum.com/forums/topic/antix-transformation-pack-min-fluxbox-with-tint2-toolbar-antix-ft-10/page/10/#post-74820

            If you just want jgmenu to pop up when you right click the work space, probably you’ll have to edit some config file (if fluxbox allows for that). You can edit the “keys” file so pressing, for example, the “Super” key, shows makes jgmenu pop up. You can’t set up the default fluxbox toolbar to show any application icon (excluding the fluxbox root-menu),,,

            P.

            #75574
            Member
            DeepDayze
              Helpful
              Up
              0
              ::

              @DeepDayze – The FT10 transformation pack – that includes the tint2 toolbar and jgmenu is already in the repository. Install the packahe ft10-transformation and then antiX menu > Preferences > FT10 activate…
              You can install ft10 and replace it’s jgmenu config file with you own, if you want to…

              It automatically configures icewm, jwm or fluxbox, You can check out how it looks in a multi monitor system in this post: https://www.antixforum.com/forums/topic/antix-transformation-pack-min-fluxbox-with-tint2-toolbar-antix-ft-10/page/10/#post-74820

              If you just want jgmenu to pop up when you right click the work space, probably you’ll have to edit some config file (if fluxbox allows for that). You can edit the “keys” file so pressing, for example, the “Super” key, shows makes jgmenu pop up. You can’t set up the default fluxbox toolbar to show any application icon (excluding the fluxbox root-menu),,,

              P.

              Thanks for the suggestion and I shall check it out and can FT10 be installed in MX21 Fluxbox as well?

              Real men use Linux 🙂

              #75578
              Member
              PPC
                Helpful
                Up
                0
                ::

                This is off-topic, but here it goes:

                FT10 can probably be installed in other OS’s with any supported window manager (icewm, jwm and fluxbox). But you don’t have to do it. MXFB already has tint2 toolbar instaled as used as the default fluxbox toolbar, with a pretty similar setup to the one I use. Just install jgmenu in MXFB and edit tint2 config file, using the GUI it provides and change the “menu” button so it launches jgmenu_run… tint2 config GUI is very extensive and sometimes a but confusing, but you should be able to do it…

                P.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.