Bug 368216 - Switch to open windows using Super/Meta/Windows key + 0..9 digits/numbers
Summary: Switch to open windows using Super/Meta/Windows key + 0..9 digits/numbers
Status: RESOLVED DUPLICATE of bug 336348
Alias: None
Product: plasmashell
Classification: Plasma
Component: Task Manager and Icons-Only Task Manager (show other bugs)
Version: 5.5.5
Platform: Other Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Eike Hein
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-03 22:07 UTC by Dan Dascalescu
Modified: 2016-09-04 22:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Dascalescu 2016-09-03 22:07:00 UTC
This is especially handy if you often switch among the same few apps, e.g. a browser, a file manager and an editor, but also have other apps open, so Alt+Tabbing to the desired window would take more time.[1]

That keyboard shortcut saves me probably 5 seconds per minute on the average, so ~40 minutes a day, and it's supported by Unity and Windows 7 as well. Adding custom keyboard shortcuts for the app doesn't work, because pressing the shortcut will launch a new instance of the app.[2]

Adding Meta+1/2/3... via the window menu -> More Actions -> Window shortcut works, but there are two annoying problems:
1. The shortcut is forgotten when the window is closed, and you have to configure it again
2. If the app isn't running, the OS won't launch it for you. In Windows, you can launch the app that way.

[1]: KDE will order the most frequently used windows first, but you have to first look and see how many times you have to press Alt+Tab; while with Super+1 or Super+2, you always know which shortcut goes to one app or the other.

[2]: Some apps have an option to allow only one instance, but this is the exception rather than the rule, and even in that case, there will be a noticeable flicker of launching the new instance and seeing it exiting immediately.

Reproducible: Always




Demand for this feature:
* Windows supports it
* Unity supports it
* Cinnamon users want it - https://github.com/linuxmint/Cinnamon/issues/5561
* http://askubuntu.com/questions/813262/which-desktop-environments-allow-switching-among-windows-with-supernumbers
* I've placed a $100 bounty on it
Comment 1 Christoph Feck 2016-09-04 05:52:34 UTC
Could you please clarify how the mapping "windows <-> numbers" should be done? Let's say, I have 12 windows open, how should kwin select which windows get which numbers?
Comment 2 Dan Dascalescu 2016-09-04 07:44:48 UTC
Same as Unity and Windows and Cinnamon (https://cinnamon-spices.linuxmint.com/applets/view/217) - windows should get the digits 1..9 based on the order in the taskbar.  '0' can do something special. Windows past the 9th don't get any shortcut. Taskbar buttons can be reordered if the user wants to prioritize some windows.
Comment 3 Kai Uwe Broulik 2016-09-04 22:24:32 UTC

*** This bug has been marked as a duplicate of bug 336348 ***