Depends on the distro, but usually just install a package. I...

deab79dafa1c2be4...
npub1m64hnkh6rs47fd9x6wk2zdtmdj4qkazt734d22d94ery9zzhne5qw9uaks
hex
9429f842b41594d5f508005b733620eb9f8b79bee87742fdeb4aa17f43fa00b4nevent
nevent1qqsfg20cg26pt9x475yqqkmnxcswh8ut0xlwsa6zlh454gtlg0aqpdqprpmhxue69uhhyetvv9ujuem4d36kwatvw5hx6mm9qgsda2memtapc2lykjnd8t9px4ake2stw39lg6k49xj6u3jz3pteu6qt0c3w7Kind-1 (TextNote)
↳ 回复 Jay (npub10mtatsat7ph6rsq0w8u8npt8d86x4jfr2nqjnvld2439q6f8ugqq0x27hf)
I do actually keep my desktop on for long periods of time. How does one zram?
Depends on the distro, but usually just install a package. I know on Debian an apt install zram-config will do the trick. If you already have swap you may need to mess around a bit with swapoff, but it's pretty simple usually. The link I posted goes over the basic config.
From AI: To set up zRAM on Linux, follow these steps:
- Install the package: Run sudo apt install zram-config (Debian/Ubuntu) or sudo dnf install zram-generator (Fedora).
- Start the service: Use sudo systemctl enable --now zram-config or configure the /etc/systemd/zram-generator.conf file.
- Verify: Check status with zramctl or swapon --show.
原始 JSON
{
"kind": 1,
"id": "9429f842b41594d5f508005b733620eb9f8b79bee87742fdeb4aa17f43fa00b4",
"pubkey": "deab79dafa1c2be4b4a6d3aca1357b6caa0b744bf46ad529a5ae464288579e68",
"created_at": 1773773302,
"tags": [
[
"alt",
"A short note: Depends on the distro, but usually just install a ..."
],
[
"e",
"74d8d3495521996032e586524a69190081f9cbf28d1cec5f2578c4027aee3850",
"wss://relay.primal.net/",
"root",
"67ada8e344532cbf82f0e702472e24c7896e0e1c96235eacbaaa4b8616052171"
],
[
"e",
"4a0a4362014cd2a997b048209894bc9e6971473da0ed3e6d5955392ae370857f",
"wss://nos.lol/",
"",
"7ed7d5c3abf06fa1c00f71f879856769f46ac92354c129b3ed5562506927e200"
],
[
"e",
"d932c1c83eb20aefcaefb51ecdf1f8d081c1f93a591ed7935e72dbf74e812e64",
"wss://nostr.wine/",
"",
"deab79dafa1c2be4b4a6d3aca1357b6caa0b744bf46ad529a5ae464288579e68"
],
[
"e",
"b212d7f6b3ae4afdcf802eaec65394ee916c0bb99393fad5c58a6c794dfd7b6d",
"wss://relay.primal.net/",
"reply",
"7ed7d5c3abf06fa1c00f71f879856769f46ac92354c129b3ed5562506927e200"
],
[
"p",
"67ada8e344532cbf82f0e702472e24c7896e0e1c96235eacbaaa4b8616052171",
"wss://nos.lol/"
],
[
"p",
"7ed7d5c3abf06fa1c00f71f879856769f46ac92354c129b3ed5562506927e200",
"wss://nostr.wine/"
],
[
"p",
"deab79dafa1c2be4b4a6d3aca1357b6caa0b744bf46ad529a5ae464288579e68",
"wss://nostr.wine/"
],
[
"r",
"https://zram-generator.conf/"
]
],
"content": "Depends on the distro, but usually just install a package. I know on Debian an apt install zram-config will do the trick. If you already have swap you may need to mess around a bit with swapoff, but it's pretty simple usually. The link I posted goes over the basic config.\n\nFrom AI:\nTo set up zRAM on Linux, follow these steps:\n * Install the package: Run sudo apt install zram-config (Debian/Ubuntu) or sudo dnf install zram-generator (Fedora).\n * Start the service: Use sudo systemctl enable --now zram-config or configure the /etc/systemd/zram-generator.conf file.\n * Verify: Check status with zramctl or swapon --show.\n",
"sig": "aa458caad3553c5ae2736e78a17f71494b66dc2e4a40a880e58926af464206946c304d6f1497a80705951f4997414aa3b1a65103b39f8ad1cf6fc7e6b66d1567"
}