Commit Graph

202 Commits

Author SHA1 Message Date
Thiago Sueto
dc63dd8515 Add intense foreground color Plasma Blue 2023-11-13 08:24:58 -03:00
Luis Javier Merino Morán
98d6128f1a Allow Shift+Arrows+Alt/Ctrl for applications
The scrollLineUp and scrollLineDown were intercepting all Shift+Up and
Shift+Down presses, even if other modifiers were present.  Bind them
strictly to Shift+Arrow, and allow Shift+Alt+Arrow, Shift+Ctrl+Arrow and
Shift+Alt+Ctrl+Arrow for applications.

BUG: 405073
2022-12-14 23:14:19 +01:00
Luis Javier Merino Morán
939a30bd97 Propagate Shift+PgUp/PgDown in alternate screen
I cannot express this any better than magiblot at the linked bug report:

    In normal conditions, Shift+PgUp/Shift+PgDn allow traversing the
    scrollback buffer. However, when a client application enables the
    alternate screen buffer, scrollback is not available. In this
    situation, Shift+PgUp/Shift+PgDn keystrokes could be propagated to
    the client instead of being discarded by Konsole.

BUG: 461150
2022-12-14 23:03:49 +01:00
Luis Javier Merino Morán
9997bf74fc Cosmetic fixes for keytabs
- Improve the alignment of modifiers and strings.
- Reorder the [+-]Ctrl modifier in scroll* operations to improve
  alignment with operations without any Ctrl modifier.
- Reorder scroll* operations so PgUp resp PgDown operations appear
  together.
2022-12-14 23:03:43 +01:00
Luis Javier Merino Morán
d85e1b0167 Fix macos.keytab
Since scrollPromptDown is PgDown+Shift+Ctrl, the entry that has to be
restricted to +Shift-Ctrl is also PgDown, not Down.
2022-12-14 22:57:52 +01:00
Matan Ziv-Av
2b4b2e394d Fix macos.keytab
Scroll prompt down is Shift+Ctrl+PgDown, not Shift+Ctrl+Down.
2022-12-14 10:12:57 +02:00
Matan Ziv-Av
e93ab7981a Correct the action name for Shift-Ctrl-PageDown
It should be named scrollPromptDown, not scrollDownPrompt.
2022-12-09 21:50:27 +02:00
Andrey Butirsky
b8325d2f18 fixup! Adopt KHamburgerMenu 2022-11-29 23:03:54 +04:00
Matan Ziv-Av
c4779f359b Add scroll to previous/next prompt
When using semantic shell integration (OSC 133), ctrl+shift+PgUp/Down
scrolls up down to the next prompt.
2022-07-03 07:58:54 +00:00
Hannah von Reth
aa390e159f Add ctrl+r to the mac key map 2021-09-09 14:01:22 +02:00
Timothée Ravier
f507429456 data/icons: Update to latest Breeze version
From https://invent.kde.org/frameworks/breeze-icons/-/blob/master/icons/apps/64/utilities-terminal.svg
2021-09-02 22:20:53 +00:00
Alexander Lohnau
64862e4312 Remove deprecated and defunct KNewStuff properties 2021-07-03 17:30:10 +02:00
Lucas Biaggi
29e86ddeb7 Add ability to load/save session layouts(split views) and add default layouts
Add three layouts to the toolbar; add --layout <file> to the command line.
The 3 defaults layouts are 2x2, 2x1, 1x2

GUI:
2021-04-24 21:30:11 +00:00
Alexander Lohnau
8936b4db46 Port away from deprecated KNSCore::DownloadManager
We can just remove the files on disk and with the RemoveDeadEntries
option set to true KNS will check if the files still exist. If
not the entry will be marked as not installed.
2021-02-02 13:35:10 +00:00
Kurt Hindenburg
e324355c06 Set parent and foreground process ids on macOS
This allows sending signals to work again.  Correct macos keytab so
Ctrl+C and Ctrl+V work.  Add warning to show sending signals
require foreground process id to be set.
2021-01-16 16:43:23 -05:00
Martin T. H. Sandsmark
b2ce2db26a Add support for ctrl+tab to the default keyboard translation
This escape matches what e. g. vim and screen recognizes, and seems to
be fairly standard.

NB: By default ctrl+tab is mapped to changing tabs in Konsole, so you
need to reset that in the shortcut settings for this to have any impact.
2020-11-30 15:47:41 +00:00
Kurt Hindenburg
46a0be0030 Add a macOS keytab file 2020-10-07 10:12:13 -04:00
Alexander Lohnau
d368745ec4 remove unnecessary version check 2020-09-11 22:54:34 +02:00
Albert Astals Cid
f1599f17e9 Optinally install icons
Useful for stuff like flatpak that needs an icon to exist just by
compiling the app
2020-08-21 00:28:56 +02:00
Kurt Hindenburg
42e10f1098 Update URLs 2020-06-19 21:02:15 -04:00
Kurt Hindenburg
9babfb2efe Re-add correct ProvidersUrl; needed for non-Plasma systems per ml 2020-01-31 21:09:43 -05:00
Kurt Hindenburg
048edf7395 Remove default ProvidersUrl to use KNewStuff's default
See https://marc.info/?l=kde-core-devel&m=158037601132219&w=2 and
https://marc.info/?l=kde-core-devel&m=158038883603886&w=2
2020-01-30 08:08:47 -05:00
Mariusz Glebocki
dc29be39a6 Keep perceived contrast in random background color
Summary:
Randomize colors using HSLuv color space instead of HSL. It has
perceptually uniform lightness, which means every color with the same
lightness value is perceived as equally bright by humans. Displays
quality and lack of calibration in most monitors lowers this uniformity,
but even on worst color display it should be better than standard HSL.

More information about HSLuv: http://www.hsluv.org/

Minor changes:

* Random seed takes PID into account to prevent repeated colors in
  separate Konsole processes
* Key names in a config were changed
* Adapted "Black on random light" color scheme

Breeze with random ranges on default bg and fg: hue=360° saturation=100:
{F6754773}

To be done in future:

* Automatically convert color schemes which use old randomization
  method.

Reviewers: #konsole, #vdg

Subscribers: hindenburg, #vdg, #konsole

Tags: #konsole, #vdg

Differential Revision: https://phabricator.kde.org/D20263
2019-08-17 16:00:45 -04:00
Jonathan Riddell
aca69e51c2 When we use framework 5.58.0 we can use new knsrc file directory 2019-06-14 11:10:17 +01:00
Jonathan Riddell
aaaa7a8874 move ksnrc file to new directory 2019-06-14 10:38:33 +01:00
Kurt Hindenburg
d801b2d015 Uncompress any colorscheme archive downloaded from KNewStuff store
For example, Apu's theme is a tar.gz which would not work before.
2018-12-30 14:25:07 -05:00
Nate Graham
cb8b97a8f1 Update Breeze color scheme's colors
Summary:
When I updated the colors of the systemwide Breeze color scheme last
year, I neglected to update the Konsole color scheme. This patch corrects
that oversight.

Colors taken from https://hig.kde.org/style/color/default.html

CCBUG: 391920

Test Plan:
Overall, the contrast is much better than it was before.

{F6479084}

{F6479083}

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, konsole-devel

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D17613
2018-12-17 10:40:17 -05:00
Ahmad Samir
be7181c93a Backspace without CTRL should send '^?'
Summary:
This matches XTerm behaviour, so that pressing Alt+Backspace will send
\E + Del, which is the expected behaviour in some apps (e.g. emacs),
and it also matches the Konsole behaviour before commit
5345bbb0af

BUG: 394276
FIXED-IN: 18.04.2

Test Plan:
- Make sure you have the default .keytab file without any modifications
- Run `emacs -Q -nw`, press Ctrl+h k, to invoke the describe key functionality
- Press Alt+Backspace, it'll send C-M-h
- Apply the diff and test again, now it should send M-Del

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: konsole-devel, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D12899
2018-05-16 09:36:10 -04:00
Ahmad Samir
1ec394b9e7 Tweak README-KeyTab and README.keyboard a bit
Summary:
Rename README.KeyTab to README-KeyTab to prevent Konsole from trying to
load it as a keyboard translator file, and fix references to that file
name in other files.

Flesh out README-KeyTab and README.keyboard and reformat them.

Also copy the the original README-KeyTab to README-KeyTab-original,
just in case there's some concept that I misinterpretted/misunderstood.

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D12032
2018-04-13 08:44:01 -04:00
Ahmad Samir
2037c36a64 Make the keypad "5" key send "\E[E" when NumLock is off
Summary:
When NumLock is off the keypad "5" key should send '\E[E' sequence; this
matches xterm behaviour.

BUG: 189116

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: hindenburg, #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D11958
2018-04-05 18:28:08 -04:00
Harald Sitter
97d9ed9436 add knewstuff support for color schemes
Summary:
schemes are supplied by `Konsole Color Scheme` category on store.kde.org

https://store.kde.org/p/1216368/

- new manager helpers to unload a theme and check a file's name validity
- new Get New.. button to start the KNS download dialog
- upon KNS completion we'll attempt to load all installed files as schemes
- for KNS entities which failed to load anything we'll show a warning as
  the theme is malformed
- for removal we'll first try to remove schemes through KNS to avoid its
  registry going out of sync with the on-disk "installedness" of an entity
- properly disable copying of the scheme manager (needs to be private)

FEATURE: 18.04.0
CHANGELOG: Support for downloading color schemes from the KDE store

Test Plan:
category is T8053 (can also use `KDE Color Scheme KDE4` for testing)

- get new -> install scheme -> close -> shows up in list
- remove from list -> get new -> not listed as installed
- install random stuff from kde color scheme category -> close ->
  warning should be displayed
- install scheme -> get new -> remove scheme via dialog -> close ->
  not listed as installed

Reviewers: hindenburg

Subscribers: #konsole

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D10766
2018-02-28 10:49:10 +01:00
Ahmad Samir
5345bbb0af Match xterm behaviour when pressing Ctrl+Backspace
Summary:
Change the default keyboard translator to match xterm behaviour:
 - Pressing Backspace without any modifiers sends '^?', ASCII DEL
   character
 - Pressing Control+Backspace sends '^H', BS character

BUG: 391075

Test Plan:
- Before applying the patch pressing Ctrl+V (to insert verbatim) then
  Backspace, sends '^?'; the same happens with Ctrl+Backspace
- With the patch:
  - pressing Ctrl+V then Backspace sends '^?'
  - pressing Ctrl+V then Ctrl+Backspace sends '^H'

Reviewers: #konsole, hindenburg

Reviewed By: #konsole, hindenburg

Subscribers: ngraham

Tags: #konsole

Differential Revision: https://phabricator.kde.org/D10884
2018-02-27 23:04:10 -05:00
Harald Sitter
9470fd0239 sync value order with how 16.08 writes them
makes it easier to spot difference when copying a changed theme moving
forward

REVIEW: 129369
2016-11-21 08:28:40 +01:00
R.J.V. Bertin
1ab412b58e Ship and install an app icon on Mac and MS Windows
Also set more relevant information in the Mac Info dictionary.
2016-11-20 17:40:06 +01:00
Harald Sitter
3f79ec70e5 Breeze color scheme uses better contrasting color for "black" color value
The previous set of blueish colors offered fairly bad contrast with the
charcoal grey background when using the "black" contrast value. To give
a more uniform experience the default "black" color is now charcoal grey
with it's intense variant shifted into a light grey to complement the
intense background, which is charcoal grey shifted into a more intense dark

This should offer overall better contrast, in particular in htop.

BUG: 371068
REVIEW: 129368
CHANGELOG: Breeze color scheme uses better contrasting color for "black" color value
2016-11-10 12:07:44 +01:00
Kurt Hindenburg
84b43dfb21 Add rendition flags SGRs 2, 8, 9, 53
Adds faint intensity, strikeout, conceal and overline support.

echo -e 'D\e[2mD\e[9mD\e[53mD\e[8mD'

Thanks to Antonio Russo antonio e russo gmail com for patch

REVIEW: 128405
BUG: 362171
2016-07-16 12:34:24 -04:00
Kurt Hindenburg
733a577e95 Remove vt420pc.keytab - it was never installed and appears to not work 2016-06-20 10:04:40 -04:00
Kurt Hindenburg
6aad2f071b Do not install README.KeyTab
It was also a bad idea to name this *.keytab
2016-06-20 10:02:34 -04:00
Kurt Hindenburg
92346e9f51 Depend on ECM 1.6 and use new install variables 2016-06-19 20:19:45 -04:00
Harald Sitter
947342e333 add a color scheme using breeze color palette values (dark bg)
REVIEW: 128132
CHANGELOG: New 'Breeze' color scheme featuring vibrant colors
2016-06-13 11:42:28 +02:00
Kurt Hindenburg
3d649fcfa5 Remove installing Shell.profile
The Shell.profile is identical to the internal fallback profile is.
There's no good reason to install and it adds complexity using it.
2015-09-13 16:43:51 -04:00
l10n daemon script
d9d24d6df1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-07-30 10:27:00 +00:00
l10n daemon script
b427c61608 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-06-27 10:49:43 +00:00
l10n daemon script
d5aab503b4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-04-06 09:51:27 +00:00
l10n daemon script
9f8d393394 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2015-03-17 13:17:03 +00:00
l10n daemon script
2f02b082b1 SVN_SILENT made messages (.desktop file) 2015-02-10 11:19:27 +00:00
Jonathan Riddell
1c3d582c26 remove unused and unported kconf update scripts, kf5 starts from a fresh config 2014-12-01 15:24:08 +01:00
l10n daemon script
ea124ec89a SVN_SILENT made messages (.desktop file) 2014-11-12 08:51:33 +00:00
l10n daemon script
4739abf934 SVN_SILENT made messages (.desktop file) 2014-09-10 08:46:51 +00:00
l10n daemon script
c24c0b3f0e SVN_SILENT made messages (.desktop file) 2014-09-09 11:12:59 +00:00