Show only “Applications” submenu in Fluxbox

Forum Forums New users New Users and General Questions Show only “Applications” submenu in Fluxbox

  • This topic has 3 replies, 3 voices, and was last updated Feb 10-2:30 am by christophe.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #54190
    Member
    tizianomattei

      Hi all, I’m new to antiX but I’ve been using Debian since about 2005.
      I’ve installed antiX on my old 10 inch Packard Bell netbook with an AtomN450 processor and it’s performing well, the system is as usable as it can get. Great distro, I’m really impressed.
      I’m using Fluxbox as my window manager (quite new to it, I’ve used Openbox in the past).
      I’ve replaced the taskbar with tint2 and I’ve managed to create a launcher for the root menu on the panel by calling alt-r in xdotool. Now, I’ve noticed that the Applications submenu is in fact in a separate menu file, so I was wondering if there is a way to invoke only the submenu, without all the rest. I’d rather have that submenu called by the panel launcher instead of the whole root menu.
      Thank you!
      Tiziano

      #54194
      Moderator
      christophe
        Helpful
        Up
        0
        ::

        Hello, Tiziano.

        This looks promising:

        https://www.linuxsecrets.com/archlinux-wiki/wiki.archlinux.org/index.php/Tint2.html

        From reading it, I’m thinking you could just point your tint2 launcher to ~/.fluxbox/menu-applications instead of root-menu.

        confirmed antiX frugaler, since 2019

        #54196
        Member
        ile
          Helpful
          Up
          0
          ::

          hello tizianomattei and christophe

          in /home/user folder is hidden file /.fluxbox. Show Hidden… or
          In ControlCentre >Desktop >Edit Fluxbox Settings.

          in /.fluxbox/keys file create a key shortcut.
          I am not good at choosing the keys, so you pick some keybind for your use.
          example:
          KEYbind :CustomMenu /full/path/to filename

          Shift z :CustomMenu /home/tizianomattei/.fluxbox/menu-applications

          A CustomMenu must begin with [begin] and end with [end] ; those need to be added to the /menu-applications file (special case for /menu-applications file is root access to modify.)
          Those tags will be erased upon each /menu-applications update done by system.
          It is advised to create your own CustomMenu /namefile so that the menu updating does not disable the customMenu tags in a file that gets updated by system, leaving you to do your own updates of your CustomMenu specific /namefile.
          Point the CustomMenu to the /custommenuFileName.

          Try another example? the “personal” menu item. no root needed.
          open file /.fluxbox/personal
          Add [begin] first line. Add [end] last line.
          in /keys file create the keybind:
          Shift t :CustomMenu /home/tizianomattei/.fluxbox/personal

          fluxbox Settings > Restart
          now keyboard Shift z opens application menu.
          now keyboard shift t opens personal menu.
          now command xdotool key shift+t will open personal menu.

          Apply as you wish. Find information in man pages for, man fluxbox, man fluxbox-keys, man fluxbox-menu.
          Write your own menu in fluxbox.

          #54201
          Moderator
          christophe
            Helpful
            Up
            0
            ::

            @ile: Nice tutorial!

            confirmed antiX frugaler, since 2019

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