#!/bin/sh # this file is executed when calling startx # default arch xinit scripts if [ -d /etc/X11/xinit/xinitrc.d ]; then for f in /etc/X11/xinit/xinitrc.d/*.sh; do [ -x "$f" ] && . "$f" done fi # user init scripts and settings [ -f /etc/X11/xinit/.Xmodmap ] && xmodmap /etc/X11/xinit/.Xmodmap [ -f ~/.Xmodmap ] && xmodmap ~/.Xmodmap [ -f ~/.Xresources ] && xrdb -merge ~/.Xresources [ -f ~/.xprofile ] && . ~/.xprofile # launch the session, don't put commands below the exec line exec openbox-session