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

Опубликовано: 28 Октябрь 2024
на канале: Danie van der Merwe
429
14

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.


CHAPTERS:
---------------------------------------------------
Intro 00:00
How it will Look 02:08
Adding a Profile 03:31
Set a Global Shortcut 06:33
Final Test 09:10
Wrap Up 09:36


LINKS:
---------------------------------------------------
Distrobox https://github.com/89luca89/distrobox/
Brodie Robertson's video about Distrobox    • Distrobox Is Basically A Linux Subsys...  

FOLLOW ME:
---------------------------------------------------
My daily tech blog at https://gadgeteer.co.za/blog
I post to all these social networks at https://gadgeteer.co.za/social-networ...
Videos also replicated to Odysee at https://odysee.com/@GadgeteerZA

#technology #opensource #Linux #Distrobox #Konsole