I'm using Ubuntu 19.10. What action do I use to map Ctrl+Backspace to delete one character?
I tried del
, delete
, <del>
, <delete>
...
Any help is welcome.
I'm using Ubuntu 19.10. What action do I use to map Ctrl+Backspace to delete one character?
I tried del
, delete
, <del>
, <delete>
...
Any help is welcome.
A simple and reliable way to do that is using the AutoKey application. Just follow these steps:
Install autokey
and the GUI package for the respective desktop environment you use (autokey-gtk
for GTK-based environments (like GNOME, Xfce, Mate) or autokey-qt
for QT-based environments (like KDE, LXQt)):
sudo apt install autokey-common autokey-gtk
or:
sudo apt install autokey-common autokey-qt
Open AutoKey and go to File → New → Phrase.
In the widow that pops up enter a name for the phrase and click OK. I'm using Map Ctrl+Back for the phrase's name.
Select the Map Ctrl+Back phrase on the left sidepane (should be under My Phrases) and in the main text box enter:
<delete>
On the bottom panel click Set on the Hotkey option → click Press to Set and press Ctrl+Backspace.
Save your phrase by clicking Save on the menu bar of the AutoKey window.
That's it! You should now be able to press Ctrl+Backspace to send Delete keystrokes.
Note: It is recommended to have AutoKey autostart when you log in to your desktop, so that you don't have to manually start it every time. To do that go to Edit → Preferences and check Automatically start AutoKey at login.