I'm trying to modify my Firefox shortcut in Unity so that it started with a specific parameter. From a terminal, I would start like this:
I tried modifying the
firefox.desktop file so that the Exec line looked like
But this doesn't work (the application doesn't start). I thought it could be a problem with two "=" signs, so I tried
but this doesn't work either. What should I do?
You should be able to use the
Exec=/usr/bin/env VDPAU_DRIVER=va_gl firefox
See the manpage at
ENV(1) User Commands ENV(1) NAME env - run a program in a modified environment SYNOPSIS env [OPTION]... [-] [NAME=VALUE]... [COMMAND [ARG]...]
Alternatively, create a wrapper script and call that instead.