DEV Community

Cover image for Control a PWA window like a native app window in GNOME, a Linux shortcut that completes PWA experiences!
Archer Allstars
Archer Allstars

Posted on

Control a PWA window like a native app window in GNOME, a Linux shortcut that completes PWA experiences!

TL;DR: see the cover ๐Ÿ˜‚

This could be my shortest article ever. However, I think it's worth writing, as I use PWA a lot - it's faster and more secure than any (Electron)apps out there, i.e. nearly all Electron apps run on an outdated Electron version.

Nevertheless, there's one piece missing when I use a PWA: a way to control the app window's behaviors like a native app. For example, if I want a native app window to move to the previous workspace, I can right-click at the window border to activate the window menu, as shown in the screenshot below:

screenshot #1

But if I do that with a PWA window, there's no menu to control the app window's behaviors, as shown in the screenshot below:

screenshot #2

Basically, that's the rick-click menu of the current web browser.


Use Alt+Space to activate the window menu in all the app running in GNOME

In order to activate the window menu while using any PWA app, just use Alt+Space shortcut, then you are good to go, as shown in the screenshot below:

screenshot #3

This is useful for me when I make a video call with my family and friends. I can make the video call window to always be on top on the visible workspace ๐Ÿฅณ

Since this is a system shortcut, it works in every app, not limited to PWA! You can change the keystroke for this shortcut in GNOME Settings.

screenshot #4


I hope this is useful. Bye ๐Ÿ’จ

Top comments (0)