Focus, Sloppy Focus, Autoraise or simply ClickToFocus?
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
View Poll Results: Which method of focus you like for your Window Manager?
I find click to focus annoying. Otherwise I find the other types of focus all more or less OK. I voted for sloppy focus.
--------------------
Steve Stites
I find click to focus annoying indeed. I find sloppy focus not easy to use if for instance you would like to close an application with key binding; not likely to work as expected.
Code:
# this will close the active win: wmctrl -c :ACTIVE:
" wmctrl -c :ACTIVE: "
m:0x40 + c:25
Mod4 + w
I tend to bounce between "Follow focus + Autoraise" and "Sloppy Focus + Autoraise", no preference between the two. But I vastly prefer autoraise over any other method.
ctwm is cool, I used it a lot many years ago. I also noticed a new version was released, will need to give it a spin to see what changed
I have a feeling that "Follow focus + Autoraise" is less efficient and productive than clicktofocus. "Follow focus + Autoraise" is more complex to handle, since if you come across a win it will autoraise, and it can hinder seeing the lower one (win).
Most of the time my (virtual) desktops are filled with emacs and urxvt windows -- moving
between those is most convenient by just moving mouse (NO CLICK!).
So, any 'focus follows mouse' option is good.
The 'other' option in title (and my vote) is 'focus follows keypress' which I was using last on
Amiga desktop (qmouse sunkey option). This option would be useful in other desktop environments
than X11, where mouse focus may be too aggressive.
I like "click to focus" as I sometimes want to scroll a non-focused window without making it focused.
I absolutely hate Windows method of NOT being able to scroll a non-focused window (at least every version of Windows I have tried, I assume Windows 10 follows the same pattern).
I use KDE/Kwin and did try for a while "focus follows mouse" but in the end I went back to "click to focus" as it just suits me best.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.