Unix & Linux Stack Exchange
Q&A for users of Linux, FreeBSD and other Unix-like operating systems
Latest Questions
3
votes
1
answers
3033
views
Can I type Korean using fcitx under Linux mint 17.2 Cinnamon?
Can I type Korean using Linux mint 17.2 Cinnamon using `fcitx`? I have check several post, which told me that I can use iBus to type Korean. But I am using `fcitx` to type other Language like Chinese. If I change my type method to iBus, I cannot type Chinese. I checked [this post][1], there is a sol...
Can I type Korean using Linux mint 17.2 Cinnamon using
fcitx
?
I have check several post, which told me that I can use iBus to type Korean. But I am using fcitx
to type other Language like Chinese. If I change my type method to iBus, I cannot type Chinese.
I checked this post , there is a solution that said that I can install following package to type Korean.
* General packages for Cinnamon:
fcitx fcitx-ui-classic fcitx-config-gtk fcitx-frontend-gtk3
* Specific package for Korean:
fcitx-hangul
However after I installed this package, configure fcitx
, logout and login, I cannot add Korean type method to fcitx
.
einverne
(207 rep)
Jan 18, 2016, 02:34 AM
• Last activity: Jul 31, 2025, 05:08 AM
0
votes
1
answers
150
views
Fedora 42 KDE, unable to install Chinese IME
I am new to Fedora and KDE, and I am trying to install a Chinese IME through fcitx5 on my Fedora 42 KDA Plasma. As I follow instructions given on other Reddit threads, I got stuck on the input method selector applet, which returns : "input method doesn't support im-chooser on this desktop session",...
I am new to Fedora and KDE, and I am trying to install a Chinese IME through fcitx5 on my Fedora 42 KDA Plasma. As I follow instructions given on other Reddit threads, I got stuck on the input method selector applet, which returns : "input method doesn't support im-chooser on this desktop session", and the log below :
> [ 20.297670]: GLib-GIO: DEBUG: _g_io_module_get_default:
> Found default implementation dconf (DConfSettingsBackend) for
> ‘gsettings-backend’ imsettings information
>
> XINPUTRC: /home/usr/.config/imsettings/xinputrc Fichier :
> /home/usr/.config/imsettings/xinputrc ->
> /etc/X11/xinit/xinput.d/xcompose.conf Taille : 37 Blocs : 8
> Blocs d'E/S : 4096 symbolic link Périphérique : 0/42Inœud : 137854
> Liens : 1 Accès : (0777/lrwxrwxrwx) UID : ( 1000/ usr) GID : (
> 1000/ usr) Contexte : unconfined_u:object_r:config_home_t:s0
> Accès : 2025-06-08 17:54:32.446602366 +0200 Modif. : 2025-06-08
> 17:54:32.241601294 +0200 Changt : 2025-06-08 17:54:32.241601294 +0200
> Créé : 2025-06-08 17:54:32.241601294 +0200 Is DBus enabled: yes Is
> imsettings enabled: yes Is GTK+ supported: yes Is Qt supported: yes Is
> Action needed: yes DESKTOP: KDE-wayland GUESS_DESKTOP:
> $XDG_SESSION_TYPE DISABLE_IMSETTINGS:
> IMSETTINGS_DISABLE_DESKTOP_CHECK: DBUS_SESSION_BUS_ADDRESS:
> unix:path=/run/user/1000/bus GTK_IM_MODULE: QT_IM_MODULE: xim
> XMODIFIERS: @im=none IMSETTINGS_MODULE: X compose table
> IMSETTINGS_INTEGRATE_DESKTOP: yes IMSETTINGS_DISABLE_SYS_XINPUTRC: no
> IMSETTINGS_DISABLE_USER_XINPUTRC: no IMSETTINGS_IGNORE_SESSION:
>
>
> [ 26.319709]: IMSettings-Daemon: WARNING **: Child
> process exited with code 1
>
> [ 26.333147]: IMSettings-Daemon: WARNING **: Unable to
> open X Display. Input Method may not work. [ 26.335904]:
> libnotify: DEBUG: SNAP app: (null) [ 27.374772]:
> IMSettings-Daemon: INFO: Starting imsettings-daemon... [
> 27.374933]: IMSettings-Daemon: INFO: [HOME=/home/usr/.config/imsettings] [ 27.375010]:
> IMSettings-Daemon: INFO: [XINPUTRCDIR=/etc/X11/xinit/] [
> 27.375077]: IMSettings-Daemon: INFO: [XINPUTDIR=/etc/X11/xinit/xinput.d/]
>
> [ 27.375140]: IMSettings-Daemon: INFO:
> [MODULEDIR=/usr/lib64/imsettings]
>
> [ 27.375204]: IMSettings-Daemon: INFO:
> [MODULES=gsettings]
>
> [ 27.382049]: IMSettings-Daemon: INFO: X Display is
> available [ 27.392989]: IMSettings-Daemon: INFO:
> Unloading imesttings module: gsettings [ 27.393222]:
> IMSettings-Daemon: INFO: imsettings-daemon is shut down. [
> 28.073604]: IMSettings-Daemon: INFO: Attempting to switch IM to X compose table [lang=en_GB.UTF-8, desktop=KDE-wayland, update=false]
>
> [ 28.403490]: IMSettings-Daemon: WARNING **: Child
> process exited with code 1 [ 28.403897]:
> IMSettings-Daemon: INFO: no need to invoke any auxiliary
> process for X compose table [ 28.404984]: GLib-GIO:
> DEBUG: _g_io_module_get_default: Found default implementation dconf
> (DConfSettingsBackend) for ‘gsettings-backend’ [ 28.405484]:
> IMSettings-GSettings backend: INFO: Setting up xim:xim as gtk+
> immodule
>
> [ 36.817939]: IMSettings-Daemon: WARNING **: Child
> process exited with code 1
>
>
>
>
>
>
>
> pre { background: transparent }pre.western { font-family: "Liberation
> Mono", monospace; font-size: 10pt }pre.cjk { font-family: "Noto Sans
> Mono CJK SC", monospace; font-size: 10pt }pre.ctl { font-family:
> "Liberation Mono", monospace; font-size: 10pt }p { margin-bottom:
> 0.25cm; line-height: 115%; background: transparent }[ 20.297670]: GLib-GIO: DEBUG: _g_io_module_get_default: Found default implementation dconf (DConfSettingsBackend) for
> ‘gsettings-backend’ imsettings information
>
>
> XINPUTRC: /home/usr/.config/imsettings/xinputrc Fichier :
> /home/usr/.config/imsettings/xinputrc ->
> /etc/X11/xinit/xinput.d/xcompose.conf Taille : 37 Blocs : 8
> Blocs d'E/S : 4096 symbolic link Périphérique : 0/42Inœud : 137854
> Liens : 1 Accès : (0777/lrwxrwxrwx) UID : ( 1000/ usr) GID : (
> 1000/ usr) Contexte : unconfined_u:object_r:config_home_t:s0
> Accès : 2025-06-08 17:54:32.446602366 +0200 Modif. : 2025-06-08
> 17:54:32.241601294 +0200 Changt : 2025-06-08 17:54:32.241601294 +0200
> Créé : 2025-06-08 17:54:32.241601294 +0200 Is DBus enabled: yes Is
> imsettings enabled: yes Is GTK+ supported: yes Is Qt supported: yes Is
> Action needed: yes DESKTOP: KDE-wayland GUESS_DESKTOP:
> $XDG_SESSION_TYPE DISABLE_IMSETTINGS:
> IMSETTINGS_DISABLE_DESKTOP_CHECK: DBUS_SESSION_BUS_ADDRESS:
> unix:path=/run/user/1000/bus GTK_IM_MODULE: QT_IM_MODULE: xim
> XMODIFIERS: @im=none IMSETTINGS_MODULE: X compose table
> IMSETTINGS_INTEGRATE_DESKTOP: yes IMSETTINGS_DISABLE_SYS_XINPUTRC: no
> IMSETTINGS_DISABLE_USER_XINPUTRC: no IMSETTINGS_IGNORE_SESSION:
>
>
> [ 26.319709]: IMSettings-Daemon: WARNING **: Child
> process exited with code 1
>
> [ 26.333147]: IMSettings-Daemon: WARNING **: Unable to
> open X Display. Input Method may not work. [ 26.335904]:
> libnotify: DEBUG: SNAP app: (null) [ 27.374772]:
> IMSettings-Daemon: INFO: Starting imsettings-daemon... [
> 27.374933]: IMSettings-Daemon: INFO: [HOME=/home/usr/.config/imsettings] [ 27.375010]:
> IMSettings-Daemon: INFO: [XINPUTRCDIR=/etc/X11/xinit/] [
> 27.375077]: IMSettings-Daemon: INFO: [XINPUTDIR=/etc/X11/xinit/xinput.d/]
>
> [ 27.375140]: IMSettings-Daemon: INFO:
> [MODULEDIR=/usr/lib64/imsettings]
>
> [ 27.375204]: IMSettings-Daemon: INFO:
> [MODULES=gsettings]
>
> [ 27.382049]: IMSettings-Daemon: INFO: X Display is
> available [ 27.392989]: IMSettings-Daemon: INFO:
> Unloading imesttings module: gsettings [ 27.393222]:
> IMSettings-Daemon: INFO: imsettings-daemon is shut down. [
> 28.073604]: IMSettings-Daemon: INFO: Attempting to switch IM to X compose table [lang=en_GB.UTF-8, desktop=KDE-wayland, update=false]
>
> [ 28.403490]: IMSettings-Daemon: WARNING **: Child
> process exited with code 1 [ 28.403897]:
> IMSettings-Daemon: INFO: no need to invoke any auxiliary
> process for X compose table [ 28.404984]: GLib-GIO:
> DEBUG: _g_io_module_get_default: Found default implementation dconf
> (DConfSettingsBackend) for ‘gsettings-backend’ [ 28.405484]:
> IMSettings-GSettings backend: INFO: Setting up xim:xim as gtk+
> immodule
>
> [ 36.817939]: IMSettings-Daemon: WARNING **: Child
> process exited with code 1
Can someone please give me some advice to succeed ?
ohey
(1 rep)
Jun 9, 2025, 08:37 AM
• Last activity: Jun 13, 2025, 03:47 AM
2
votes
2
answers
4714
views
How to configure the Elecom Huge trackball to scroll with the ball?
One of the cool things about trackballs is that the ball can be used for 2D scrolling upon pressing a user-defined button. I have an Elecom Huge trackball and want to configure it with `xinput` (so that I don't need to reload Xorg). I would like to use the `Forward` button and remap it so that when...
One of the cool things about trackballs is that the ball can be used for 2D scrolling upon pressing a user-defined button. I have an Elecom Huge trackball and want to configure it with
xinput
(so that I don't need to reload Xorg). I would like to use the Forward
button and remap it so that when it's pressed the ball can be used for scrolling. I'd also like for the button to serve as middle button if no scrolling occurs.
Wojciech Gac
(171 rep)
Dec 15, 2020, 11:12 PM
• Last activity: Feb 24, 2025, 09:50 AM
1
votes
0
answers
73
views
How am I supposed to use the Compose key sequence for producing ≰?
Looking at `/usr/share/X11/locale/en_US.UTF-8/Compose`, I see the following lines defined: : "≤" U2264 # LESS-THAN OR EQUAL TO : "≰" U2270 # NEITHER LESS-THAN NOR EQUAL TO The first line is obvious: typing `[COMPOSE] < =` products `≤`. **However, how am I supposed to use the second line** (assuming...
Looking at
/usr/share/X11/locale/en_US.UTF-8/Compose
, I see the following lines defined:
: "≤" U2264 # LESS-THAN OR EQUAL TO
: "≰" U2270 # NEITHER LESS-THAN NOR EQUAL TO
The first line is obvious: typing [COMPOSE] < =
products ≤
. **However, how am I supposed to use the second line** (assuming I don't have a keyboard with the ≤
symbol as an actual key)?
Uri Granta
(111 rep)
Feb 23, 2025, 03:10 PM
21
votes
1
answers
5361
views
When I'm typing a text in English, it gets underlined and behaves bizarrely
I have Russian and US English locales. When I'm typing a text in English, it gets underlined until I press Space or some other special keys. When it's underlined, it's kind of invisible to the application where I'm typing it in. For example, in Sublime Text, it isn't even displayed until I press Spa...
I have Russian and US English locales. When I'm typing a text in English, it gets underlined until I press Space or some other special keys. When it's underlined, it's kind of invisible to the application where I'm typing it in. For example, in Sublime Text, it isn't even displayed until I press Space. In a browser it won't suggest me a URL until I press Space. It kind of gets buffered — saved in a temporary buffer and then released. And other bizarre stuff like this.
This doesn't happen always, sometimes, around 10% of the time, it works properly, I don't know what it depends on. And it doesn't happen, as far as I can remember, with Russian at all.
It's Arch, XFCE. I've done a bit of a search and haven't found anything anything related to this behaviour.
Oskar K.
(561 rep)
May 28, 2016, 04:02 AM
• Last activity: Nov 21, 2024, 10:30 AM
11
votes
6
answers
3634
views
How Can I Disable the Global Shortcut CTRL + SHIFT + U in Linux Mint?
Backstory: some Linux distributions setup a keyboard shortcut to let you enter Unicode characters, and they use `CTRL` + `SHIFT` + `U` as that shortcut. As a programmer, I want to instead use that shortcut in my code editor, so I'd like to disable the system one ... but I can't seem to figure out wh...
Backstory: some Linux distributions setup a keyboard shortcut to let you enter Unicode characters, and they use
CTRL
+ SHIFT
+ U
as that shortcut. As a programmer, I want to instead use that shortcut in my code editor, so I'd like to disable the system one ... but I can't seem to figure out what program is responsible for it.
Everything I've found (eg. in this question about *re-enabling* that shortcut: https://unix.stackexchange.com/questions/258668/how-to-re-enable-the-ctrlshiftu-shortcut-in-cinnamon-mint-17-3) suggests that it's dependent on my IME (input method editor). But when I went to "Input Method" (in the system menu), it said I didn't have an IME selected.
I then tried switching to the Fcitx IME (since I *would* like to be able to type Japanese characters), but that didn't help. Also, I went through all of the Fcitx configuration, and couldn't find any mention of a CTRL
+ SHIFT
+ U
shortcut in it.
My question is: how can I disable this global CTRL
+ SHIFT
+ U
shortcut? Preferably with the Fcitx IME, but if I have to disable it I can.
machineghost
(300 rep)
Aug 12, 2020, 05:40 PM
• Last activity: Sep 5, 2024, 02:10 AM
0
votes
0
answers
6
views
OSD for ibus-zhuyin
Is there a graphical keyboard for ibus-zhuyin? The layout seems to be different from OSX and Windows. It's rather hard to remember a different layout
Is there a graphical keyboard for ibus-zhuyin? The layout seems to be different from OSX and Windows. It's rather hard to remember a different layout
silicis
(1 rep)
Aug 26, 2024, 09:42 PM
1
votes
0
answers
104
views
Listen to keyboard layout change
I'd like to perform some actions when the user requests a keyboard layout change (via ibus/setxkbmap/wayland/gnome/plasma/…), notably in order to disable KMonad (otherwise the user-defined layout might conflict with KMonad's layout… I'm just afraid that killing KMonad would reset the layout but this...
I'd like to perform some actions when the user requests a keyboard layout change (via ibus/setxkbmap/wayland/gnome/plasma/…), notably in order to disable KMonad (otherwise the user-defined layout might conflict with KMonad's layout… I'm just afraid that killing KMonad would reset the layout but this is another question). Is there an efficient and portable way to detect if a keyboard change occurred, or, even better, to hook right before the keyboard change occured? I was planning to use:
$ setxkbmap -query
rules: evdev
model: pc86
layout: fr
variant: bepo_afnor
options: ctrl:swapcaps
It seems to work for both Ibus & setxkbmap, but first this is unlikely to work with Wayland (but I need to check), and, most importantly, I don't to run this command every second as it would consume CPU resources for no reasons.
Is there a more portable & efficient solution?
tobiasBora
(4621 rep)
May 22, 2024, 08:22 AM
0
votes
1
answers
132
views
Keypad driver does not input character with input_report_key()
I am trying to create Linux input device driver and to test things I took at existing [gpio-matrix-keypad](https://elixir.bootlin.com/linux/latest/source/drivers/input/keyboard/matrix_keypad.c#L158) driver. Using print I know that `input_report_key()` is called with correct keycode, but it doesn't p...
I am trying to create Linux input device driver and to test things I took at existing [gpio-matrix-keypad](https://elixir.bootlin.com/linux/latest/source/drivers/input/keyboard/matrix_keypad.c#L158) driver. Using print I know that
input_report_key()
is called with correct keycode, but it doesn't put a correct character under the cursor.
-c
pr_info("Print: %d\n", keycodes[code]);
input_report_key(input_dev, keycodes[code], new_state[col] & (1 << row));
Also I work with BeagleBone Black using minicom
. It seems that kernel is built with required for input options enabled, e.g. CONFIG_INPUT
and CONFIG_INPUT_KEYBOARD
.
MegaRaman
(3 rep)
Apr 27, 2024, 06:04 PM
• Last activity: May 2, 2024, 12:54 PM
1
votes
2
answers
349
views
Input Methods for Anceint Greek (and other diacritic heavy languages)
Let me start by saying that I'm well aware that there's a keyboard layout for Ancient Greek. My issue is that Ancient Greek is a diacritic heavy language, and you can get up to 3 diacritics on a single letter (and not very infrequently, but two is more common). In the current keyboard layouts for Xo...
Let me start by saying that I'm well aware that there's a keyboard layout for Ancient Greek. My issue is that Ancient Greek is a diacritic heavy language, and you can get up to 3 diacritics on a single letter (and not very infrequently, but two is more common). In the current keyboard layouts for Xorg, you have to type all of your diacritics before the letter, and only when you press the letter you can see the result. For example, if I want to write ᾆ, I have to type ][:a. Since Ancient Greek doesn't have keyboards with those diacritics printed, you have to memorize the keys and type them in the correct order.
What I'm looking for is a way to type the accents after the letter, without any particular ordering, and have them appear one by one. What I mean is that typing ᾆ would look something like this:
ἀ -> ἆ -> ᾆ or
ᾶ -> ἆ -> ᾆ
This created the rather strange situation where typing polytonic Greek on Android is easier (but still somewhat slow) than on Linux or on Windows. Any help will be appreciated.
Ido Shdaimah
(11 rep)
Feb 8, 2022, 06:31 PM
• Last activity: Mar 20, 2024, 02:18 PM
1
votes
0
answers
33
views
How to fix Uni Gitanjali keyboard layout for bangla?
I use MX21.3 + KDE plasma(v5.20.5). For my native language bangla, I prefer uni gitanjali layout. After I enable it from the “system settings”, I run into a problem. It doesn’t have a আ key. Instead, it showed two এ key. Pressing the qwerty _s_ key should generate __আ__ not __এ__. Is it a known prob...
I use MX21.3 + KDE plasma(v5.20.5). For my native language bangla,
I prefer uni gitanjali layout.
After I enable it from the “system settings”, I run into a problem.
It doesn’t have a আ key. Instead, it showed two এ key.
Pressing the qwerty _s_ key should generate __আ__ not __এ__.
Is it a known problem? Without switching to another layout
how can I fix it?
worldSoul
(11 rep)
Feb 1, 2024, 12:26 PM
• Last activity: Feb 10, 2024, 03:59 AM
2
votes
1
answers
1338
views
MX Linux, Xfce: ibus doesn't work
I installed ibus, ibus-gtk, ibus-gtk3.\ I also installed ibus-unikey and ibus-bamboo, which are packages required for typing in Vietnamese.\ I added the following lines in ~/.bashrc ``` export GTK_IM_MODULE=ibus export XMODIFIERS=@im=ibus export QT_IM_MODULE=ibus ``` Set ibus daemon to automatically...
I installed ibus, ibus-gtk, ibus-gtk3.\
I also installed ibus-unikey and ibus-bamboo, which are packages required for typing in Vietnamese.\
I added the following lines in ~/.bashrc
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus
Set ibus daemon to automatically run at startup as ibus-daemon --xim
\
I also ran im-config, choosing ibus option at user configuration.\
And I still cannot type Vietnamese characters. Am I missing any steps? Or am I not providing enough information? Helps are appreciated.
Minh Long Vu
(21 rep)
Feb 8, 2023, 05:45 PM
• Last activity: Aug 14, 2023, 02:29 PM
1
votes
1
answers
483
views
How to code an application in Python/Wayland/Linux that uses multiple mice as distinct inputs?
I'd like to write an application that emulates jeopardy buzzers. There would be one host computer connected to N mice, which act as each player's buzzers. What would be the _simplest_ way to write this application in Python? An ideal solution would avoid tampering or creating new physical hardware....
I'd like to write an application that emulates jeopardy buzzers. There would be one host computer connected to N mice, which act as each player's buzzers.
What would be the _simplest_ way to write this application in Python? An ideal solution would avoid tampering or creating new physical hardware.
Options I'm considering:
- I've heard USB devices are read by the OS as a plaintext stream somewhere. But where?
- I could also bind each button to a different key, and just listen for keyboard events. Is it possible to bind right-click on mouse-0 to key-0, but right-click on mouse-1 to key-1? or do all right-clicks get bound to the same key?
There are so many options, I am wondering what is the easiest? Also a lot of the reading I've done is specific to X11 (
xinput this
or xev that
). How should one do the equivalent in Wayland?
charmoniumQ
(255 rep)
Aug 4, 2023, 07:08 PM
• Last activity: Aug 6, 2023, 05:29 PM
18
votes
6
answers
30180
views
Kali Linux inverted scroll direction
I have a problem with my Kali installation. Since I have updated it today, the mouse scrolling is inverted. I have tried the `.Xmodmap` method and also checking 'natural scroll' option but without success. How do I restore the previous scroll direction? Or differently put, how can I toggle between '...
I have a problem with my Kali installation. Since I have updated it today, the mouse scrolling is inverted.
I have tried the
.Xmodmap
method and also checking 'natural scroll' option but without success.
How do I restore the previous scroll direction? Or differently put, how can I toggle between 'natural scrolling' and 'reverse scrolling', inverting the current settings?
Zack
(319 rep)
Jul 9, 2016, 08:29 AM
• Last activity: Jun 21, 2023, 12:06 PM
3
votes
3
answers
7547
views
Touchpad not working
I just installed Elementary OS and almost everything is working great. The only problem is that the touchpad isn't working. I can not move the cursor with the touchpad. But if I use a mouse it is working fine. Results when I run `xinput`: ⎡ Virtual core pointer id=2 [master pointer (3)] ⎜ ↳ Virtual...
I just installed Elementary OS and almost everything is working great.
The only problem is that the touchpad isn't working. I can not move the cursor with the touchpad. But if I use a mouse it is working fine.
Results when I run
xinput
:
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Mitsumi Electric Apple Optical USB Mouse id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Video Bus id=8 [slave keyboard (3)]
↳ Sleep Button id=9 [slave keyboard (3)]
↳ USB2.0 HD UVC WebCam id=10 [slave keyboard (3)]
↳ Asus WMI hotkeys id=12 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
Please note the Apple Optical Mouse is a usb connected mouse. The touchpad vendor is Elan.
Gewoo
(31 rep)
Sep 30, 2016, 12:08 PM
• Last activity: Jun 20, 2023, 09:01 PM
0
votes
1
answers
305
views
Why is Steam showing an Xbox 360 controller that doesn't exist?
My (native Linux) Steam client is showing an Xbox 360 controller, though I don't have one, and none have been in my home (and it's a desktop, so seeing it outside can be ruled out). I tried listing USB devices, detaching devices, looking in the paired Bluetooth devices, and it persists. What I found...
My (native Linux) Steam client is showing an Xbox 360 controller, though I don't have one, and none have been in my home (and it's a desktop, so seeing it outside can be ruled out).
I tried listing USB devices, detaching devices, looking in the paired Bluetooth devices, and it persists.
What I found in a Google search is a case of stale device drivers in Windows (after it had the controller attached, do it's not the case here).
What can cause this?
Didi Kohen
(1869 rep)
Mar 14, 2023, 02:04 PM
1
votes
0
answers
787
views
keyboard layout switching with ibus
I've had to leave `xim` behind because of various graphical issues. And I'm trying to set up `ibus` but having trouble getting it to cycle through keyboards. Other info: - Debian Testing - Awesome WM --- This was my set up with before using `ibus`. I mapped one of my special keys on my keyboard to `...
I've had to leave
xim
behind because of various graphical issues.
And I'm trying to set up ibus
but having trouble getting it to cycle through keyboards.
Other info:
- Debian Testing
- Awesome WM
---
This was my set up with before using ibus
. I mapped one of my special keys on my keyboard to ISO_Next_Group
. With the set up below I could cycle through the three keyboad layouts using my special key and compose using PrtSc
.
### ~/.sessionrc
setxkbmap -layout 'us,gr,il' -variant ',polytonic,biblical' -option ctrl:nocaps,compose:prsc
xmodmap ~/.Xmodmap
export GTK_IM_MODULE=xim
### ~/.Xmodmap
keycode 147 = ISO_Next_Group NoSymbol
xev
gives this when I press my key (both events occur on keydown and nothing on keyup):
KeyPress event, serial 36, synthetic NO, window 0x3200001,
root 0x79b, subw 0x0, time 9147156, (-108,258), root:(763,709),
state 0x0, keycode 147 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
KeyRelease event, serial 36, synthetic NO, window 0x3200001,
root 0x79b, subw 0x0, time 9147156, (-108,258), root:(763,709),
state 0x0, keycode 147 (keysym 0xfe08, ISO_Next_Group), same_screen YES,
XLookupString gives 0 bytes:
XFilterEvent returns: False
---
With ibus
, my ~/.Xmodmap
is the same and ~/.xsessionrc
now contains:
setxkbmap -layout 'us,gr,il' -variant ',polytonic,biblical' -option ctrl:nocaps,compose:prsc
xmodmap ~/.Xmodmap
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -rx &
In ibus-setup
, all three keyboard layouts are listed and the key to change layouts is ISO_Next_group
, but when I press this key, rather than cycling through all three layouts, ibus
just toggles between us
and the most recently selected (by mouse) other layout.
Once ibus-daemon
is loaded, I notice that the output from xev
also changes when I press my ISO_Next_Group
key:
FocusOut event, serial 33, synthetic NO, window 0x4e00001,
mode NotifyGrab, detail NotifyAncestor
FocusOut event, serial 33, synthetic NO, window 0x4e00001,
mode NotifyUngrab, detail NotifyPointer
FocusIn event, serial 33, synthetic NO, window 0x4e00001,
mode NotifyUngrab, detail NotifyAncestor
KeymapNotify event, serial 33, synthetic NO, window 0x0,
keys: 2 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
---
**How do I get ibus
to cycle through all three keyboard layouts?**
---
### Update
I switched around the hotkeys:
- + ISO_Next_Group
→ switch layout
- ISO_Next_Group
→ Enter emoji
This mostly seems to work.
I had to add GLFW_IM_MODULE=ibus
for kitty
support.
David Purton
(321 rep)
Feb 5, 2023, 07:23 AM
• Last activity: Feb 6, 2023, 04:56 AM
1
votes
0
answers
173
views
Can I make Xephyr toggle user keyboard and mouse?
I need to pilot an X application with my PC, to take scientific measuring. I have an `xdotool` script which does the job pretty well, but while it's running, I cannot use my PC, which is frustrating and cumbersome. So I thought I can run the application in a separate X server, while working in the p...
I need to pilot an X application with my PC, to take scientific measuring. I have an
xdotool
script which does the job pretty well, but while it's running, I cannot use my PC, which is frustrating and cumbersome. So I thought I can run the application in a separate X server, while working in the principal. I managed to start the application and make it work in **Xephyr**, but it's fragile: Xephyr acquires my mouse when its window is visible, and it's not necessary to be focused. The grabbing function (Ctrl+Shift
) kinda works, but only in one sense: I can grab the mouse, but I cannot make it **ignore** it.
So my question is: is there a way to make Xephyr selectively ignore (it should be toggled on and off) my mouse and keyboard, much like it happens with a VM on VirtualBox?
Thanks!
Alessandro Bertulli
(113 rep)
Dec 28, 2022, 06:21 PM
2
votes
0
answers
495
views
Suddenly having issues with ibus
I was using ibus on Arch Linux (neofetch below for reference) and it was working perfectly - I was able to switch between languages using my keyboard shortcut, and dead keys were working perfectly. However, suddenly I am having issues: 1) [FIXED] I can't switch language using my keyboard. I can swit...
I was using ibus on Arch Linux (neofetch below for reference) and it was working perfectly - I was able to switch between languages using my keyboard shortcut, and dead keys were working perfectly.
However, suddenly I am having issues:
1) [FIXED] I can't switch language using my keyboard. I can switch by clicking ibus in the i3-bar, and it changes, but when I use my keyboard shortcut (I've tried both Ctrl+Space and Shift+Tab), the small window comes up in the center of the screen, which I can cycle through, however when I release, the language doesn't change to the selected one.
2. Dead keys only work in the terminal, and nowhere else? I can use them as compose keys perfectly fine in the terminal, as well as Emacs (and I'm sure a few other programs), however in Firefox and Discord, for example, they do not work: I use a UK dead key layout, and when I press a dead key (such as '), it simply puts the dead key ´ or ` etc, rather than composing it with my next input, which also means I can't type ' or " by itself, since it will type ´ or ¨.
Is there any reason for it to suddenly stop working like this? And, if so (or if not), any ideas on how to fix this?
I've already tried completely uninstalling ibus (
pacman -R ibus
) and reinstalling it, as well as wiping the config with dconf reset -f /desktop/ibus/
, however nothing has worked.
EDIT: I have fixed the **first** issue by adding the following lines to my .xinitrc
, however the second issue remains:
export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

Basil
(123 rep)
Oct 19, 2022, 10:36 AM
• Last activity: Oct 19, 2022, 11:02 AM
0
votes
1
answers
711
views
Can I merge keyboard and mouse to a single virtual input device?
There are some applications that use strange/inconvenient user interaction and that is impossible to edit. I want to remap a combination of a keyboard and mouse event to another combination of keyboard and mouse event. To be precise, I want such map `ctrl` + `wheel up` -> `alt` + `wheel up` to be ac...
There are some applications that use strange/inconvenient user interaction and that is impossible to edit. I want to remap a combination of a keyboard and mouse event to another combination of keyboard and mouse event.
To be precise, I want such map
ctrl
+ wheel up
-> alt
+ wheel up
to be activated when a specified application (davinci resolve) is in focus.
There is imwheel utility that solves exactly this task. But that utility is very outdated and targeted for X11, while I am looking for a solution for Wayland. As additonlal note, despite my current use case allows to use it (because davinci resolve currently only runs via Xwayland), it is working not so great. Sometimes several events are not "translated", which leads to unwanted effects. I hope the new wayland supporting utilities will not have such problem.
I have found a very similar question , but for two mice, and it had not exact answer.
I have found utilities ([pronobis fork of evdevremapkeys](https://github.com/pronobis/evdevremapkeys) or evremap ) that potentially can serve this task, as they allow N:N mappings. But the config file for them uses only one device (at the moment of writing at least), see here .
Now I got an idea to create a virtual evdev input device from my keyboard and mouse (in other words, merge them), and use it in the utility's config. Is it possible?
I have a strong feeling that it may be possible with python-evdev or evsieve .
But I do not know what exactly should I do to make such virtual input device.
Ashark
(1069 rep)
Jun 21, 2022, 01:48 AM
• Last activity: Jun 24, 2022, 09:06 AM
Showing page 1 of 20 total questions