-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.xprofile
42 lines (37 loc) · 1.11 KB
/
.xprofile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Source distribution information from /etc/os-release if it exists
if [ -f /etc/os-release ]; then
. /etc/os-release
fi
case "$ID" in
ubuntu)
echo "Ubuntu detected. Starting ibus..."
# Set environment variables for ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
# Start ibus-daemon in the background
# ibus-daemon -drx &
;;
arch)
echo "Arch Linux detected. Starting fcitx..."
# Set environment variables for fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
# Start fcitx; you can also use 'fcitx-autostart' if available
# fcitx &
;;
*)
echo "Distribution not specifically handled; no input method launched."
;;
esac
export EDITOR=vim
export XDG_CONFIG_HOME="$HOME/.config"
export _JAVA_OPTIONS='-Dswing.crossplatformlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true '
export _JAVA_AWT_WM_NONREPARENTING=1
# home bin
export PATH=~/bin:~/.local/bin:$PATH
# locale
unset LANG
source /etc/profile.d/locale.sh
source ~/.r809env