Kubuntu 15.04
Harald Sitter
apachelogger at ubuntu.com
Mon Oct 27 14:52:51 UTC 2014
On Mon, Oct 27, 2014 at 3:47 PM, Jonathan Riddell <jr at jriddell.org> wrote:
> On Mon, Oct 27, 2014 at 03:29:08PM +0100, Jörn Schönyan wrote:
>> Am Montag, 27. Oktober 2014 15:23:31 CEST schrieb Jonathan Riddell:
>> >On Mon, Oct 27, 2014 at 03:13:52PM +0100, Jörn Schönyan wrote:
>> >>Am Montag, 27. Oktober 2014 14:56:27 CEST schrieb Scarlett Clark:
>> > ...
>> >
>> >Upstream KDE default is SDDM so we'd like to go with what KDE suggest.
>> >KDE went with SDDM because they were scared off by the Canonical
>> >contributor agreement (a bit silly since they happily do it for Qt).
>> >Fixing nvidia-prime to work with SDDM sounds entirely do-able, it
>> >needs a script to run at login as I remember.
>> Yes, that's right, these scripts are used to select the Intel card as a
>> output sink. Thanks for your answers, both Jonathan and Scarlett!
>
> lightdm set this in its config to run the scripts before lightdm starts
> display-setup-script=/sbin/prime-offload
> display-stopped-script=/sbin/prime-switch
> but rohan has pointed out to me this could be done as an upstart or systemd job and be mostly DM-independent.
the reason it is done like this is so that you can switch at runtime
and only need to logout and back in to apply the change I suppose. not
sure you could do that through upstart.
More information about the kubuntu-devel
mailing list