Hello, world!
Please help me out I tried to add DRI_PRIME=1 option to apps command in my Whisker menu (i use XFCE) Example: “DRI_PRIME=1 gimp”
But it gives me error like “failed to execute command no such file found”
When i run an app in terminal (same DRI_PRIME=1 gimp for instance) it works.
My distro is Linux Mint XFCE 21.2
Thanks to everyone in advance!
DRI_PRIMEis an environment variable.DRI_PRIME=1 gimpis a bash syntax for setting an environment variable for a specific command execution, Whisker probably doesn’t use shell commands, it’s expecting an executable. So it’s trying to look up a file namedDRI_PRIME=1in yourPATH.You’re going to need to figure out if whisker has a way to set env vars for a command (I don’t use it so not sure what it shows when you click the “Help” button). If not, you’ll need to create an executable script file which executes your command with the environment variable set like you’re attempting to do (
DRI_PRIME=1 gimp), and then point whisker at your script.

