Monday, July 29, 2024

KDE custom keyboard shortcuts using kdotool

For my job I have many windows open across multiple desktops and I often need to get back to a window on a different desktop quickly, or pressing ALT+Tab isnt a good option because I have 5+ windows open.

In KDE system settings search for 'shortcut' then click Add New button > 'Command or Script' and use a command like this

kdotool search --name slack windowactivate


After that click 'add custom shortcut' button and press the keyboard combo you want.






No comments:

//]]>