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: 29
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

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 9 queries executed - Memory usage: 513.01 KiB (Peak: 513.85 KiB) ]