Questions tagged [focus]
The focus tag has no usage guidance.
41
questions
0
votes
0
answers
24
views
How to disable point to focus mode in twm?
I have installed simple twm to be able to run Android Studio on remote server.
Unfortunately, it seems to me it works bad with point-to-focus mode in twm. Many windows in Android Studio are "...
0
votes
0
answers
28
views
Why window doesn't scroll at the first time I scroll my mouse wheel on it after losing focus?
When a window loses focus (becomes inactive), I have to scroll my mouse wheel twice to start scrolling in that window. Here are example steps to reproduce this behavior:
Open a window that has scroll ...
0
votes
0
answers
22
views
fvwm 2 PointToFocus vs. Google-chome
In Google Chrome under fvwm2/X11/Linux, some things that "pop up" (as CSS, not in a separate X11 window) on pages and then accept a click as input, such as "drop-down" menus and ...
0
votes
0
answers
9
views
Interface for finding the currently focussed window / Application
Background
I'd like to create an assistive application, that is only shown as long as the user "needs" it (like a dictionary, that is only shown until the user clicks somewhere outside it's ...
1
vote
0
answers
18
views
Gpick's purpose is defeated by semi transparency of un-focused windows
I use picom to have non-focused windows be semi transparent in i3.
The drawback is that this makes gpick totally ineffective, as in order to pick a color it needs to be in focus, so the other windows ...
0
votes
0
answers
24
views
How to block FocusOut events from particular window?
I have window that does some unwanted stuff when I minimize it or switch to other window or click on other window.
How can I block Xorg's FocusOut event for this particular window so that it thinks ...
1
vote
0
answers
34
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 ...
0
votes
1
answer
33
views
Herbstluftwm determine the last frame in a tag
I want to cycle focus on clients on a given tag. Akin to cycle_all +- 1. Except that when the focus reaches the final client on the tag I want focus to continue onto the next tag instead of reverting ...
2
votes
0
answers
390
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 ...
0
votes
1
answer
345
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
71
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 ...
6
votes
1
answer
2k
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 ...
5
votes
3
answers
2k
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
467
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
569
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?
1
vote
1
answer
3k
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
148
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 ...
5
votes
2
answers
2k
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 ...
2
votes
0
answers
762
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 ...
0
votes
1
answer
253
views
How to make new window get the focus when Emacs in full-screen mode in Xfce4?
I'm using the Xfce4 desktop environment on top of Linux Mint 18.1. When using Emacs in full-screen mode, I want to open a new application via the xfce whisker menu, but the new application is always ...
1
vote
2
answers
187
views
Start Tor browser in Unity without grabbing focus
I want to start Tor browser in background mode, i.e. I want to open a browser window but I want my terminal to keep the focus. I tried some solutions but they did not work. For instance:
nohup ...
1
vote
0
answers
45
views
Is there a command that will tell me if there is no screen activity?
Summary:
Is there a command which will tell me if there is any screen activity
currently taking place on my Debian system?
Full Details:
Towards the end of every boot, I run the Kate text editor ...
8
votes
1
answer
2k
views
How do you keep a window from stealing focus in GNOME Shell?
I've got multiple workspaces and two monitors in my GNOME Shell, and I'd like to find a way to exclude a window on my secondary monitor from ever stealing focus. Ideally, it'd be nice to exclude ...
1
vote
1
answer
228
views
Eclipse quick switch windows does not have focus, does not work without mouse move
Using Eclipse Neon on Linux Mint with Xfce and "focus follows mouse" enabled, I try to use "quick switch windows" or "next editor" (CTRL+E or CTRL+F6) in the default bindings. In both cases, weird ...
2
votes
1
answer
942
views
How to make x2go’s windows get focus on click?
The problem
I use x2go and both client and server side have i3 as wm. So, the problem is the conflict between each key bindings. When I press Super+w on the distant system’s window it affect the local ...
3
votes
0
answers
758
views
Nemo file manager - change focus from the sidebar to the main view (automatically)
Edit: GitHub issue report
I find it hard to change focus (either by keyboard, or automatically) from the sidebar to the contents view in Nemo 2.8.7 on Ubuntu 16.04. Nautilus does not have this ...
3
votes
0
answers
2k
views
Preventing other GUI applications from stealing focus?
How can I prevent other applications from stealing focus from the active window? I have found solutions for other window managers, but nothing for "Metacity (Marco)" (the window manager of the MATE ...
2
votes
0
answers
553
views
Can I scroll background window without giving it focus in i3wm
I have disabled accidental touchpad click to activate background windows. However, when I move two fingers or my palm along the touchpad, this generates wheel events and they activate whichever window ...
2
votes
0
answers
306
views
Focus stealing under Xfce in Matlab (Java programs?)
I'm using Matlab R2015a under Debian Linux. I recently switched to Xfce 4.12 as my desktop environment, and since then I am experiencing weird focus behavior:
When I try to interact with the ...
3
votes
0
answers
1k
views
How to detect whether a window is in focus?
I'm not experienced in scripting but I've made this script:
#!/usr/bin/env bash
# hint: use "xdotool getmouselocation" to get values
if xdotool getwindowfocus getwindowname | grep -Eq " - ...
3
votes
1
answer
2k
views
Xorg/Twm window has focus only when mouse is over
I have Xorg with Twm and xterm installed on Arch linux, and when I start the X server, I can type in xterm only when the mouse pointer is over its window. I have been searching options to Xorg and Twm ...
2
votes
0
answers
128
views
How to update focus when toggling tags in Awesome WM?
How to reproduce:
Install awesome, firefox and xterm.
Start Awesome WM with my current configuration. There should now be an XTerm window in the first tag ("shell") and a Firefox window in the second ...
5
votes
1
answer
3k
views
Set focus to newly open window
I use Archlinux 3.17.2-1 with gnome-shell 3.14.1.5-1
I use keyboard shortcut to open various applications, for instance Ctrl+Alt+G opens gnome-terminal and Ctrl+Alt+T opens xfce4-terminal
When ...
4
votes
0
answers
1k
views
Why am I randomly loosing focus from the active window in KDE?
Some months ago, I noticed that at random times the krunner pop-up (KDE run-command utility) appeared and stile focus from the active window. While krunner has stopped popping-up, I still loose focus ...
3
votes
1
answer
1k
views
Switching automatically between 2 windows on Linux
Hi I need to switch focus between two windows periodically and automatically (with software or w/e). Can this be achieved on linux?
2
votes
1
answer
173
views
XFCE focus snaps back to under cursor
Not sure how to explain this. In many apps but not all, When there's a drop-down and the mouse pointer is inside it, I cannot navigate the list using keyboard. The focus in the list keeps snapping ...
2
votes
0
answers
149
views
Keyboard-bound applications in Openbox
Following the template of another stack user I've bound a keyboard shortcut to toggle an application between hidden and fullscreen. The only problem is, no matter what application I apply it to, I ...
9
votes
2
answers
3k
views
WM-independent way to focus/raise URGENT window
I would like to have a keyboard shortcut to "go to" (focus + raise) window with URGENT flag set which looks like URGENT: it appears on the taskbar (Gnome + Metacity) even if it is on desktop other ...
9
votes
2
answers
4k
views
Is there any way to prevent focus being grabbed by another application?
I am getting annoyed by windows under X opening and taking focus away from the current window which has focus. This is particularly annoying when you are typing a password into a password dialog and ...
3
votes
1
answer
284
views
How to autofocus already joined channels in irssi with /join?
I've got a bunch of windows (>80) in irssi. Quite often I quickly want to switch the active window to #channelX, without knowing which window number it has. Cycling through all of them is useless too ...
4
votes
2
answers
256
views
Can you tell a window to spawn behind others?
I have a script that recompiles and relaunches a software project I am building in linux. However, I don't usually want to see my program's window immediately after it has launched, as I want to keep ...