1
Description: run nvidia-prime setup on login
2
Author: Jonathan Riddell <jriddell@ubuntu.com>
4
Bug: https://bugs.launchpad.net/ubuntu/+source/nvidia-prime/+bug/1428328
5
Bug-SDDM: https://github.com/sddm/sddm/issues/393
6
Forwarded: yes, although it's not very elegant so may not be accepted
7
Last-Update: 2015-04-02
9
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
10
Index: sddm-0.11.0/data/scripts/Xsetup
11
===================================================================
12
--- sddm-0.11.0.orig/data/scripts/Xsetup
13
+++ sddm-0.11.0/data/scripts/Xsetup
16
# Xsetup - run as root before the login dialog appears
18
+if [ -e /sbin/prime-offload ]; then
19
+ echo running NVIDIA Prime setup /sbin/prime-offload, you will need to manually run /sbin/prime-switch to shut down