Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save indraAsLesmana/cbf17f507ad35967c15aa81f58454e06 to your computer and use it in GitHub Desktop.
Save indraAsLesmana/cbf17f507ad35967c15aa81f58454e06 to your computer and use it in GitHub Desktop.
You're correct in identifying the issue: on Pop!\_OS (and Ubuntu-based systems), the `Ctrl+Shift+E` shortcut is often intercepted by the **IBus input method framework**, which uses this combination to trigger its **emoji annotation** feature. This interception prevents applications like VS Code from receiving the shortcut, rendering it ineffective for functions like opening the Explorer view.([Ask Ubuntu][1])
---
### ✅ Solution: Disable or Reassign the Emoji Shortcut in IBus
To resolve this conflict, you can either **disable** the emoji shortcut or **reassign** it to a different key combination. Here's how:
#### **Option 1: Disable the Emoji Shortcut**
1. **Open Terminal**: Press `Ctrl+Alt+T`.
2. **Disable the Shortcut**: Execute the following command to remove the emoji shortcut:
```bash
gsettings set org.freedesktop.ibus.panel.emoji hotkey "@as []"
```
This command clears the existing shortcut, preventing IBus from intercepting `Ctrl+Shift+E`.
#### **Option 2: Reassign the Emoji Shortcut**
If you prefer to keep the emoji functionality but assign it to a different shortcut:
1. **Open Terminal**: Press `Ctrl+Alt+T`.
2. **Set a New Shortcut**: Replace `<NewShortcut>` with your desired key combination. For example, to set it to `Ctrl+Shift+.`:
```bash
gsettings set org.freedesktop.ibus.panel.emoji hotkey "['<Control><Shift>.']"
```
This reassigns the emoji picker to the new shortcut, freeing up `Ctrl+Shift+E` for other uses.
---
### 🔄 Apply Changes
After making these changes:
* **Restart IBus** to apply the new settings:
```bash
ibus restart
```
Alternatively, you can log out and log back in to ensure the changes take effect.
---
### 🧪 Verify in VS Code
1. **Open VS Code**.
2. **Test the Shortcut**: Press `Ctrl+Shift+E`.
* If the Explorer view opens, the issue is resolved.
* If not, ensure that the keybinding is correctly set in VS Code's settings.
---
If you continue to experience issues or need further assistance with keybindings in VS Code or system settings in Pop!\_OS, feel free to ask!
[1]: https://askubuntu.com/questions/1388083/how-can-i-get-ctrlshifte-to-shortcut-to-work-in-vscode?utm_source=chatgpt.com "How can I get ctrl+shift+e to shortcut to work in vscode?"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment