fant0men

Skype for Linux launch script

Jun 6th, 2016
452
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/bin/sh
  2. # This script is necessary to launch Skype in Linux, with the
  3. # new NVIDIA drivers.
  4. #
  5. # Simply name this script "skype", and put it in ~/bin.
  6. #
  7. # Run: chmod +x skype
  8. #
  9. # Put this line in ~/.bashrc:
  10. #
  11. # PATH=${HOME}/bin:${PATH}
  12.  
  13. export LD_PRELOAD="/usr/lib32/libGL.so.1\
  14. /usr/lib32/tls/libnvidia-tls.so.340.96\
  15. /usr/lib32/libnvidia-glcore.so.340.96 $LD_PRELOAD"
  16. exec /usr/bin/skype "$@"
RAW Paste Data