https://github.com/Nefelim4ag/systemd-swap
- only one zram device
- predict zram size based on compression algorithm
- set mem_limit for zram
- /usr/bin/systemd-swap
https://github.com/Nefelim4ag/systemd-swap
01:56:41.182 29163-29163 HwViewRootImpl I removeInvalidNode all the node in jank list is out of time | |
01:56:46.218 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:56:52.759 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:57:01.792 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:57:06.325 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:57:24.958 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:57:37.036 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:57:45.599 29163-29163 I removeInvalidNode all the node in jank list is out of time | |
01:57:48.609 29163-29163 |
In recent years, the trend of cheating customers by unscrupulous Chinese sellers is gaining momentum with enormous speed.
With H2testw, you can write and read how much data the storage device is actually capable of holding. This can work with network drives, hard drives, SD cards and USB sticks. https://www.softpedia.com/get/System/System-Miscellaneous/H2testw.shtml
You'll need Administrator rights to run it, but thanks to this the process of testing is so fast that you'll be provided with the real information about your media health and speed in about 5 minutes. You can measure speed of your media and you can recover it in one click if it's fake. https://flashtest.alexkhoroshev.ru/?lang=en
List entries
bcdedit /enum firmware
Copy UEFI entry of "Windows Boot Manager" to create a new entry for Ubuntu:
#!/usr/bin/env bash | |
##### | |
# Generate a PNG file to use in i3lock | |
# we have 2 monitors | |
# 1. resolution 1440x2560 at offset +0+0 | |
# 2. resolution 1920x1200 at offset +1440+1100 | |
##### | |
# get 2 random files from this folder |
The reason for not running pacman -Sy
is to avoid installing packages from different package database updates.
Example: It's 5 days later when you've forgotten you ran pacman -Sy
and run pacman -S nvidia
that you're likely to break something
source The bash script checkupdates, included with the pacman-contrib package, provides a safe way to check for upgrades to installed packages without running a system update at the same time.
see: System maintenance
screen_region_ocr.sh
file to your home folderchmod +x ~/screen_region_ocr.sh
to make it executablescreen_region_ocr.desktop
to ~/.local/share/applications/
(change Exec
path)You can now run Screen Region OCR
from your application launcher, select a screen region then paste (Ctrl+V) the OCRed text where you need it
The next time X crashes, don't hit the hard reset button before trying a few other things first:
Try shutting down X gracefully with <Ctrl>+<Alt>+<Backspace>. You may have to first reconfigure your OS to re-enable this key combo, which recent distros have turned off by default. Instructions here: http://askubuntu.com/questions/367983/how-do-i-enable-ctrl-alt-backspace-to-kill-the-x-server If that doesn't work, try switching to a TTY console with <Ctrl>+<Alt>+<F1> and do:
reboot
or
poweroff
#!/bin/bash | |
UNPACK_THEN_EXIT="" | |
CLEANUP="yes" | |
TIMING="yes" | |
filename="" | |
POSITIONAL=() | |
while [[ $# -gt 0 ]] | |
do |
Taken from https://wiki.archlinux.org/index.php/Lenovo_IdeaPad_5_14are05
Look for S3 sleep fix
here: https://wiki.archlinux.org/index.php/Lenovo_IdeaPad_5_14are05#Suspend_issues_(S3_sleep_fix)
acpi_call-lts
for LTS kernel, acpi_call-dkms
for other kernels)