From 715733ccbdbafbfcf142a1e8856ec1357c4c5944 Mon Sep 17 00:00:00 2001 From: Mikaela Suomalainen Date: Thu, 21 Feb 2019 23:38:26 +0200 Subject: [PATCH] i3 & pam_environment: enable fcitx --- conf/i3/config | 5 ++++- conf/pam_environment | 5 +++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/conf/i3/config b/conf/i3/config index db914b23..1346baea 100644 --- a/conf/i3/config +++ b/conf/i3/config @@ -3,7 +3,7 @@ # gnome-screenshot i3lock sudo hibernate playerctl pulseaudio-utils # galculator network-manager-gnome redshift-gtk x11-xserver-utils # pasystray feh rofi pulsemixer libnotify-bin xcompmgr xfce4-terminal -# fonts-dejavu dbus-x11 arandr numlockx +# fonts-dejavu dbus-x11 arandr numlockx fcitx-bin fcitx-mozc # # Debian theming: lxappearance gtk-chtheme qt4-qtconfig # https://askubuntu.com/a/600946 @@ -25,6 +25,7 @@ set $TERMINAL xfce4-terminal # i3lock options: black colour, cursor (that does nothing) # show failed attempts. set $ScreenLockCmd i3lock -c 000000 -p win -f +#set $ScreenLockCmd i3lock-fancy # Font for window titles. Will also be used by the bar unless a different # font is used in the bar {} block below. @@ -272,6 +273,8 @@ exec --no-startup-id xcompmgr -c -n # Make everything a bit transparent, you don't want this. #exec --no-startup-id compton --active-opacity 0.95 --inactive-opacity 0.95 -m 0.95 -e 0.95 exec --no-startup-id numlockx on +# see also pam_environment https://wiki.archlinux.org/index.php/Fcitx#Non_desktop_environment +exec --no-startup-id fcitx # CHANGEME - weird autostart options that may not be suitable even for my other devices # Centre of Lauttasaari diff --git a/conf/pam_environment b/conf/pam_environment index 6b8932c4..03c39c34 100644 --- a/conf/pam_environment +++ b/conf/pam_environment @@ -14,3 +14,8 @@ LC_MONETARY DEFAULT=fi_FI.UTF-8 LC_NAME DEFAULT=fi_FI.UTF-8 # +358... LC_TELEPHONE DEFAULT=fi_FI.UTF-8 + +# fcitx input method +GTK_IM_MODULE=fcitx +QT_IM_MODULE=fcitx +XMODIFIERS=@im=fcitx