#!/bin/sh # # ~/.xinitrc # # Executed by startx (run your window manager from here) if false && [ -d /etc/X11/xinit/xinitrc.d ]; then echo ' ==> Running scripts in Entering xinitrc.d/*' for f in /etc/X11/xinit/xinitrc.d/*; do echo " -> $f" [ -x "$f" ] && . "$f" done unset f echo ' -> done' fi usermodmap="$XDG_CONFIG_HOME/X11/modmap" if [ -f "$usermodmap" ]; then xmodmap "$usermodmap" fi # exec gnome-session # exec startkde # exec startxfce4 # ...or the Window Manager of your choice exec wmii