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 πŸ’¨

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Eliminate Context Switching and Maximize Productivity

Pieces.app

Pieces Copilot is your personalized workflow assistant, working alongside your favorite apps. Ask questions about entire repositories, generate contextualized code, save and reuse useful snippets, and streamline your development process.

Learn more

πŸ‘‹ Kindness is contagious

Please leave a ❀️ or a friendly comment on this post if you found it helpful!

Okay