The Ctrl + Enter key combination does not trigger the expected behavior in applications (e.g., terminal, text editor, chat apps) on a KDE Plasma environment. The keys work independently and have been verified to be fully functional using an online keyboard testing tool (https://en.key-test.ru/), the combination also works on Ubuntu 24 (I have tested using a Live ISO/USB)
System Information:
Operating System: KDE neon User Edition
KDE Plasma Version: 6.4.3
KDE Frameworks Version: 6.16.0
Qt Version: 6.9.1
Kernel Version: 6.14.0-27-generic (64-bit)
Graphics Platform: Wayland
[quote=“yourgolangguy, post:1, topic:38233”]
Hi,
what do you expect CTRL-Enter will do?
This is what I found when I searched for: linux terminal: what does CTRL-Enter do
Ctrl-Enter Function in Linux
The behavior of Ctrl+Enter in a Linux terminal depends heavily on the specific terminal emulator being used, as there is no universal standard for how such key combinations are interpreted. In many common terminal emulators like gnome-terminal and urxvt, Ctrl+Enter , Shift+Enter , and the plain Enter key are all interpreted as sending the same control sequence, specifically the carriage return character (^M or ASCII 13).
This means that, by default, Ctrl+Enter typically performs the same function as pressing the Enter key, which usually executes a command or creates a new line in the shell. However, it is possible to configure some terminal emulators to send a different sequence for Ctrl+Enter . For example, in xterm , you can use X11 resources to map Ctrl+Enter to a specific escape sequence, such as \e[20;5~ , which can then be bound to a custom action within the shell’s readline library or other command-line tools.
Therefore, while Ctrl+Enter often functions identically to Enter in standard configurations, its behavior can be customized in certain terminal emulators to perform a distinct action.
I tried it in Konsole where it just creates a new prompt.
In Libreoffice Writer it moves the following text to a new page.
It looks to me the key-combo works just as to be expected.
You mention that this is in many apps, including terminal, text editor, chat apps - but not which ones. Ctrl⏎Enter is listed in Kate editor as ‘insert a non-indented Newline’… is that what’s listed in your Kate shortcuts?
This is NOT the case with Konsole, however - though you do not specify what ‘terminal’ you are using; and such information is rather vital). With Kitty terminal, shortcuts are defined - so it is quite possible to map those keys and assign a function.
Perhaps the shortcut has been over-ruled by some other setting. You imply that you use ‘chat apps’ which could be important… as some ‘chat apps’ expect to use ‘ctrl enter’ to get to a new line without sending the message (as is the case with Telegram) and which works on my system… however, it does not work with Webcord (a Discord ‘chat’ app).
If you create a new USER and verify that this still occurs, then we can rule out that it’s your User data…
I have assigned Ctrl + Enter in VS Code to run code (that’s what I expected). I use Shift + Enter for new lines in chat apps, so that’s not in conflict.
No global shortcuts are using Ctrl + Enter , I checked in System Settings → Keyboard →Shortcuts
But upon creating a new user account, the key combination works as expected.