Skip to main content

Questions tagged [focus]

0 votes
0 answers
33 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 ...
user1532080's user avatar
0 votes
0 answers
50 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 ...
Steve Dutky's user avatar
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"] ...
menfon's user avatar
  • 272
1 vote
0 answers
304 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 ...
Ro-ee's user avatar
  • 221
1 vote
0 answers
931 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 ...
Gerrit Addiks's user avatar
1 vote
1 answer
932 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 ...
VeganEye's user avatar
  • 101
0 votes
1 answer
225 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 ...
Utkarsh Verma's user avatar
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 ...
Waldir Leoncio's user avatar
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 ...
Alexandria P.'s user avatar
1 vote
0 answers
810 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 ...
mas's user avatar
  • 1,939
1 vote
2 answers
901 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?
Chris Stryczynski's user avatar
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?
Nerijus Pocevičius's user avatar
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 ...
sjngm's user avatar
  • 547
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 ...
JKAbrams's user avatar
  • 263
2 votes
0 answers
1k views

Set mouse focus on current screen's active window

I was using Synergy from Symless. It shares the mouse and keyboard between computers. So it is similar to having secondary or third screen attached to your computer. The Scenario is: having a laptop ...
Tantan's user avatar
  • 21

15 30 50 per page