Re:Firefox 94 to start using EGL on Linux
by maxnoe on Saturday October 30, 2021 @10:03AM
(#29048831)
There are env variables set by the session
[ Parent
| on HN ]
Re:Firefox 94 to start using EGL on Linux
by Scramblejams on Saturday October 30, 2021 @12:18PM
(#29049938)
How can one tell if Firefox is already using EGL?
Re:Firefox 94 to start using EGL on Linux
by sweetsocks21 on Saturday October 30, 2021 @12:31PM
(#29050047)
If you go to about:support and scroll to the end of the graphics section you should see two entries:
X11_EGL
DMABUF
and should say something like "available by default"/enabled or similar wording. Otherwise it'll either say unsupported/disabled or will be missing.
Re:Firefox 94 to start using EGL on Linux
by lucb1e on Saturday October 30, 2021 @12:17PM
(#29049928)
How do you change those? This is something I remember trying to look up some time ago (to set PATH also for the Alt+F2 'run command' dialog in Cinnamon) but I didn't find it.
Wayland uses WAYLAND_DISPLAY, X uses DISPLAY.
Re:Firefox 94 to start using EGL on Linux
by lucb1e on Saturday October 30, 2021 @02:39PM
(#29051226)
I think you misunderstood my question. Indeed with `DISPLAY=:0 glxgears` I can run something on my screen from a different virtual terminal (perhaps even an ssh session), but what I mean is that my desktop environment takes the PATH environment variable from somewhere and I don't know where. When I run 'josm' in the Alt+F2 dialog, it can't find the command, even though in my bashrc I configured my PATH to include ~/bin/.
Re:Firefox 94 to start using EGL on Linux
by the8472 on Saturday October 30, 2021 @03:04PM
(#29051435)
Environment variables are defined in multiple files. most desktop environments launch in a systemd user session, so one option is to use that[0]. Then are .xsession, scripts specific to the DE, /etc/environment and a bunch of other stuff I am forgetting.
[0] https://wiki.archlinux.org/title/systemd/User#Environment_va...
Re:Firefox 94 to start using EGL on Linux
by nightfly on Saturday October 30, 2021 @03:19PM
(#29051544)
A TTY like you get in your "ALT+F2" is a new login/session shell and uses .bash_profile rather than .bashrc (which is invoked when you create a new bash process in an already existing login session like when you open a terminal window). There are lots of moving pieces, but I've found the easiest way to get the same behavior in both is to have my .bash_profile source my .bashrc.