Fluxbox - close window with middle button click on iconbar
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Fluxbox - close window with middle button click on iconbar
Hello.
Is there a way to configure Fluxbox to close the window with middle mouse button click on its title in iconbar (similar to XFCE panel behavior)?
It seems to me that iconbar reacts only to left and right click, and middle click (Mouse2) is handled by toolbar (therefore closing the window which has focus, and not the one clicked.
I'd look in ~/.fluxbox/preferences text file myself.
I haven't got such a file. Did you mean ~/.fluxbox/init ?
I am using Fluxbox 1.3.5. I did look up the options for iconbar and keys file, without any useful result.
My problem is that this mouse event is received by toolbar and not the particular window in inconbar, so the currently focused window is closed, regardless where I click.
My bad on suggesting preferences file. I checked my little 9 inch netbook and I have no preferences file either. Closest I have is one called Personal for listing preferred applications in my menu.
Anyways. I figured I'd look through my styles folder in my ~/.fluxbox folder to see if any control over buttons could be made in there. I was hoping a theme edit might do it.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.