Open KDE Konsole named Profiles, with own identification and a custom command, using a keyboard shortcut

KonsoleThumb

Open Konsole named Profiles, with own identification and a custom command, using a keyboard shortcut

This solves a problem I had with wanting to quickly start up a Distrobox container using a shortcut key, but also being able to differentiate it visually from my normal Konsole terminal screen I’d use on Manjaro Linux. It is extremely quick and the named Konsole Profile has a different colour as well as a different window title bar. I needed this as my Starship custom prompt was not playing ball with showing the change of OS properly (it could do so, but the formatting broke all the time). This method I describe here is solid, and works irrespective of the prompt.

I thought this was worth sharing as firstly I could find no search results showing how to do this, and secondly, it can actually be applied for purposes other than just starting a Distrobox container. Any terminal command can be used. It is also a useful way to actually use these named Profiles that Konsole has in KDE Plasma.

My video also gives a taste of what Distrobox does, so if you’re interested further in Distrobox I have also included a link below my video, to a Distrobox overview video by someone else.

Watch https://youtu.be/g7x_ngYtj6Y