Bug 407447

Summary: Global shortcut for toggling visibility of Konsole
Product: [Applications] konsole Reporter: jmu <juha.p.mustonen>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: wishlist CC: emilsedgh, nate
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-10642-0.html
attachment-30098-0.html
attachment-9259-0.html
attachment-9589-0.html

Description jmu 2019-05-12 09:05:12 UTC
SUMMARY

Please add support for toggling the visibility of the Konsole application from keyboard, similar to Yakuake open/retract -functionality and what iTerm2 provides. Often, especially when developing a software one needs to show/hide the console. Therefore, I was surprised not to find the functionality in Konsole(?)
Comment 1 tcanabrava 2019-05-12 09:16:44 UTC
Created attachment 119998 [details]
attachment-10642-0.html

You already have this in the form of Alt Tab.

On Sun, May 12, 2019 at 11:05 AM jmu <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=407447
>
>             Bug ID: 407447
>            Summary: Global shortcut for toggling visibility of Konsole
>            Product: konsole
>            Version: unspecified
>           Platform: Archlinux Packages
>                 OS: Linux
>             Status: REPORTED
>           Severity: wishlist
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: juha.p.mustonen@gmail.com
>   Target Milestone: ---
>
> SUMMARY
>
> Please add support for toggling the visibility of the Konsole application
> from
> keyboard, similar to Yakuake open/retract -functionality and what iTerm2
> provides. Often, especially when developing a software one needs to
> show/hide
> the console. Therefore, I was surprised not to find the functionality in
> Konsole(?)
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 Emil Sedgh 2019-05-12 10:43:57 UTC
You can right-click on title bar and go to "More Actions" -> "Special Application Settings" -> "Arrangement & Access" -> "Shortcut".

You can set any shortcut you want, like "F9".
Comment 3 jmu 2019-05-12 19:07:01 UTC
Thanks for the tip, Emil: Using the application specific shortcut is a step into right direction, giving the focus into Konsole. However, I'd prefer using same shortcut for hiding/minimizing the app, too. Also, application shortcut seems to need a modifier, so 'F9' is not supported, for that reason.

Thanks for the comment tcanabrave, too. I'm looking for something more similar to KRunner: Hit the shortcut, run the command(s) and hide the console again.
Comment 4 Nate Graham 2019-05-13 03:56:19 UTC
Why not just use Yakuake? Your use case is exactly what it was built for.
Comment 5 jmu 2019-05-13 05:28:37 UTC
After years of using Yakuake I started to look Konsole again because I felt that Yakuake is no longer under active development whereas Konsole is(?) For example, I've been often bit by this issues:

https://bugs.kde.org/show_bug.cgi?id=356853
https://bugs.kde.org/show_bug.cgi?id=386350 (duplicate)
https://bugs.kde.org/show_bug.cgi?id=392929 (duplicate)

Which still exists, despite being reported years ago. And that is certainly something I don't know how to fix by myself.

But thanks for the comments - I will also look into code editor terminals (like VS Code) that does provide functionality I'm after.

Feel free to close this issue if you find it differentiating Konsole's vision.
Comment 6 tcanabrava 2019-05-13 06:08:10 UTC
Created attachment 120029 [details]
attachment-30098-0.html

those two bugs from yakuake seems also easy to fix, why don't you give it a
try?
Applications need developers to survive, and a few apps are stalled when
the main developer shifts it's attention


On Mon, May 13, 2019 at 7:28 AM jmu <bugzilla_noreply@kde.org> wrote:

> https://bugs.kde.org/show_bug.cgi?id=407447
>
> --- Comment #5 from jmu <juha.p.mustonen@gmail.com> ---
> After years of using Yakuake I started to look Konsole again because I felt
> that Yakuake is no longer under active development whereas Konsole is(?)
> For
> example, I've been often bit by this issues:
>
> https://bugs.kde.org/show_bug.cgi?id=356853
> https://bugs.kde.org/show_bug.cgi?id=386350 (duplicate)
> https://bugs.kde.org/show_bug.cgi?id=392929 (duplicate)
>
> Which still exists, despite being reported years ago. And that is certainly
> something I don't know how to fix by myself.
>
> But thanks for the comments - I will also look into code editor terminals
> (like
> VS Code) that does provide functionality I'm after.
>
> Feel free to close this issue if you find it differentiating Konsole's
> vision.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 7 Nate Graham 2019-05-13 13:54:04 UTC
BTW KDE's own text editor (Kate) and IDE (KDevelop) have integrated terminals too.

I sometimes struggle myself with the conceptual difference between Yakuake and Konsole. Not being a Yakuake user, can you tell me what leads you to choose it over Konsole?
Comment 8 tcanabrava 2019-05-13 13:56:35 UTC
Created attachment 120042 [details]
attachment-9259-0.html

There no real difference (yakuake uses konsole internally).
but it behaves like a 'Quake Console', you press f12,  it appears covering
your whole screen
you press f12 again, it disappears.


On Mon, May 13, 2019 at 3:54 PM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=407447
>
> --- Comment #7 from Nate Graham <nate@kde.org> ---
> BTW KDE's own text editor (Kate) and IDE (KDevelop) have integrated
> terminals
> too.
>
> I sometimes struggle myself with the conceptual difference between Yakuake
> and
> Konsole. Not being a Yakuake user, can you tell me what leads you to
> choose it
> over Konsole?
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 9 Nate Graham 2019-05-13 14:01:34 UTC
That's really it? If so, I admit that it does seem a bit silly to have these two terminal apps that differ only in that one of them lacks this specific feature.

Maybe we should consider adding the feature to Konsole, and encourage Yakuake users to migrate. Yakuake's definitely not as actively developed or maintained a Konsole is. Consolidation of resources might benefit everyone.
Comment 10 tcanabrava 2019-05-13 14:08:26 UTC
Created attachment 120043 [details]
attachment-9589-0.html

I agree.

On Mon, May 13, 2019 at 4:01 PM Nate Graham <bugzilla_noreply@kde.org>
wrote:

> https://bugs.kde.org/show_bug.cgi?id=407447
>
> --- Comment #9 from Nate Graham <nate@kde.org> ---
> That's really it? If so, I admit that it does seem a bit silly to have
> these
> two terminal apps that differ only in that one of them lacks this specific
> feature.
>
> Maybe we should consider adding the feature to Konsole, and encourage
> Yakuake
> users to migrate. Yakuake's definitely not as actively developed or
> maintained
> a Konsole is. Consolidation of resources might benefit everyone.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 11 Nate Graham 2019-05-13 14:19:25 UTC
Changing status to Confirmed, then. :)
Comment 12 Emil Sedgh 2019-05-17 09:54:51 UTC
Just as a side note, you _can_ have F9 as the shortcut for the app. You would have to type in F9 in the Shortcut window manually.

I was a heavy user of Yakuake as well up to a few years ago. Everybody loves Yakuake and Quake style terminals.

I realized the reason I love Yakuake is not because it opens from top-to-bottom with a nice animation. It's because I can assign it a quick global shortcut and my mind can remember it.

So I used KWin's Special Application to give all popular apps their own dedicated shortcuts:

F1 is Chrome
F2 is Dolphin
F3 is Kate
F4 is Telegram
F6 is KMail
F7 is Slack
F9 is Konsole
...

After a few years of using this setup, I'm pretty much sure that it's the most productive workflow possible. All apps are always full screen and 1 key away. And that key is saved into my subconscious that I don't even have to think about it anymore.