fluxbox (and JWM) "maximize" button in each window titlebar is MULTI-FUNCTIONAL

Forum Forums General Tips and Tricks fluxbox (and JWM) "maximize" button in each window titlebar is MULTI-FUNCTIONAL

  • This topic has 5 replies, 5 voices, and was last updated Jan 3-9:18 pm by Anonymous.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4679
    Anonymous

      The maximize button (displayed in the titlebar of each windowed application under fluxbox) maximizes / unmaximizes the window in three ways:

      Button 1 (left mouse click) causes full screen maximization
      button 2 (middle click) maximizes the window only vertically
      button 3 (right click) maximizes the window only horizontally

      #4687
      Forum Admin
      dolphin_oracle
        Helpful
        Up
        0
        ::

        nice!

        #4691
        Member
        maroc
          Helpful
          Up
          0
          ::

          Thanks! Find it works with JWM as well!

          #4700
          Member
          jdmeaux1952
            Helpful
            Up
            0
            ::

            Wow! A genius at work here. I never knew that.

            The Kernel has my back covered.
            AMD desktop FX-8320 ASUS M5A97 LE R2.0 nVidia GeForce 730 GT 8 Gb memory
            MSI laptop S6000 i5-460M 4 Gb ram

            A great mind is something to get terribly wasted.
            LRU# 563815

            #4715
            Forum Admin
            Dave
              Helpful
              Up
              0
              ::

              Iirc you can change those functions in the fluxbox configs as well. I have them mapped to control + (shift,alt,super) + enter.

              Computers are like air conditioners. They work fine until you start opening Windows. ~Author Unknown

              #4720
              Anonymous
                Helpful
                Up
                0
                ::

                Dave, are you using fluxbox v1.38 (or you compiled the unreleased git.fluxbox.org code, or pulled from deb experimental repo) ?

                If not, although user can assign a keybind for “maximizeHorizontal”, doing so would be supplemental;
                it wouldn’t affect the hardcoded behavior assigned to the maximize button’s on_release event.
                a

                The newer versions (not the 1.3.5 version provided in debian stretch, and in antiX17)
                do, in fact, support customizable actions for the titlebar maximize button and the minimize button
                (provides opportunity to chain commands, e.g. “maximize AND play a sound”, “minimize, then raise+focus previous window”)
                2
                3

                ———————————

                Another supplemental way to expose the maximizeHorizonal command:
                edit your ~/.fluxbox/windowmenu

                [begin]
                  [shade]
                  [stick]
                  [maximize]
                  [maximizevertical] (maximize Vert)
                  [maximizehorizontal] (maximize Horiz)
                  [iconify]
                  [raise]
                  [lower]
                
                  ### CAREFUL -- unless you have a created a "ToggleDecor" keybind,
                  ### you'll need to use <code>pkill</code> or <code>xkill</code> or fbcommand to close the window
                  #[setdecor Border] (undecorate)
                
                  [settitledialog]
                  [sendto]
                  [layer]
                  [alpha]
                  [extramenus]
                  [separator]
                  [close]
                [end]

                (note: the above is the default windowmenu config provided in v1.3.8-ski)

                k

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