Code Monkey home page Code Monkey logo

ibus-daemon.pkgbuild's Introduction

ibus-daemon

SystemD user service for IBus.

Description

This is source code and PKGBUILD for ibus-daemon AUR package.

Installation

yay -S ibus-daemon

License

MIT © Hoàng Văn Khải.

ibus-daemon.pkgbuild's People

Contributors

ahmubashshir avatar ksxgithub avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ibus-daemon.pkgbuild's Issues

IBus auxiliary processes not started

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?

Alias causing some trouble

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.