X-Git-Url: http://git.cielonegro.org/gitweb.cgi?p=sugar.git;a=blobdiff_plain;f=dot-files%2F_xinitrc;h=fe6473492751ff4f2c0ec4f5a0ac91e2ac88280e;hp=0b492ea67ae940235b605be5a9279c05cd65d97a;hb=8f0006b57b395fd873820e5ce6bc86997d1765e4;hpb=c88a94f1b338321ca8fb1b4bf870032ae032efa0 diff --git a/dot-files/_xinitrc b/dot-files/_xinitrc index 0b492ea..fe64734 100644 --- a/dot-files/_xinitrc +++ b/dot-files/_xinitrc @@ -68,19 +68,26 @@ 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 + +# 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