X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=dot-files%2F_xinitrc;h=ab416d0e085edffb38ffb846dedc3c7720039f29;hb=HEAD;hp=0b492ea67ae940235b605be5a9279c05cd65d97a;hpb=61befc31a165034bb00a66f817318bbceca2bacb;p=sugar.git diff --git a/dot-files/_xinitrc b/dot-files/_xinitrc index 0b492ea..ab416d0 100644 --- a/dot-files/_xinitrc +++ b/dot-files/_xinitrc @@ -68,19 +68,44 @@ if which ssh-agent-manager 2>&1 >/dev/null; then eval `ssh-agent-manager -s` fi -echo ".xinitrc is going to exec window manager..." +# Start X.org auxiliary utilities +if which vmware-user-suid-wrapper >/dev/null 2>&1; then + echo "Open Virtual Machine Tools is available. Starting..." + vmware-user-suid-wrapper -# start the window manager -#if which quartz-wm 2>&1 >/dev/null; then -# quartz-wm --only-proxy & -#fi -if which vmware-user >/dev/null 2>&1; then +elif vmware-user >/dev/null 2>&1; then + echo "VMWare Tools is available. Starting..." vmware-user & -fi -if which VBoxClient >/dev/null 2>&1; then + +elif which VBoxClient >/dev/null 2>&1; then + echo "VirtualBox Guest Addon is available. Starting..." VBoxClient --display VBoxClient --clipboard fi + +if which dunst 2>&1; then + dunst & +fi + +if which xbanish 2>&1; then + xbanish & + +elif which unclutter 2>&1; then + unclutter -jitter 5 & +fi + +# Start the compositor +if which picom >/dev/null 2>&1; then + picom --backend xrender --daemon + # Fluxbox seems to have problems without this sleep... + sleep 0.5 || sleep 1 +fi + +# Start the window manager +echo ".xinitrc is going to exec window manager..." +if which quartz-wm 2>&1 >/dev/null; then + quartz-wm --only-proxy & +fi if which fluxbox >/dev/null 2>&1; then exec fluxbox fi