fix: show discrete GPU as default within cosmic context menu - #286
Merged
Conversation
Jan200101
marked this pull request as draft
February 12, 2026 19:24
Jan200101
force-pushed
the
PR/switcheroo
branch
from
February 12, 2026 19:34
0641906 to
aa2ae1f
Compare
PrefersNonDefaultGPU is specified as follows in the Specification: If true, the application prefers to be run on a more powerful discrete GPU if available, which we describe as “a GPU other than the default one” in this spec to avoid the need to define what a discrete GPU is and in which cases it might be considered more powerful than the default GPU. This key is only a hint and support might not be present depending on the implementation. https://specifications.freedesktop.org/desktop-entry/latest/recognized-keys.html Checking for a Discrete GPU is a more accurate implementation despite the misleading name.
Jan200101
force-pushed
the
PR/switcheroo
branch
from
February 14, 2026 20:18
aa2ae1f to
cfa0964
Compare
Jan200101
marked this pull request as ready for review
February 14, 2026 20:18
mmstick
approved these changes
Jun 24, 2026
|
The PR checklist is required |
Author
|
This PR predates the checklist, I'll add it in this comment:
|
jklgrasso
approved these changes
Jul 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
requires pop-os/dbus-settings-bindings#29
matches pop-os/cosmic-launcher#399
Uses a discrete GPU when a more powerful GPU is requested using
PrefersNonDefaultGPUhttps://specifications.freedesktop.org/desktop-entry/latest/recognized-keys.html
This PR could also do some more stuff like add a
(discreted)/(dedicated)and how the GPU is selected could be tweaked, but that is best discussed in pop-os/cosmic-launcher#399