apply_java_applications_fix.sh 316 B

12345678910111213141516
  1. #!/bin/bash
  2. # fail if any commands fails
  3. set -e
  4. # debug log
  5. #set -x
  6. # Set superuser privileges command if not set
  7. if [[ -z $su ]]; then
  8. export su="sudo"
  9. fi
  10. $su echo "export _JAVA_AWT_WM_NONREPARENTING=1" | $su tee -a /etc/profile.d/jre.sh
  11. #echo "export AWT_TOOLKIT=MToolkit" >> ~/.xinitrc
  12. #echo "wmname compiz"