On 21/09/10 01:29PM, Kevin Lo wrote: > > When I used fcitx-chewing, I also needed to add the line "~/.chewing r" > to unveil.main for both firefox and chromium in order to make it work. > It seems that there's no need to add that anymore. > The diff below enables fcitx input method by expending unveiled directories. > ok? > > Index: www/mozilla-firefox/files/unveil.main > =================================================================== > RCS file: /cvs/ports/www/mozilla-firefox/files/unveil.main,v > retrieving revision 1.10 > diff -u -p -u -p -r1.10 unveil.main > --- www/mozilla-firefox/files/unveil.main 13 Jul 2021 15:25:30 -0000 > 1.10 > +++ www/mozilla-firefox/files/unveil.main 10 Sep 2021 05:21:59 -0000 > @@ -56,6 +56,7 @@ $XDG_RUNTIME_DIR/dconf rwc > $XDG_CACHE_HOME/thumbnails rwc > $XDG_CACHE_HOME/mozilla/firefox rwc > $XDG_CONFIG_HOME/dconf rw > +$XDG_CONFIG_HOME/fcitx r > $XDG_CONFIG_HOME/fontconfig r > $XDG_CONFIG_HOME/gtk-3.0 r > $XDG_CONFIG_HOME/mimeapps.list r
I'm not sure if change to firefox is actually needed because I can use fcitx on firefox without any change to its unveil configuration. (I tested with fcitx-{pinyin,chewing,anthy})