On 2020-08-02, bob prohaska wrote:
>There's still a fly in the ointment. Editing
>/usr/share/applications/chromium-browser.desktop
>to contain the line
>Exec=MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser %U
>chromium still inverts the map at
>https://www.fire.ca.gov/incidents/
>
>However, if I use the line
>MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y chromium-browser
>in a terminal window to start the browser, the map displays correctly.
OK, what's happening is that the icon definition isn't running your
Exec through a full shell. Which isn't unreasonable.
What you need is a shell wrapper. Call it, say, /usr/local/bin/cr:
#! /bin/bash
export MESA_EXTENSION_OVERRIDE=-GL_MESA_framebuffer_flip_y
exec chromium-browser "$@"
(the "$@" effectively means "pass on any parameters you received")
and chmod it 755.
Then turn the .desktop file to point at that:
Exec=/usr/local/bin/cr %U
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|