-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxinitrc
More file actions
32 lines (25 loc) · 753 Bytes
/
Copy pathxinitrc
File metadata and controls
32 lines (25 loc) · 753 Bytes
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
#!/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
# must be exported here to make xdg-open work properly (chromium's 'open')
export DE=xfce
# GTK fix for Qt applications (must be exported here apparently)
export GTK2_RC_FILES="$HOME/.gtkrc-2.0"
# must be done before starting X
[[ -f ~/.Xresources ]] && xrdb -merge ~/.Xresources
# start vbox services for screen resizing and shared clipboard
# uncomment only when archlinux is running as the guest os
#VBoxClient-all &
VBoxClient --display
VBoxClient --clipboard
# run systemd as user instance
systemd --user &
exec openbox-session