We’ve discussed here in the past already, and I just disagree. I prefer to have steam on Nvidia and don’t think about adding parameters to game launchers. It’s simpler and cleaner that way. Besides, in full Nvidia mode it is used for all desktop and nobody is telling you to run hybrid mode just to get more juice out of Nvidia. So if it can power everything, starting Steam with Nvidia is also an OK solution. However, maybe I’ll try to test it and see if the performance is the same with one method or the other, but so far, none had proved that it does, so I stick to my preferred solution for now.
I agree, but on older cards, when I need to work on battery, it’s nice to have access to Intel mode. Otherwise, when laptop is plugged to AC, hybrid mode is all I need. I’ve been thinking of ditching optimus-manager, but sometimes I do need to work on battery, so… there is no hurry. It works fine for me. Only its nature in Wayland is puzzling, still, it’s not a problem, just confusing.
I didnt say to copy the command shown as-is. It was an example.
(though … if you were trying to copy … the C should not be capitalized.)
%u is a variable for URL input … used by something like firefox … steam has no use for it.
There are many ways … below is which, and pacman -Ql that will list files from a package.
pacman -Ql nvidia-prime
From my own perusal I’m guessing what you really want is
It works in terminal, all right. It fails if I add it to the launcher via editing it on Plasma. In the past it worked exactly like in terminal, but they updated it, added this “attribute” box, and it no longer works. I can’t use the launching command, when adding to attribute it also fails to apply the attribute. It feels that I’m missing something. This is a great example of an “upgrade” that was supposed to add an improvement, just made it more complicated and obscure.
Is there any Plasma user that knows how to make it work? No matter what attribute I add, it simply doesn’t apply it.
I know I could edit the .desktop file directly, but for the convenience sake, I want to know how to use it via GUI, just for the future reference.
The program launcher is itself launched from the dock, hence all the properties windows are showing as latte. That shouldn’t have any impact on anything.
OK, so you are saying the attribute in this case is what usually is put AFTER, not BEFORE?
Yes, got it! You were right! The attribute field didn’t work, because there is another field named “environmental variables” and that is what I was supposed to use in the first place. Duh! The name say is all, but because it was translated to my language, I just didn’t notice it.
Its not entirely nonsensical for it to be placed in the ‘environment variable’ section as those do go before the execution.
While prime-run is treated as a script in and of itself … technically prime-run is really just a collection of env vars. In particular it looks like this: