xfce4-session-4.13.2-xinitrc.patch 840 B

1234567891011121314151617181920212223242526272829
  1. diff -p -up ./scripts/xinitrc.in.in.0000 ./scripts/xinitrc.in.in
  2. --- ./scripts/xinitrc.in.in.0000 2012-03-30 18:48:01.000000000 +0000
  3. +++ ./scripts/xinitrc.in.in 2012-04-01 19:14:14.875368141 +0000
  4. @@ -44,6 +44,24 @@ if which xdg-user-dirs-update >/dev/null
  5. xdg-user-dirs-update
  6. fi
  7. +# Create user preferences if they are missing
  8. +# - Thunar
  9. +for i in Thunar; do
  10. + if [ ! -d $XDG_CONFIG_HOME/$i ]; then
  11. + mkdir -p $XDG_CONFIG_HOME/$i
  12. + cp -a /etc/xdg/$i $XDG_CONFIG_HOME
  13. + fi ;
  14. +done
  15. +
  16. +
  17. +# Create panel and xfconf user preferences if they are missing
  18. +for i in panel xfconf terminal; do
  19. + if [ ! -d $XDG_CONFIG_HOME/xfce4/$i ]; then
  20. + mkdir -p $XDG_CONFIG_HOME/xfce4/$i
  21. + cp -a /etc/xdg/xfce4/$i $XDG_CONFIG_HOME/xfce4
  22. + fi ;
  23. +done
  24. +
  25. # For now, start with an empty list
  26. XRESOURCES=""