Skip to content

Commit

Permalink
DBus activation for IBus
Browse files Browse the repository at this point in the history
This patch adds to the session the required DBus activation for
IBus, required to launch it when needed. It requires

canonical/core-base-desktop#19
  • Loading branch information
sergio-costas committed Jul 6, 2023
1 parent 2f7ab05 commit 363d3b7
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,30 @@ apps:
activates-on:
- dbus-freedesktop-impl-portal-gtk

ibus-service:
command: run.sh /usr/bin/ibus-daemon --panel disable
daemon: dbus
passthrough:
daemon-scope: user
activates-on:
- dbus-ibus

ibus-gtk3-service:
command: run.sh /usr/libexec/ibus-extension-gtk3
daemon: dbus
passthrough:
daemon-scope: user
activates-on:
- dbus-ibus-gtk3

ibus-portal-service:
command: run.sh /usr/libexec/ibus-portal
daemon: dbus
passthrough:
daemon-scope: user
activates-on:
- dbus-ibus-portal

plugs:
avahi-control: null
bluez: null
Expand Down Expand Up @@ -357,6 +381,18 @@ slots:
interface: dbus
name: org.freedesktop.ReserveDevice1
bus: session
dbus-ibus:
interface: dbus
name: org.freedesktop.IBus
bus: session
dbus-ibus-gtk3:
interface: dbus
name: org.freedesktop.IBus.Panel.Extension.Gtk3
bus: session
dbus-ibus-portal:
interface: dbus
name: org.freedesktop.portal.IBus
bus: session

parts:
scripts:
Expand Down

0 comments on commit 363d3b7

Please sign in to comment.