Bug 319926 - [wish] Add shortcut for toggling background and/or switching profile
Summary: [wish] Add shortcut for toggling background and/or switching profile
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 17.12.2
Platform: Arch Linux Linux
: NOR wishlist
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-16 21:30 UTC by leon
Modified: 2019-07-07 23:07 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In: 19.04.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description leon 2013-05-16 21:30:21 UTC
If you got a background on your Konsole and text scrolls by, it might be difficult to see.

In that case it might be practical to quickly turn the background off, because it is not always possible to stop the text-flow with [Scroll Lock] as most laptops don't usually have it anymore.
(Some keyboards for computers dont have either.)

Another way, that is probably more versatile to use, is changing the whole profile per shortcut.

For me, either one works. Second could come in handy when going through tunnels by train.

Perhaps you find both more or less sensible

Reproducible: Always

Steps to Reproduce:
1. Click Settings
2. Go to "Configue Shortcuts"
3. Look for something background-related
^^
Actual Results:  
I went: 'Ohh, what a pity... Let's post a feature request!'

Expected Results:  
Offer some kind 

Laptops tend to be used while traveling and the lighting can change, therefore it would be quite practical to be able to quickly change the colors in some way
Comment 1 Ahmad Samir 2018-02-28 18:58:55 UTC
Current versions of konsole support keyboard shortcuts to switch to profiles.

KDE4/konsole is no longer maintained.
Comment 2 azrdev 2018-02-28 19:37:38 UTC
With Konsole 17.12.2 on archlinux I still don't see a shortcut for toggling background or cycle through profiles. In Settings > Shortcuts, I can assign to "Edit Current Profile" and "Manage Profiles".
In the Configuration Dialog, Tab "Profiles" I can assign a keyboard shortcut to each profile. That shortcut, however, launches a new tab with that profile, and does not affect the current tab.
Comment 3 Ahmad Samir 2018-02-28 20:32:20 UTC
You are right, I misunderstood, sorry about that.
Comment 4 Kurt Hindenburg 2018-12-30 23:08:02 UTC
Git commit d689ba5403ceb998013fc99de6758976f8509e98 by Kurt Hindenburg, on behalf of Thomas Surrel.
Committed on 30/12/2018 at 23:07.
Pushed by hindenburg into branch 'master'.

Profile shortcuts switch profile instead of opening new tab

Summary:
This is a proposal to modify the profile shortcuts behaviour:
instead of opening a new tab with the corresponding profile
they now switch the profile of the current terminal display.

Reviewers: #konsole, hindenburg, tcanabrava

Reviewed By: #konsole, hindenburg

Subscribers: loh.tar, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D17374

M  +1    -1    src/MainWindow.cpp
M  +8    -0    src/ProfileManager.cpp
M  +4    -0    src/ProfileManager.h
M  +11   -7    src/SessionController.cpp
M  +4    -0    src/SessionManager.cpp

https://commits.kde.org/konsole/d689ba5403ceb998013fc99de6758976f8509e98
Comment 5 Kurt Hindenburg 2019-07-07 23:07:04 UTC
Git commit a1b64d7956485c6358bd2cccabde3843c1d314eb by Kurt Hindenburg.
Committed on 07/07/2019 at 22:52.
Pushed by scmsync into branch 'master'.

Revert "Profile shortcuts switch profile instead of opening new tab"

This reverts commit d689ba5403ceb998013fc99de6758976f8509e98.

I should have tested this more; this breaks a number of things as
switching doesn't execute the 'Command'.  Since the next release is
close, let's just revert for now.

FIXED-IN: 19.08

M  +1    -1    src/MainWindow.cpp
M  +0    -8    src/ProfileManager.cpp
M  +0    -4    src/ProfileManager.h
M  +7    -11   src/SessionController.cpp
M  +0    -4    src/SessionManager.cpp

https://commits.kde.org/konsole/a1b64d7956485c6358bd2cccabde3843c1d314eb