Using FCITX instead of ibus for input method on wayland
This commit is contained in:
@@ -16,3 +16,4 @@ gtk-xft-hinting=1
|
||||
gtk-xft-hintstyle=hintmedium
|
||||
gtk-modules=gail:atk-bridge
|
||||
gtk-xft-rgba=rgba
|
||||
gtk-im-module=fcitx
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
[Settings]
|
||||
gtk-application-prefer-dark-theme=1
|
||||
gtk-im-module=fcitx
|
||||
|
||||
@@ -3,10 +3,10 @@ monitor=eDP-1,1920x1080@60,0x0,1
|
||||
|
||||
# --- Second monitor via HDMI-A ---
|
||||
# Automatic/To the right
|
||||
# monitor=,1920x1080@165,auto,1
|
||||
monitor=,1920x1080@165,auto,1
|
||||
|
||||
# Second monitor on the left
|
||||
monitor=,1920x1080@165, -1920x0, 1
|
||||
# monitor=,1920x1080@165, -1920x0, 1
|
||||
|
||||
# monitor = , highres, 0x-1080, 1
|
||||
|
||||
@@ -19,7 +19,7 @@ monitor=,1920x1080@165, -1920x0, 1
|
||||
exec-once = waybar
|
||||
exec-once = hyprpaper
|
||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
# exec-once = ibus-daemon -rxRd
|
||||
exec-once = fcitx5 -d
|
||||
|
||||
# Set programs that you use
|
||||
$terminal = alacritty
|
||||
@@ -43,6 +43,7 @@ input {
|
||||
|
||||
touchpad {
|
||||
natural_scroll = yes
|
||||
clickfinger_behavior = true
|
||||
}
|
||||
|
||||
sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
|
||||
@@ -260,6 +261,15 @@ bind = $mainMod CTRL SHIFT, S, exec, grim -g "$(slurp -d)" - > $HOME/Screenshots
|
||||
# Wholescreen, save to $HOME/Screenshots/
|
||||
bind = , Print, exec, grim - > $HOME/Screenshots/Screenshot_$(date +%F_%T).png
|
||||
|
||||
# Enviroment variables
|
||||
env = GDK_BACKEND,wayland,x11,*
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = GTK_IM_MODULE, fcitx
|
||||
env = QT_IM_MODULE, fcitx
|
||||
env = XMODIFIERS, @im=fcitx
|
||||
|
||||
# NVIDIA
|
||||
#env = LIBVA_DRIVER_NAME,nvidia
|
||||
#env = XDG_SESSION_TYPE,wayland
|
||||
|
||||
10
zsh/.zshrc
10
zsh/.zshrc
@@ -143,9 +143,13 @@ alias please='sudo'
|
||||
alias ibus-en='ibus engine xkb:us:intl:eng'
|
||||
alias ibus-vn='ibus engine Bamboo'
|
||||
|
||||
export GTK_IM_MODULE=ibus
|
||||
export QT_IM_MODULE=ibus
|
||||
export XMODIFIERS=@im=ibus
|
||||
# export GTK_IM_MODULE=ibus
|
||||
# export QT_IM_MODULE=ibus
|
||||
# export XMODIFIERS=@im=ibus
|
||||
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user