SystemD user service for IBus.
This is source code and PKGBUILD for ibus-daemon AUR package.
yay -S ibus-daemon
SystemD user service for IBus
Home Page: https://aur.archlinux.org/packages/ibus-daemon/
License: MIT License
SystemD user service for IBus.
This is source code and PKGBUILD for ibus-daemon AUR package.
yay -S ibus-daemon
When using ibus@:0.service
to start IBus in on i3, the service succeeds in starting after login, but apparently does not spawn appropriate helper processes. In this state, IBus does not function for some programs, such as Firefox and even ibus-setup
. However, restarting the service causes it to initialize properly.
The command output below should help illustrate this:
lucas at ritzcracker in ~
❯ systemctl --user status ibus@:0.service
● ibus@:0.service - Intelligent Input Bus
Loaded: loaded (/usr/lib/systemd/user/[email protected]; enabled; preset: enabled)
Active: active (running) since Wed 2023-06-28 18:07:19 PDT; 21s ago
Docs: man:ibus-daemon(1)
Main PID: 1953 (ibus-daemon)
Tasks: 10 (limit: 19053)
Memory: 22.3M
CPU: 101ms
CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/app-ibus.slice/ibus@:0.service
├─1953 /usr/bin/ibus-daemon --replace --xim
└─1992 /usr/lib/ibus/ibus-dconf
Jun 28 18:07:19 ritzcracker systemd[1945]: Started Intelligent Input Bus.
lucas at ritzcracker in ~
❯ systemctl --user restart ibus@:0.service
lucas at ritzcracker in ~
❯ systemctl --user status ibus@:0.service
● ibus@:0.service - Intelligent Input Bus
Loaded: loaded (/usr/lib/systemd/user/[email protected]; enabled; preset: enabled)
Active: active (running) since Wed 2023-06-28 18:10:10 PDT; 2s ago
Docs: man:ibus-daemon(1)
Main PID: 4211 (ibus-daemon)
Tasks: 28 (limit: 19053)
Memory: 38.8M
CPU: 1.500s
CGroup: /user.slice/user-1000.slice/[email protected]/app.slice/app-ibus.slice/ibus@:0.service
├─4211 /usr/bin/ibus-daemon --replace --xim
├─4264 /usr/lib/ibus/ibus-dconf
├─4265 /usr/lib/ibus/ibus-ui-gtk3
├─4266 /usr/lib/ibus/ibus-extension-gtk3
├─4268 /usr/lib/ibus/ibus-x11 --kill-daemon
└─4296 /usr/lib/ibus/ibus-engine-simple
Jun 28 18:10:10 ritzcracker systemd[1945]: Started Intelligent Input Bus.
From basic testing, I've found that adding the following service override fixes the issue for me:
[Service]
ExecStartPre=/usr/bin/sleep 1
Does this point to an issue with my setup, or might it be worth adding to this package?
Seems like Alias=input-method.service
is causing some trouble with systemd:
$ enable-ibus-daemon --now
Failed to enable unit: Cannot alias ibus@:0.service as input-method.service.
I've searched /usr/lib/systemd
, /run/systemd
, /etc/systemd
, and my entire home directory for any files named input-method
and found nothing. So it doesn't seem to be an alias conflict issue, but I could be wrong.
For now I've disabled the alias with a drop-in file and it works fine again:
$ cat /etc/systemd/user/[email protected]/disable-alias.conf
# disable service alias, otherwise systemd errors
[Install]
Alias=
But I don't think this is ideal, and I would like to learn about the root cause of this issue too. Could you please help investigate what's the problem here? Thanks.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.