Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [focus]

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

5
votes
0answers
51 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 ...
1
vote
0answers
43 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 ...
3
votes
1answer
52 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 ...
0
votes
0answers
31 views

Focus and control another window without changing desktop / workspace

If $id is any window on another desktop: wmctrl -ia "$id" xvkbd -window "$id" -text "q\r" I want to send the "q" to the window, but without switching my desktop to that of the ...
0
votes
0answers
26 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 ...
0
votes
0answers
43 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'...
0
votes
0answers
73 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, ...
0
votes
0answers
39 views

keynav doesn't work on some types of applications

Pressing ctrl + ; when window focus is on some applications, e.g. Mozilla Firefox, keynav works as expected. When I press ctrl+ ; when the window focus is on other applications, e.g. gnome-terminal, ...
2
votes
0answers
62 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 ...
22
votes
1answer
738 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 ...
0
votes
0answers
32 views

In Ubuntu 18.04 how can I set an app to be always on top? [duplicate]

How can I configure an app to be Always On Top when it opens?
0
votes
0answers
59 views

folder behaviour off since 18.04 [duplicate]

Ever since installing Ubuntu 18.04 LTS I have trouble with the folder behavior. As an example: I open a folder and then open an .odt file in that folder using Enter. I then realise it was the wrong ...
1
vote
0answers
216 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 ...
0
votes
0answers
23 views

How to forbid focus switch for some X windows

I work with an application which creates 8 Xterm windows every time it is launched. Each time a new window appears, it grabs the focus. It is very irritating, since these windows contain only logs ...
1
vote
2answers
313 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. ...
0
votes
0answers
136 views

Lubuntu/OpenBox alt-tab minimized windows

I'm using alt-tab to switch between applications in my current workspace. Some applications for some reason (usually full-screen games) when alt-tabbed out automatically minimize themselves. While I ...
0
votes
0answers
20 views

Avoid focus moving automatically to full-screen videos

Is there a way to avoid loosing the focus to a full-screen video (e.g. video player or Youtube) when doing other stuff like closing a window? My setup involves an external monitor with a laptop.
2
votes
1answer
323 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 ...
1
vote
1answer
391 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" ...
1
vote
1answer
590 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 ...
0
votes
2answers
157 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 ...
0
votes
0answers
300 views

How to “lock” window focus

How do I "lock" keyboard focus to a specific window so that whatever I do or click with the mouse the keyboard input still gets fed into the window that I locked into? Ideally I wish to change and ...
1
vote
1answer
63 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....
4
votes
3answers
1k 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.
5
votes
1answer
448 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?
1
vote
0answers
201 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 ...
1
vote
1answer
356 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-`,...
1
vote
0answers
127 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, ...
9
votes
4answers
783 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 ...
1
vote
0answers
213 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? ...
2
votes
0answers
79 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 ...
2
votes
1answer
124 views

Can I iconify new windows by default in Lubuntu?

I want to know if I can start up programs without their Windows opening before I select them, either with Alt + Tab or from my task-bar. Right now if I want to use terminal while I'm loading a web ...
1
vote
0answers
66 views

Unity menu raise on click

I am using Unity on Ubuntu 16.04 A user window is split into a menu bar and the internal window. When I click on the interior I do not want the window raised. When I click on the menu bar, I do want ...
3
votes
1answer
74 views

Ubuntu 15.10 has noise effect when focusing

When I press Alt+TAB and choose another window on my current view-port, this window is "bouncing". Making it a little smaller, then stay normal. It's not very nice, and noising me. How I can turn ...
1
vote
1answer
50 views

Latest opened program window overrides current software window

I'm using Ubuntu 14.04 LTS. I'm finding it very annoying that whenever a program opens its window overrides the current one and gets focus. For example, I click on the icon of a program that takes ...
10
votes
2answers
780 views

Is there software which time- tracks window & application usage?

Is there a software which keeps time of my activities and gives a report? Based on focused window and window title. Report would just show time spent for specific window and its title like: ...
3
votes
2answers
510 views

mouse focus problem

I've just installed Ubuntu Mate 16.04 and am encountering a very annoying problem. After using the pc for a while: it becomes impossible to change focus to another window by mouse click it is still ...
1
vote
1answer
436 views

Is there any Auto-scroll focus in Ubuntu?

In Windows 10, there is a nice new behavior with the scrolling: When you start to scroll on a window who aren't focus, window acquire the focus and scroll automatically. In the previous Window and ...
1
vote
2answers
182 views

How to make windows steal focus when links are opened [closed]

When opening a web URL, the focus does not move to the browser window. How can we achieve this? I'm using Ubuntu 15.10.
2
votes
1answer
239 views

Can I automatically send a particular application's window to the lowest z-position, when it loses focus?

I do most of my work in two applications: my web browser and my editor. I switch back and forth between them frequently with Alt-Tab. I also have an IM client (Hipchat) open at all times, but I ...
3
votes
2answers
1k views

Focused window is not in front

Since I upgraded1 from Ubuntu 15.04 to 15.10, I stumbled upon a really frustrating bug of gnome: if I click on a window, it correctly gets the focus but stays in the background (see screenshot below). ...
3
votes
3answers
3k views

Strange window focus behavior with Ubuntu 15.10 and Gnome

I am running Ubuntu 15.10 and ubuntu-gnome-desktop. Since the upgrade from 15.04 I have noticed that when I double click a window, that window seems to take focus (e.g., the gnome top bar text and ...
0
votes
1answer
107 views

Keyboard shortcut: Changing Focus Term to VLC 14.04

I'm viewing a Python tutorial using VLC as the viewer. At the same time I'm encouraged to have a Python terminal or IDLE open and be working in the term. Question is: are there any keyboard short-...
6
votes
1answer
2k views

Gnome 3.18 - raise window on click [closed]

In Gnome 3.18, when I click on a window that currently is not in focus, it isn't raised - unless I click on the titlebar of that window. How do I set up Gnome so it raises the window after I click it?
5
votes
0answers
104 views

Wrong window gets focus from scale mode

Following Second click on a launcher icon with more than one window open doesn't do a scale of that application, when I do this: Click on an icon in the launcher of an opened application. ...
0
votes
1answer
179 views

Always on focus window [duplicate]

Is there a way to get a windows always on focus? I mean not just on top, but with the focus on it if another window pops up on the screen.
1
vote
1answer
681 views

How to open a window in background without letting it get the focus? [duplicate]

Scenario: Open a program that is starting slowly Not wait for it to open, and switch to other window/task. For e.g. selecting some files in a directory to delete While I am working focused on other ...
2
votes
1answer
242 views

Unfocus window which is on top

I have certain apps which I want to be on top (I set it via window's menu: Alt-Space + "Always on top"). But when I switch between apps by pressing Alt-Tab once, these windows steal focus. This ...
3
votes
0answers
139 views

Window Click to Focus Without Passing Event To App

I like the click-to-focus behavior, but is there some way to prevent the window from receiving the click event until after it has been focused? Example, I click a window in the background to bring it ...
3
votes
2answers
1k views

Xfce with Kde Plasma 5: How to automatically give focus to newly created windows?

I am using Xfce with Kde Plamsa5 as Window Manager. I cant open Xfce Window Settings anymore but KDE System Settings. I cant find an option to automatically focus to newly created windows. When I ...