Hi,

At the moment fcitx and ibus don't work with chromium, after some 
hacking around with ktrace/kdump, it looks like read access to 
~/.config/fcitx is required for fcitx to work, which is what the 
following patch does.

I don't know how to make ibus work with chromium yet, ktrace/kdump 
didn't show me any access error related to that. Any idea?

Tested with:
chromium 93.0.4577.63
fcitx-4.2.9.8p1
fcitx-anthy-0.2.4p0

Index: www/chromium/files/unveil.main
===================================================================
RCS file: /cvs/ports/www/chromium/files/unveil.main,v
retrieving revision 1.8
diff -u -r1.8 unveil.main
--- www/chromium/files/unveil.main      6 Jan 2020 16:05:06 -0000       1.8
+++ www/chromium/files/unveil.main      9 Sep 2021 05:15:18 -0000
@@ -1,5 +1,4 @@
 # $OpenBSD: unveil.main,v 1.8 2020/01/06 16:05:06 robert Exp $
-
 # needed for video(4)
 /dev/video rw
 
@@ -8,6 +7,9 @@
 
 # needed for chromium
 /etc/chromium r
+
+# needed for fcitx
+~/.config/fcitx r
 
 # needed for fontconfig
 /etc/fonts r


Reply via email to