Skip to content

How to turn off the root menu entirely #3009

Answered by tokyo4j
ArrayBolt3 asked this question in Q&A
Discussion options

You must be logged in to vote

You can overwrite the mousebind for Root mouse context with an empty action list.

Here's our default configuration:

<labwc_config>
  <mouse>
    <context name="Root">
      <mousebind button="Left" action="Press">
        <action name="ShowMenu" menu="root-menu" />
      </mousebind>
    </context>
  </mouse>
</labwc_config>

...and you can disable the root menu with this:

<labwc_config>
  <mouse>
    <context name="Root">
      <mousebind button="Left" action="Press" />
    </context>
  </mouse>
</labwc_config>

(Also, somewhat of a tangential question, but are there any unexpected ways of gaining code execution from a labwc session using purely default configuration (no config file)? It'…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by johanmalm
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants