[-] Ordoviz@lemmy.ml 8 points 3 months ago

Use systemd-zram-generator. The process is explain in the DebianWiki and the ArchWiki and this random blog, but it boils down to just a few commands you need to run:

$ apt install systemd-zram-generator
$ sudoedit /etc/systemd/zram-generator.conf
[zram0]
zram-size = min(ram, 8192)
compression-algorithm = zstd
$ sudo systemctl daemon-reload && sudo systemctl start systemd-zram-setup@zram0.service

You can tweak the settings above. Fedora recommends using zram-size = min(ram, 8192), which would correspond to 8GB ZRAM in your case. CachyOS uses a less conservative config with zram-size = ram.

To confirm that zram is working, run zramctl. It should print something like

NAME       ALGORITHM DISKSIZE   DATA  COMPR  TOTAL STREAMS MOUNTPOINT
/dev/zram0 zstd            8G 430.8M 137.6M 142.9M         [SWAP]

See also Improving system responsiveness under low-memory conditions.

[-] Ordoviz@lemmy.ml 8 points 5 months ago

Ctrl+Q closes Firefox (very easy to misinput due to being so close to Ctrl+W): browser.quitShortcut.disabled = true

[-] Ordoviz@lemmy.ml 5 points 8 months ago

Logs are probably in ~/.config/unity3d/. If not, check https://www.pcgamingwiki.com/

9

Several great covers of Undertale's OST were made celebrating its 10th Anniversary. This is one of the most underrated. Enjoy!

Others I liked:

[-] Ordoviz@lemmy.ml 9 points 1 year ago

Using MIT license means the developers cannot look at GNU source code when writing code for uutils. This feels like a unnecessary hurdle given that uutils wants to be 100% compatible with GNU tools.

[-] Ordoviz@lemmy.ml 9 points 2 years ago

Store your Firefox profile and all tabs in RAM for snappier browsing: https://wiki.archlinux.org/title/Firefox/Profile_on_RAM

[-] Ordoviz@lemmy.ml 18 points 2 years ago
[-] Ordoviz@lemmy.ml 10 points 2 years ago

Don't blindly run untrusted software, use Bubblewrap at the very least. Keep https://xkcd.com/538/ in mind.

[-] Ordoviz@lemmy.ml 14 points 2 years ago

OpenStreetMap and Internet Archive because they are operating with a small budget (as opposed to Wikipedia).

[-] Ordoviz@lemmy.ml 4 points 2 years ago
#!/bin/sh
# Select a file with fzf from a database sorted by frecency and open it using
# xdg-open. frece can be found at https://github.com/YodaEmbedding/frece

DB_FILE=${FRECE_FILES_DB:-$HOME/.cache/frecent-files.csv}
item=$(frece print "$DB_FILE" | fzf --tiebreak=index --scheme=path)

[ -z "$item" ] && exit 1
frece increment "$DB_FILE" "$item"

xdg-open "$item"

#!/bin/sh
# Update frece database

DB_FILE=${FRECE_FILES_DB:-$HOME/.cache/frecent-files.csv}
tmp_file=$(mktemp)
fd -H . ~ > "$tmp_file"  # use ~/.fdignore file to exclude certain dirs
frece update "$DB_FILE" "$tmp_file" --purge-old
rm "$tmp_file"

[-] Ordoviz@lemmy.ml 4 points 2 years ago

Wired has removed the story because it "does not meet [their] editorial standards".

[-] Ordoviz@lemmy.ml 10 points 3 years ago

Hollow Knight: Silksong

0
submitted 3 years ago by Ordoviz@lemmy.ml to c/security@lemmy.ml

Demonstrating how easy it is to get hacked

2
submitted 4 years ago by Ordoviz@lemmy.ml to c/math@lemmy.ml

Beginner-friendly derivation of an alternative expression of the gamma function.

1
submitted 4 years ago by Ordoviz@lemmy.ml to c/indiegames@lemmy.ml

cross-posted from: https://lemmy.ml/post/188331

Get Celeste, Baba is You, A Short Hike, Minit and many other indie games while supporting charity.

0
submitted 4 years ago by Ordoviz@lemmy.ml to c/chess@lemmy.ml

I have aphantasia but managed to follow the moves in the video and notice the pin.

Aphantasia is the inability to create mental images in one's mind. You can check for yourself if you have aphantasia by imaging a ball on a table.

Do you have aphantasia? Can you play blind chess?

1
submitted 4 years ago by Ordoviz@lemmy.ml to c/math@lemmy.ml
1
submitted 4 years ago by Ordoviz@lemmy.ml to c/math@lemmy.ml
1
submitted 4 years ago by Ordoviz@lemmy.ml to c/rss@lemmy.ml

I use RSS feeds and mpv to watch YouTube without visiting youtube.com. This post shows how you can configure mpv to use yt-dlp instead of the abandoned youtube-dl.

1
submitted 4 years ago by Ordoviz@lemmy.ml to c/youtube@lemmy.ml
10
submitted 5 years ago by Ordoviz@lemmy.ml to c/asklemmy@lemmy.ml
1
submitted 5 years ago by Ordoviz@lemmy.ml to c/nintendo@lemmy.ml

Eye-opening video which explains Nintendo’s new design philosophy by comparing Origami King, Breath of the Wild, and Odyssey to older Nintendo games and similar games from other publishers.

The title sounds more negative than the video actually is.

1
Linux Command Library (linuxcommandlibrary.com)
submitted 5 years ago by Ordoviz@lemmy.ml to c/commandline@lemmy.ml

Impressive resource

view more: next ›

Ordoviz

0 post score
0 comment score
joined 6 years ago