Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-12-04 16:48:10

jeff story
Member
From: Shelton, WA, USA
Registered: 2011-05-09
Posts: 26
Website

[Solved] Focus Follows Mouse [set from cli possible?]

I'd like to set up an alias to toggle between 'focus follows mouse' and 'focus follows click' for when I'm working with more than one terminal window.

I'm aware of the setting under, settings > window manager  > focus tab.  I've checked out 'xfwm4 --help' but not much info there.

Is it possible to set focus follows mouse from the CLI?

I'm on Arch, Xfce version 4.16

Edit: add info

Got as far as:

    xfconf-query -c xfwm4 click_to_focus
    xfconf-query -c xfwm4 /general/click_to_focus

    $ xfconf-query -c xfwm4 /general/click_to_focus -T
    No property specified.

How would I get the property? I thought -T was for toggle.

Edit: add info

OK I think I've figured it out:

xfconf-query -c xfwm4 -p /general/click_to_focus -T

Put the following alias in my ~/.bashrc, works as expected.

alias ffm="             xfconf-query -c xfwm4 -p /general/click_to_focus -T"

Last edited by jeff story (2021-12-04 17:53:14)

Offline

Board footer

Powered by FluxBB