I'd like to disable CTRL-SHIFT-U
on 18.04.2.
Currently, pressing CTRL-SHIFT-U
within a text prompt will make an underlined u
appear on the screen and pressing keys will not append text to the prompt until Escape or Enter is pressed.
This prevents me from using the default combo in IntelliJ IDE to toggle case, and I do not wish to use something else than the default.
There are countless questions about this on Superuser and Askubuntu. I tried most of the answers, none of them has any visible effect.
Go to Language Support > Keyboard input method system > Set the value to none (some answers suggest pressing the Apply System-Wide button)
or
Add
export IBUS_ENABLE_SYNC_MOVE=1
to ~/.profile and then reboot
or
Kill the ibus-daemon process
This one, the process does exist, but it respawns immediately when killed.
Throughout the answers it was implied that ibus was responsible for this behavior. There is even a GitHub issue about this. So I finally caved in and decided to try removing the ibus
package by using apt-get remove ibus
and apt-get purge ibus
, which is suggested by one of the answers.
After rebooting, CTRL-SHIFT-U
still does this thing. There is no longer any ibus-daemon process even after startup. If I go to Language Support, there is no longer ibus as a Keyboard input method system option. It is set to none, and only XIM remains as an alternative.
How come the CTRL-SHIFT-U
still works even after ibus is uninstalled, and how can I disable it once and for all on Ubuntu 18.04.2?
There is a way Without making system-wide changes which may cause unwelcome side effects. Run IDEA with environment variable
XMODIFIERS
set to empty. There are a few ways to do that:Run IDEA from command line or a script as follows:
Edit idea.sh and add the following line at the top:
Edit Gnome desktop entry for IDEA at
~/.local/share/applications/jetbrains-idea.desktop
and precede theExec
line like:Either will do. The last one is for launching IDEA by clicking on its icon from the dock while the others would work from command line too. Just keep in mind if the first method is used with an intermittent script, the desktop entry created by IDEA wouldn't point to this script. So you may want to alter the path at the
Exec
line so it points to your script or use method 2. This method though would need be re-applied each time you install new version of IDEA.My solution to do it once is:
some/path/idea/idea-IU-192.6817.14
Tools
)Link given IDEA version under
current
folderEdit
~/.local/share/applications/jetbrains-idea.desktop
and changeExec
lineWhenever you download a new version of IDEA just link it as
current
and no need to repeat these steps. Obviously extracting new versions of IDEA always to the same folder and replacing the previous version would work as well without linking.It releated with ibus shortcuts, remove those shortcuts with:
This is a bug listed here:
The solution that I found is to remove the ibus package:
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:
Go to language suport and set the iBus method, for user and root
In the terminal for user and root:
and change the shortcuts in the emoji tab
In the terminal for user and root:
and set ibus
For user in the terminal:
Include the following lines at the end:
In ubuntu 20.10 I just open IBUS preference (ibus-setup) and change shortcut at Emoji tab
window screen