feat(profiles): improve ibus entry point.

This commit is contained in:
Alexandre Pujol 2023-08-13 21:19:16 +01:00
parent 09943156bc
commit 1db6f5f67c
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC
9 changed files with 19 additions and 17 deletions

View File

@ -45,9 +45,8 @@ profile ibus-daemon @{exec_path} flags=(attach_disconnected) {
@{exec_path} mrix, @{exec_path} mrix,
@{bin}/{,ba,da}sh rix, @{bin}/{,ba,da}sh rix,
@{lib}/ibus/ibus-* rPx, @{lib}/{,ibus/}ibus-* rPx,
@{lib}/ibus-* rPx,
/usr/share/ibus/{,**} r, /usr/share/ibus/{,**} r,
/usr/share/ibus-table/tables/ r, /usr/share/ibus-table/tables/ r,

View File

@ -6,8 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus/ibus-dconf @{exec_path} = @{lib}/{,ibus/}ibus-dconf
@{exec_path} += @{lib}/ibus-dconf
profile ibus-dconf @{exec_path} flags=(attach_disconnected) { profile ibus-dconf @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/dconf-write> include <abstractions/dconf-write>

View File

@ -6,8 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus/ibus-engine-simple @{exec_path} = @{lib}/{,ibus/}ibus-engine-simple
@{exec_path} += @{lib}/ibus-engine-simple
profile ibus-engine-simple @{exec_path} flags=(attach_disconnected) { profile ibus-engine-simple @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/ibus> include <abstractions/ibus>

View File

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus-engine-table @{exec_path} = @{lib}/{,ibus/}ibus-engine-table
profile ibus-engine-table @{exec_path} { profile ibus-engine-table @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/python> include <abstractions/python>
@ -16,5 +16,14 @@ profile ibus-engine-table @{exec_path} {
@{bin}/{,ba,da}sh rix, @{bin}/{,ba,da}sh rix,
@{bin}/python3.[0-9]* rix, @{bin}/python3.[0-9]* rix,
/usr/share/ibus-table/engine/{,**} r,
/usr/share/ibus-table/tables/ r,
owner /var/lib/gdm3/.cache/ibus-table/ w,
owner /var/lib/gdm3/.local/share/ibus-table/ w,
owner @{user_cache_dirs}/ibus-table/ w,
owner @{user_share_dirs}/ibus-table/ w,
include if exists <local/ibus-engine-table> include if exists <local/ibus-engine-table>
} }

View File

@ -6,8 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus/ibus-extension-gtk3 @{exec_path} = @{lib}/{,ibus/}ibus-extension-gtk3
@{exec_path} += @{lib}/ibus-extension-gtk3
profile ibus-extension-gtk3 @{exec_path} flags=(attach_disconnected) { profile ibus-extension-gtk3 @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/dbus-accessibility-strict> include <abstractions/dbus-accessibility-strict>

View File

@ -6,7 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus-memconf @{exec_path} = @{lib}/{,ibus/}ibus-memconf
profile ibus-memconf @{exec_path} { profile ibus-memconf @{exec_path} {
include <abstractions/base> include <abstractions/base>
include <abstractions/ibus> include <abstractions/ibus>

View File

@ -6,8 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus/ibus-portal @{exec_path} = @{lib}/{,ibus/}ibus-portal
@{exec_path} += @{lib}/ibus-portal
profile ibus-portal @{exec_path} flags=(attach_disconnected) { profile ibus-portal @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/dbus-session-strict> include <abstractions/dbus-session-strict>

View File

@ -6,8 +6,7 @@ abi <abi/3.0>,
include <tunables/global> include <tunables/global>
@{exec_path} = @{lib}/ibus/ibus-x11 @{exec_path} = @{lib}/{,ibus/}ibus-x11
@{exec_path} += @{lib}/ibus-x11
profile ibus-x11 @{exec_path} flags=(attach_disconnected) { profile ibus-x11 @{exec_path} flags=(attach_disconnected) {
include <abstractions/base> include <abstractions/base>
include <abstractions/dbus-session-strict> include <abstractions/dbus-session-strict>

View File

@ -126,8 +126,7 @@ profile gsd-xsettings @{exec_path} {
@{bin}/run-parts rCx -> run-parts, @{bin}/run-parts rCx -> run-parts,
@{bin}/xprop rPx, @{bin}/xprop rPx,
@{bin}/xrdb rPx, @{bin}/xrdb rPx,
@{lib}/ibus-x11 rPx, @{lib}/{,ibus/}ibus-x11 rPx,
@{lib}/ibus/ibus-x11 rPx,
/usr/share/dconf/profile/gdm r, /usr/share/dconf/profile/gdm r,
/usr/share/gdm/greeter-dconf-defaults r, /usr/share/gdm/greeter-dconf-defaults r,