Questions tagged [focus]
The focus tag has no summary.
38 questions
0
votes
0
answers
26
views
How to make my avalonia app to open and come to top of all other apps even if user desn't interact with it for everyone or two mins [closed]
I have a tracker app which need to open on its own when used doesn't work or works too much. So i used TopMost and x11.Xraisewindow . But after 2 times my app is not coming too top or opening. Instead ...
0
votes
0
answers
28
views
Under KDE, when clicking a window when there's a modal open does not focus the modal
Recently migrated from Windows user here.
When a window has a child modal window visible, clicking that window will focus the modal.
In KDE, that does not happen.
Say I have window A that is disabled ...
0
votes
0
answers
47
views
debian sddm window manager: set focus-mode to either sloppy or mouse: no effect
On debian version 12.8 fully upgraded, sddm window manager. Using either gsetting or dconf-editor, I can set and verify org.gnome.desktop.wm.preferences focus-mode to either sloppy or mouse but ...
3
votes
3
answers
3k
views
i3wm: How to automatically switch workspace when a window of a specific application requests focus?
I tried focus_on_window_activation with focus, but it doesn't do anything. I guess it only works on same workspace. Or maybe I am using it wrong?
for_window [class="Chromium"] ...
1
vote
0
answers
298
views
XFCE fullscreen apps go to background when not in focus
My desktop is running xfce4, and I have sloppy focus, and a multi-monitor setup.
When I move the mouse off a fullscreen window (to the other monitor) (be it the web browser in full screen, or an image ...
1
vote
0
answers
924
views
Is it possible to tell xdg-open (or alikes) to open a window in the background?
I am using xdg-open with cronjobs to open our time-management web-app once per hour to log my time (among other repeating things). This works very well, but has an annoying usability problem. Once ...
1
vote
1
answer
930
views
how to prevent input focus for a single window in gnome-shell window manager?
I need a single window to be on top and never gain focus when any other window is closed.
In this case it is a gnome-terminal window w/o decorations, where I am running nethogs, it has a single ...
0
votes
1
answer
221
views
How to make "Focus follow mouse" for Dolphin File Explorer?
I use Dolphin file explorer, within which I frequently switch back and forth to the terminal panel. So I was wondering how to make "Focus follow mouse" within Dolphin, so that I don't need to click ...
10
votes
2
answers
9k
views
Setup notify-send click action
Given some simple notify-send command inside a bash script such as
notify-send "test"
How can I make a determinate window gain focus when the user clicks that notification? I thought playing around ...
9
votes
3
answers
5k
views
How do I detect whether my terminal has focus in the GUI from a shell script?
Problem/Goal description
Ideally, I would like a good way of detecting from a shell script whether or not the window has focus. By a "good" way, I mean some way which requires minimal steps and ...
1
vote
0
answers
807
views
Focus preservation in i3wm
tl;dr:
How do I implement the no_focus directive in i3wm and how do I dynamically assign a program to a workspace based on the workspace where I key the binding to open the program (i.e., I press the ...
1
vote
2
answers
899
views
Navigate to previously focused window in xmonad
Is there any module that supports this functionality? If not - does anyone know how to implement this?
3
votes
1
answer
4k
views
Xdotool action without focusing
Is there a way to automatically click at a specific place in specific window without getting the window focused?
1
vote
0
answers
301
views
XFCE Focus/Event Handling
In XFCE I defined Ctrl+Shift+Space to open the system menu. After installing Intellij I noticed that it uses that shortcut in a useful way. However, if I press it the system menu pops up. This is ...
7
votes
2
answers
4k
views
How do I run a KWin script from the console (to set focus to a specific window in KDE)?
I need to set focus to VirtualBox in KDE, I've written a KWin script for the purpose but I cannot figure out how to run it from console.
What I have tried:
This KWin script works in the Desktop ...