You are not logged in.

#1 2017-07-30 00:39:47

webodan
Member
Registered: 2017-07-29
Posts: 6

[SOLVED] How to disable the middle-click menu?

Hello,

I would like to disable the menu that appears when I click the middle mouse button (or wheel) at the very top of the screen (I close tabs this way in my browser and it gets on my way when I try to close them) I can't find any way of removing this menu (it shows me a couple of tasks every time). How can I get rid of this?

I'll put a picture of it here.

2mJV2Jz.png

Thanks in advance.

Last edited by webodan (2017-07-30 10:46:21)

Offline

#2 2017-07-30 01:01:42

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to disable the middle-click menu?

Edit the relevant mousebind in '~/.config/openbox/rc.xml' - it should be in the section labelled "<!-- Menus -->"

Comment it out so it looks like this:

<!--
      <mousebind button="Middle" action="Press">
        <action name="ShowMenu">
          <menu>client-list-combined-menu</menu>
        </action>
      </mousebind>
-->

(The xml format uses "<!--     -->" to comment out everything between those characters)

Then reconfigure openbox:  'Menu -> Preferences -> Openbox -> Reconfigure', or do

openbox --reconfigure

Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#3 2017-07-30 01:14:41

webodan
Member
Registered: 2017-07-29
Posts: 6

Re: [SOLVED] How to disable the middle-click menu?

Great, it's working but I have one last thing. Now I've got this line making a separation on the very top of the screen over which my browser isn't overlapping (it looks like it's generated by openbox somehow). It's in the middle when I try to close tabs. It is also not present in the other monitor that I use. Is that one somewhere?

Thank you very much for your support.

Offline

#4 2017-07-30 01:26:39

damo
....moderator....
Registered: 2015-08-20
Posts: 6,734

Re: [SOLVED] How to disable the middle-click menu?

If it is the screen margins you are talking about, those settings are also in rc.xml, or you can access many of the same settings with:
'Menu -> Preferences -> Openbox -> GUI Config Tool'

Some people, me included, like a 1px margin somewhere so that the main menu is always available with a mouse click, even when the desktop ( = root window) is covered by application windows.

I recommend you have a read of Getting Started -> Introduction to the Bunsenlabs Desktop, it should answer many questions you might have.

If your question is answered then please edit the title of your first post and add [SOLVED] wink


Be Excellent to Each Other...
The Bunsenlabs Lithium Desktop » Here
FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#5 2017-07-30 10:46:09

webodan
Member
Registered: 2017-07-29
Posts: 6

Re: [SOLVED] How to disable the middle-click menu?

Nice! now it was perfectly solved. Thank you very much and sorry for bothering  wink

Offline

Board footer

Powered by FluxBB