Questions tagged [focus]

In a windowed GUI, the window that is currently active is said to have "focus"

Filter by
Sorted by
Tagged with
1 vote
0 answers
69 views

Alt-tab focus immediately lost on Wayland with Secondary-Click ('sloppy') window focus if mouse over other window

I've been a fan of the Window Focus mode called "Secondary-Click" (previously "sloppy focus") - available via Gnome Tweaks under the "Windows" tab - which used to work as ...
user avatar
  • 7,967
0 votes
0 answers
11 views

after wake-up: 4 tabs to password

since about two months I have a peculiarity. After wake up by a key press I need to type 4 tabs to get the password field to appear and to get the focus. The initial wake up key and and any other ...
user avatar
1 vote
0 answers
9 views

After screen shot unable to click on any other window or taskbar

So I have the screen shot (copy screen shot of area to clipboard) set to a hotkey which has been working for a couple weeks but now all of a sudden whenever I take a screenshot I'm unable to click on ...
user avatar
3 votes
1 answer
66 views

How to prevent new windows stealing focus in Lubuntu 20.04 (Ubuntu with LXQT)

I've seen some solutions for this problem (preventing new windows of stealing focus) for Ubuntu with Copmiz, but cannot find anything for Lubuntu 20.04 (which uses Lxqt with openbox, and optionally ...
user avatar
  • 181
3 votes
1 answer
202 views

Is it possible to stop windows from getting focus in i3 window manager? X11

Is it possible to stop windows (applications) from getting focus? For example when I launch discord, it steals focus multiple times, while I would like to be able to continue typing in my terminal, ...
user avatar
11 votes
2 answers
610 views

How to make Chrome browser "Save as" dialog to be on focus when opening under Ubuntu 21.04?

I use Ubuntu 21.04 and bumped exactly in the issue that seem to be solved long ago... under 14.04 version. But now it's back. I use Chrome 94.0.4606.61(Official Build)and when open "Save as...&...
user avatar
  • 143
2 votes
1 answer
145 views

How do I set "focus follows mouse" in Ubuntu-Mate 20.04LTS?

I read several past entries about "focus follows mouse" in these pages, but I could not find an answer that helped me. Many answers are for older versions, and others are for Ubuntu flavors ...
user avatar
0 votes
1 answer
136 views

Netplan - how to bring wifi interface up only?

On Focal ubuntu server, I just want the wifi interface to come up without trying to connect. I take my laptop to several coffee shops so it would not make sense to hard code the values here. Instead, ...
user avatar
  • 103
0 votes
1 answer
227 views

Set focus to background window

how can i set the focus (for input) to a background window and the foreground windows still lays over it? I use the regular Ubuntu 20.04 Desktop. Can remember that this works years ago on fvwm2, but ...
user avatar
0 votes
1 answer
595 views

Suggest any GUI App similar to digital wellbeing or Qualitytime for Ubuntu

I am new to Ubuntu. I want to count the total time spend on each app and on-screen time. Is there a software for the same? For example Digital Wellbeing and QualityTime.
user avatar
  • 11
1 vote
0 answers
220 views

How to keep full-screen windows on top when they don't have focus (Xubuntu 20.04)

I have a multi-monitor setup. When I have a window on one-monitor full screen but move focus to a window on a different monitor (I have focus set to follow the mouse) the full screen window goes to ...
user avatar
9 votes
4 answers
4k views

Non-focused windows not responding to mouse clicks

I am encountering a problem wherein, after using Ubuntu 20.04 for awhile, non-focused windows stop responding to mouse clicks (and thus do not gain focus). Furthermore the title bar of even the ...
user avatar
1 vote
0 answers
326 views

How do I remove the glow on plank dock when an app is focused on?

I want to remove this glow on plank anybody know how? I opened the dock.theme file and the only way i could make it disappear was to make TopPadding=-12 which will just basically make my whole dock ...
user avatar
14 votes
2 answers
1k views

Raise a window in 20.04 by clicking without clicking any of the buttons inside it (disable "click-through")

I would like to configure Ubuntu 20.04 (with Gnome shell) so that if I click a window which does not have focus, that click raises the window and does nothing else; in particular, that click to raise ...
user avatar
  • 4,187
3 votes
2 answers
3k views

How to stop focus follows mouse?

Is there a single command to simply disable the "out-of-focus" effect? In Dconf manager I only see different setups for this behavior but none to just disable it.
user avatar
  • 31
1 vote
0 answers
40 views

STT works less well when another application has focus. How can I improve STT to work as part of the OS?

STT works less well when another application has focus. How can I improve STT to work as part of the OS? My virtual assistant program can do things like move windows around, but it seems to work best ...
user avatar
0 votes
0 answers
410 views

How can I change the focus when I minimize a window?

I use very often the shortcut "alt+tab" to change the focus between windows, however, every time I minimize a window and press "alt+tab" it takes the focus back on the window I've just minimized - and ...
user avatar
  • 21
3 votes
2 answers
2k views

Gnome Shell - How to prevent an application from starting behind the application in focus?

I'm doing automated testing with Sikuli and it's important that the stuff being tested is visible on the screen. Lately, the apps/windows keep opening in the background, behind whatever is currently ...
user avatar
  • 173
0 votes
0 answers
18 views

How do you configure such that window focus follows the mouse in 18.04? [duplicate]

How do you configure so that window focus goes to the window under the mouse position? I see only answers relating to arcane versions of Ubuntu. Should you install the gnome tweak tool? is it ...
user avatar
  • 2,134
2 votes
1 answer
299 views

When scrolling in App1, then alt-tab to App2, App2 jumps its scoll point in line with App1 scroll, and vice versa

I am on 18.04 and it has only recently started happening. When mouse scrolling in 1st app (e.g. 1.5 pages of scrolling). I then change to another app. As I then go to mouse scroll in the 2nd app, the ...
user avatar
3 votes
1 answer
139 views

GUI issues after upgrade to Ubuntu 18.04 LTS (possibly related to "Gnome global application menu" extension)

I upgraded to Ubuntu 18.04 LTS last night and am running into some view problems, which have to do with the GUI. As a background: I tried to twist the panel view, in order to save space (one panel) ...
user avatar
  • 163
1 vote
0 answers
108 views

Cannot rename files or folders in Nautilus (long time running occuring issue)

When I run Ubuntu 16.04 for a long time (let us say minimum overnight, sitting idle) on my ASUS ROG G752VSK laptop, Nautilus repeatedly run into this funny issue, which is described perfectly here: ...
user avatar
  • 41
1 vote
1 answer
382 views

Mouse cursor becomes "trapped" focused on the wrong window

On Ubuntu 18.04, using Cinnamon, with a Logitech Performance MX mouse, the cursor will be focused on the wrong window despite another window being on top of it, in focus. When I try to click in the ...
user avatar
0 votes
1 answer
240 views

No focus on last opened document when opened after a first one

In a recent past, I was using Unity, with Ubuntu 16.04. When I selected and opened a document in Nautilus, the display swap directy to the application corresponding to the document and this ...
user avatar
1 vote
0 answers
37 views

How to stay on same app when closing window

Say I have Firefox and several Document Viewer windows open. When I switch apps to Document Viewer and close the current window I expect the next Document Viewer window to get focus. What instead ...
user avatar
  • 55
1 vote
1 answer
311 views

Forcing a window to be "always on top"

Working QBitTorrent in Ubuntu. QBitTorrent can be fully minimised any of all of the time (not the headless/web interface, the normal Gui interface), but i want it so that it remains open at all times....
user avatar
19 votes
1 answer
2k views

How to prevent notifications from grabbing focus in 18.04

I updated from 16.04 LTS to 18.04 last year, and the Gnome notifications are a nuisance. In 16.04 with Unity, notifications would not grab focus, they'd just appear as an overlay in the corner -- you ...
user avatar
  • 323
1 vote
0 answers
51 views

Foxit Reader doesn't take focus on opening a file in Ubuntu 18.04 [duplicate]

I'm using Foxit Reader as my default pdf reader in Ubuntu 18.04. However, if I open a pdf from file explorer, the pdf will be opened in Foxit Reader in background. I need to manually switch to Foxit ...
user avatar
4 votes
1 answer
803 views

How do I make a newly opened file the active window on GNOME 3?

When I double click a file in Nautilus (e.g. a LibreOffice document) it will open a new window in the background, but Nautilus remains the active window. Is there a way to open a file and have the ...
user avatar
0 votes
0 answers
566 views

how to automatically center the mouse cursor on new opened windows?

I cant find any option on Unity tweak tool neither compiz for that. Google only shows info about that feature on WindowsOS. related but about already opened windows: Automatically move mouse to ...
user avatar
0 votes
0 answers
239 views

How to turn off the desktop autoswitching and autofocus by an app on Lubuntu 18.04?

I'm running hugin+panomatic and it makes a new window for every pair of the photos. I tried to move the main window to the second desktop, but it switches desktop every time the new window appears. I'...
user avatar
0 votes
1 answer
1k views

Terminal used for SSH connection becomes unresponsive after I switch to and from other applications

I use Ubuntu 18.04 desktop and sometimes I use an ssh connection in terminal to a server. When I switch from terminal to another application such as Gedit, Nautilus etc, and come back to the terminal, ...
user avatar
2 votes
1 answer
1k views

Applications do not focus as expected or at all but only the mouse input focus is wrong

I have recently been trying to get a working Linux install on my main PC. My PC runs on a GTX 1060. I've been having this issue where my mouse won't click properly in what looks to be a properly ...
user avatar
62 votes
4 answers
12k views

How to prevent new windows from stealing focus?

Typical situation is that I type something (worst case is my password) in some application, when some other application pops up a window and steals the focus, so my typing (password) goes to something ...
user avatar
9 votes
0 answers
905 views

How to prevent an application stealing focus in Ubuntu 18.04

When clicking a link in Thunderbird, Chrome automatically steals focus. I want to keep working in Thunderbird while clicking links open them in Chrome in the background - without stealing focus. How ...
user avatar
2 votes
3 answers
2k views

Force new window focus in GNOME

I am running Ubuntu 18.04 with two monitors. I use the Atom IDE with the atom-python-run package to run the command python3 {filename} at the push of a button. This opens a new terminal window. ...
user avatar
3 votes
1 answer
996 views

Is it possible to Enable Focus Stealing under Wayland? (Gnome Shell 3.26, Ubuntu 17.10)

I've just switched over to Wayland from XOrg under Ubuntu 17.10. Say I'm in Nautilus and I click on a text-file. It used to be for me that I was automatically switched over to gedit (every time I ...
user avatar
4 votes
1 answer
1k views

On 17.10 the left Alt key steals focus - how can I stop it?

I reinstalled Ubuntu 17.10 (amd64) desktop 2 days ago, preserving all of my home directory data. No problem there. Since the re-installation, I have noticed that pressing the left Alt key "steals" ...
user avatar
  • 855
1 vote
1 answer
957 views

Minimize currently focused window keyboard shortcut in Ubuntu 17.10 [duplicate]

I'm trying to find a keyboard shortcut in 17.10 to minimize the currently focused window. There doesn't seem to be one in Keyboard settings. Tried adding a new shortcut, but not sure what the ...
user avatar
23 votes
1 answer
20k views

How do I set focus follows mouse in Ubuntu 17.10 and later with GNOME 3?

I found multiple answers on askUbuntu about this topic. But none of them suites to Ubuntu 17.10. So I need to ask again: How do I set focus follows mouse in Ubuntu 17.10?
user avatar
  • 1,839
0 votes
2 answers
240 views

Ubuntu 14.04 mouse and keyboard focus different windows

I'm using Ubuntu 14.04.5 LTS and my mouse and keyboard are behaving weird after login today and after opening one window (firefox, nautilus) and then the terminal (terminator). Mouse and keyboard are ...
user avatar
  • 3
1 vote
1 answer
267 views

Let all windows stay in foreground [duplicate]

What can I do that all tabs stay in the foreground all the time? Imagine you have two windows open; one is, for example, Google Chrome, this one is fullsize. The second one is a normal sized terminal....
user avatar
4 votes
3 answers
3k views

How do I enable 'focus follows mouse' in Lubuntu (LXDE)?

I would like to enable "focus follows mouse" bahavior in LXDE. How can I do it? I would prefer a command-line solution.
user avatar
6 votes
1 answer
1k views

Automatically minimize program after X time without focus?

Is there a way to automatically minimize a program after it hasn't had focus for a set amount of time?
user avatar
  • 325
2 votes
0 answers
390 views

gnome-terminal active window background color

In tmux, if tmux.conf has lines set -g window-style 'bg=colour237' set -g window-active-style 'bg=colour232' Then the active pane will have a different background color than the others. Can this be ...
user avatar
3 votes
1 answer
829 views

Devilspie window focus

I'm on Ubuntu GNOME 16.04 and I'm using devilspie to undecorate the GNOME Terminal windows. It works well except when a terminal window is launched, it is not focused and shortcuts like alt-tab, alt-`,...
user avatar
  • 83
1 vote
0 answers
202 views

16.04 Ubuntu - cannot enable focus follows mouse [duplicate]

I just "updated" from 14.04 to 16.04. I like gnome metacity, but cannot get it to focus follow mouse. I've tried at least 4 methods and rebooted, without success. I've been using the net since 1991, ...
user avatar
10 votes
4 answers
2k views

Highlight Window with focus even more

I have two monitors and sometimes I start to type into the wrong window. The window with the focus is highlighted in unity (Ubuntu 16.04) with a gray shadow. Is there a way to highlight the window ...
user avatar
  • 2,352
1 vote
0 answers
325 views

Is there any way to set the delay of the focus?

I have used the Unity Tweak Tool to set focus behavior to "follow mouse" using the "sloppy" option. This way when I mouse over a window it takes focus. Is there any way to set the delay of the focus? ...
user avatar
2 votes
0 answers
88 views

How to make a window/program raise itself when called?

So whenever I press 'Open containing folder' in some program or when a package wants to open in the software centre, or when a torrent file wants to open in a torrent client, the icon for that program ...
user avatar
  • 1,127