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.
-
AuthorPosts
-
January 2, 2018 at 3:30 pm #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 horizontallyJanuary 2, 2018 at 6:42 pm #4687Forum Admin
dolphin_oracle
January 3, 2018 at 5:17 am #4691Member
maroc
January 3, 2018 at 2:05 pm #4700Member
jdmeaux1952
::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 ramA great mind is something to get terribly wasted.
LRU# 563815January 3, 2018 at 6:03 pm #4715Forum Admin
Dave
::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
January 3, 2018 at 9:18 pm #4720Anonymous
::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.

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”)


———————————
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)

-
AuthorPosts
- You must be logged in to reply to this topic.