Various instructions for setting up Linux OS on Clevo N950TP6
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.

47 lines
1.7 KiB

  1. # Maintainer: Pekka Helenius <fincer89 (a) hotmail.com>
  2. pkgname=xf86-intel-multimonitor
  3. pkgver=1
  4. pkgrel=1
  5. pkgdesc="Enable multimonitor support for Nvidia Optimus Clevo laptops via Intel VirtualGL"
  6. arch=('any')
  7. #url=""
  8. license=('GPL')
  9. depends=('xf86-video-intel' 'libglvnd' 'libgl' 'xorg-server' 'bumblebee') #'nvidia' 'nvidia-dkms'
  10. source=(
  11. nvidia-xorg.conf
  12. 10-intel.conf
  13. 20-nvidia.conf
  14. xorg.conf.nvidia.bumblebee
  15. xorg.conf.nouveau.bumblebee
  16. clevo-multimonitor-on.desktop
  17. clevo-multimonitor-off.desktop
  18. )
  19. md5sums=('85de608633c71bee5462333ab720fe4e'
  20. 'd0dd2e4b7b7db2ed43b972b558a05ba7'
  21. '0e8b9dced2fcf7d027d8505e8e72f209'
  22. '186a7dab0c24ec6b60c0ead10881ed95'
  23. 'e45198dfa8b038e17369a9120076c771'
  24. '70fc2ea9f62ae5e7df5286e9bf3ba9f5'
  25. '436ada85ff846c4d5e38a32e9567730c')
  26. package() {
  27. mkdir -p ${pkgdir}/etc/X11/xorg.conf.d
  28. mkdir -p ${pkgdir}/etc/bumblebee
  29. mkdir -p ${pkgdir}/usr/share/applications/
  30. # X11 configurations
  31. install -m 644 ${srcdir}/10-intel.conf ${pkgdir}/etc/X11/xorg.conf.d/10-intel.conf
  32. install -m 644 ${srcdir}/20-nvidia.conf ${pkgdir}/etc/X11/xorg.conf.d/20-nvidia.conf
  33. install -m 644 ${srcdir}/nvidia-xorg.conf ${pkgdir}/etc/X11/nvidia-xorg.conf #Must not be in a *.d dir
  34. # Bumblebee configurations
  35. install -m 644 ${srcdir}/xorg.conf.nouveau.bumblebee ${pkgdir}/etc/bumblebee/xorg.conf.nouveau
  36. install -m 644 ${srcdir}/xorg.conf.nvidia.bumblebee ${pkgdir}/etc/bumblebee/xorg.conf.nvidia
  37. install -m 755 ${srcdir}/clevo-multimonitor-on.desktop ${pkgdir}/usr/share/applications/clevo-multimonitor-on.desktop
  38. install -m 755 ${srcdir}/clevo-multimonitor-off.desktop ${pkgdir}/usr/share/applications/clevo-multimonitor-off.desktop
  39. }