Shift+Ctrl+E are invoking the Emoji picker in Ubuntu Bionic (18.04). I use that shortcut in another application. How can I change the shortcut?
3 Answers
On needs to run ibus-setup
and in the "Emoji" tab
....change the shortcut (click on the three dots that are focused in the screenshot). I had to restart my computer after that so that the change would take effect (not sure how to restart IBUS).
-
I'm not able to run it it raises an error
Traceback (most recent call last): │ File "/usr/share/ibus/setup/main.py", line 33, in <module> │ from gi import require_version as gi_require_version │ModuleNotFoundError: No module named 'gi'
Jul 14, 2018 at 17:26 -
-
1the who operating system has been acting up lately, I think I'm gonna reinstall it completely. ( thanks for the help). Jul 15, 2018 at 18:04
-
4
-
2
To change on the command line in Ubuntu 19.04, you can use gsettings
. For example, to remove the shortcut, you can do:
gsettings set org.freedesktop.ibus.panel.emoji hotkey "@as []"
To re-enable to the default shortcut:
gsettings set org.freedesktop.ibus.panel.emoji hotkey "['<Control><Shift>e']"
To change to a different shortcut, run the command just above but change the part <Control><Shift>e
to the desired combination.
-
1Worked for me on KDE. Nothing else worked: ibus-setup, setting the GTK_IM_MODULE env var for VS Code (the app i had problems with) Aug 18, 2019 at 7:00
-
If you have installed VS Code on Ubuntu using Snap, here is a solution for disabling Emoji shortcut: askubuntu.com/a/1269241/229740– zardoshtAug 22, 2020 at 17:56
-
Damn, this other hack still doesn't work for me on Ubuntu 18.04 and VSCode 1.53...– NæreenFeb 11, 2021 at 0:01
This is a bug listed here:
The solution that I found is to remove the ibus
package:
sudo apt-get remove ibus
sudo apt-get purge ibus
Go to updates and set the repository for focal fossa version for Ubuntu and remove the remanescent eoan
Go to updates and set the repository for focal fossa version for Ubuntu and remove the remanescent eoan and reinstall ibus
:
sudo apt-get install ibus
Go to language support and set the iBus method, for user and root
In the terminal for user and root:
ibus-setup
and change the shortcuts in the emoji tab
In the terminal for user and root:
im-config
and set ibus
For user in the terminal:
gedit .bashrc
Include the following lines at the end:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus