fix IME 1/2
parent
b416342b12
commit
f232c694ff
|
@ -0,0 +1,57 @@
|
|||
# Set up Guix Home profile
|
||||
if [ -f ~/.profile ]; then . ~/.profile; fi
|
||||
|
||||
# Honor per-interactive-shell startup file
|
||||
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi
|
||||
|
||||
# Merge search-paths from multiple profiles, the order matters.
|
||||
eval "$(guix package --search-paths \
|
||||
-p $HOME/.config/guix/current \
|
||||
-p $HOME/.guix-profile \
|
||||
-p /run/current-system/profile)"
|
||||
|
||||
# Arrange so that ~/.config/guix/current comes first.
|
||||
for profile in "$HOME/.guix-profile" "$HOME/.config/guix/current"
|
||||
do
|
||||
if [ -f "$profile/etc/profile" ]
|
||||
then
|
||||
# Load the user profile's settings.
|
||||
GUIX_PROFILE="$profile" ; \
|
||||
. "$profile/etc/profile"
|
||||
else
|
||||
# At least define this one so that basic things just work
|
||||
# when the user installs their first package.
|
||||
export PATH="$profile/bin:$PATH"
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
export $(dbus-launch)
|
||||
|
||||
export GUIX_GTK3_IM_MODULE_FILE=~/.guix-profile/lib/gtk-3.0/3.0.0/immodules-gtk3.cache
|
||||
export GUIX_GTK2_IM_MODULE_FILE=~/.guix-profile/lib/gtk-2.0/2.10.0/immodules-gtk2.cache
|
||||
|
||||
export XIM_PROGRAM=fcitx
|
||||
export XIM=fcitx
|
||||
|
||||
export XMODIFIERS=@im=fcitx
|
||||
export GTK_IM_MODULE=fcitx
|
||||
export QT_IM_MODULE=fcitx
|
||||
|
||||
export GLFW_IM_MODULE=ibus
|
||||
export SDL_IM_MODULE=fcitx
|
||||
|
||||
|
||||
|
||||
# Prepend setuid programs.
|
||||
export PATH=/run/setuid-programs:$PATH
|
||||
|
||||
export PATH=$PATH:/var/lib/flatpak/exports/bin
|
||||
export XDG_DATA_DIRS=/var/lib/flatpak/exports/share:$XDG_DATA_DIRS
|
||||
|
||||
|
||||
export GPG_TTY=$(tty)
|
||||
|
||||
export SSL_CERT_DIR="/run/current-system/profile/etc/ssl/certs"
|
||||
export SSL_CERT_FILE="/etc/ssl/certs/ca-certificates.crt"
|
||||
|
Loading…
Reference in New Issue