-33
Sss (lemmy.ml)
submitted 1 month ago* (last edited 1 month ago) by pogonyalo@lemmy.ml to c/linux@lemmy.ml

Hhh

top 1 comments
sorted by: hot top controversial new old
[-] blobjim@hexbear.net 5 points 1 month ago* (last edited 1 month ago)

DRI_PRIME is an environment variable. DRI_PRIME=1 gimp is 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 named DRI_PRIME=1 in your PATH.

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.

this post was submitted on 30 Nov 2025
-33 points (13.3% liked)

Linux

57274 readers
752 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS