-
Notifications
You must be signed in to change notification settings - Fork 2
/
.xinitrc
executable file
·49 lines (35 loc) · 910 Bytes
/
.xinitrc
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
43
44
45
46
47
48
#!/bin/sh
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
done
unset f
fi
# Xprofile
# Make sure this is before the 'exec' command or it won't be executed.
[ -f /etc/xprofile ] && . /etc/xprofile
[ -f ~/.xprofile ] && . ~/.xprofile
# resources (aka colors)
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
# font settings
xset +fp /usr/share/fonts/local/
# make QT apps look like GTK apps
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
export _JAVA_AWT_WM_NONREPARENTING=1
export VDPAU_NVIDIA_NO_OVERLAY=1
# exec gnome-session
# exec startkde
# ...or the Window Manager of your choice
# DEFAULT_SESSION=xfce4-session
# case $1 in
# xfce4)
# exec xfce4-session
# ;;
# *)
# exec $DEFAULT_SESSION
# ;;
# esac
exec startxfce4