283
submitted 1 year ago by darth_tiktaalik@lemmy.ml to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Helix@feddit.de 44 points 1 year ago
[-] const_void@lemmy.ml 7 points 1 year ago

How do you make it permanent though?

[-] andrew@lemmy.stuart.fun 7 points 1 year ago* (last edited 1 year ago)

You can always add the env var in /etc/profile, though there are likely more fine grained approaches (like editing the firefox.desktop file) that won't set vars for everything.

[-] Helix@feddit.de 2 points 1 year ago

That's described in the linked article. You can add it to the environment variables in the bash profile, but I put it in the KDE environment variables in $HOME/.config/plasma-workspace/env/.

[-] ntzm@lemmy.ml 1 points 1 year ago

What do you mean?

[-] spez@sh.itjust.works 5 points 1 year ago

Also, if using the flatpak version, you can use flatseal to give it access to that variable under "Environment" or use flatpak override --env=MOZ_ENABLE_WAYLAND=1 org.mozilla.firefox

[-] cryptix@discuss.tchncs.de 4 points 1 year ago

You could do that years ago. I've been using Wayland for 1+year and its solid

[-] Helix@feddit.de 2 points 1 year ago

Yes, but you can also do it today if you didn't do it years ago :)

this post was submitted on 25 Nov 2023
283 points (98.3% liked)

Linux

48714 readers
1136 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 5 years ago
MODERATORS