Hi,

Le 03/11/2024, Max Nikulin <maniku...@gmail.com> a écrit:

> Alt is convenient while working with applications that frequently create new
> windows. Unfortunately it shadows useful actions in various applications.
> Browsers allows to select text withing a link without opening it. Graphics
> editors use modifiers for mouse events as well. For me it is a reason to keep
> disabled Alt gestures in window managers.

For Openbox (which can be used as the window manager within XFCE), I
have in ~/.config/openbox/rc.xml:

<mouse>
  ...

  <context name="Frame">
    ...
    <mousebind button="W-Left" action="Drag">
      <action name="Move"/>
    </mousebind>

    ...
    <mousebind button="W-Right" action="Drag">
      <action name="Resize"/>
    </mousebind>
    ...

This way, I can move (resp. resize) windows using the left (resp. right)
mouse button while the left logo key is being held (xev calls the key
Super_L). This allows Alt-drag to work normally in Firefox to select
text from clickable links (as well as Alt-LMB to work in Gimp, etc.).

Regards

-- 
Florent

Reply via email to