Skip to content

u/OptimisticElectron

In this archive from Jan 2017 to Nov 2022

9
posts
90
comments
2
media
412
score

I might want to add more in the future. This is a recent arch install on my new laptop.

session=${1:-xfce} check if the variable $1 is set. If it is not, xfce is assigned to session. Otherwise, whatever is passed from the command e.g. startx ~/.xinitrc my_var will be assigned to session in the example's case it's my_var.

1 points

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.