Skip to content

u/ddoublea

In this archive from Sep 2019 to Sep 2019

0
posts
2
comments
0
media
7
score

Top comments

So many ways to approach this. My go-to strategy is to add a .sh file in /etc/profile.d/. In your case, a simple

/etc/profile.d/gdk.sh
GDK_BACKEND=x11
export GDK_BACKEND

should do the trick. Variables will be set in the environment after login.

5 points

For sure, this approach works for wayland too. And yes, you can do this for every environment variable you want. If there are a few variables that make sense to keep together, it's good practice to set & export them all from the same .sh file.

2 points

Subreddits

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.