mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
921 B

  1. --- ./xinitrc.cpp.orig 2006-08-04 00:15:01.000000000 +0200
  2. +++ ./xinitrc.cpp 2006-08-04 00:15:55.000000000 +0200
  3. @@ -24,7 +24,7 @@
  4. XMODMAP $usermodmap
  5. fi
  6. -XCOMM start some nice programs
  7. +XCOMM start the windowmanager
  8. #if defined(__SCO__) || defined(__UNIXWARE__)
  9. if [ -r /etc/default/xdesktops ]; then
  10. @@ -68,8 +68,9 @@
  11. XCOMM This is the fallback case if nothing else is executed above
  12. #endif /* !defined(__SCO__) && !defined(__UNIXWARE__) */
  13. -TWM &
  14. -XCLOCK -geometry 50x50-1+1 &
  15. -XTERM -geometry 80x50+494+51 &
  16. -XTERM -geometry 80x20+494-0 &
  17. -exec XTERM -geometry 80x66+0+0 -name login
  18. +WINDOWMANAGER="${WINDOWMANAGER:-startkde}"
  19. +[ "$WINDOWMANAGER" = "gnome" ] && WINDOWMANAGER="gnome-session"
  20. +[ "$WINDOWMANAGER" = "kde" ] && WINDOWMANAGER="startkde"
  21. +[ "$WINDOWMANAGER" != "twm" -a -n "$(type -p ${WINDOWMANAGER%% *})" ] && exec $WINDOWMANAGER
  22. +xsetroot -solid darkcyan ; exec twm ; exec xterm
  23. +