Score:1

prevent updates window from appearing in front of the other open windows

co flag

I'm using Ubuntu 20.04 (I can't upgrade to the next version).

How to prevent the "available updates window" from appearing in front of other opened windows?

I would like it to open minimized completely (like it does in later versions of Ubuntu). I don't want to disable the check of updates.

This behavior is very much frustrating, because it appears in front of other open windows, causing the active window to lose focus, especially when I'm typing something in it...

I need to fix this, it's so frustrating when it changes the focus while I'm typing!

Thanks

Pilot6 avatar
cn flag
it appears ~once a week. Is this a problem?
user2342558 avatar
co flag
@Pilot6 sure, I cannot work on a window that the updates window appear in front on it and I accindentally press Spacebar or Return then it triggers the updates window to start downloading updates... it's so annoying to give input to the new autofocused window instead of the previous correct one. I'm surprise you're asking if it's a problem, it's a shame for UX
Score:1
pe flag

You can force it to open minimized with devilspie2 (tutorial repo)

Install: sudo apt install -y devilspie2

Create ~/.config/devilspie2/minimize.lua:

if (get_application_name() == "check-new-release-gtk") then
  minimize();
end

To start automatically create ~/.config/autostart/devilspie2.desktop:

[Desktop Entry]
Name=devilspie2
Exec=devilspie2
Terminal=false
Type=Application

Reboot and it should always open minimized.

Note: this is for the upgrade to 22.04, if you meant software updates then replace check-new-release-gtk with update-manager.

user2342558 avatar
co flag
it works, thanks a lot for your time. It helped me got less frustrated :-)
I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.