-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129318/
-----------------------------------------------------------

Review request for Plasma and Eike Hein.


Repository: plasma-desktop


Description
-------

In Fedora 25 there have been many improvements regarding dual graphics support 
and they recently added an option to Gnome to launch the application using a 
dicrete graphics card, by just overriding DRI_PRIME environment variable, see 
http://www.hadess.net/2016/10/dual-gpu-integration-in-gnome.html. This option 
is available based on simple dbus service implemented here 
https://github.com/hadess/switcheroo-control/ providing just a single property 
whether the user has dual GPU. This dbus thingie is enabled in Fedora 25 by 
default. This patch tries to add this option the same way as Gnome does. I'm 
just not sure about using qputenv(), but I couldn't find a better way as using 
QProcess, which allows to set environment variables, won't have that nice mouse 
effect of opening application, at least I think it won't.


Diffs
-----

  applets/kicker/plugin/actionlist.h 869354c 
  applets/kicker/plugin/actionlist.cpp 2aa97d9 
  applets/kicker/plugin/appentry.cpp 80290e1 
  applets/kicker/plugin/recentusagemodel.cpp 24874ff 
  applets/kicker/plugin/runnermatchesmodel.cpp 4e4845c 

Diff: https://git.reviewboard.kde.org/r/129318/diff/


Testing
-------


Thanks,

Jan Grulich

Reply via email to