CSCS Documentation and Tools
website·Indexed 31 days ago
https://cscs.techA collection of Linux utilities and tutorials, including tools like mapare for Manjaro package curation, maclean for system cleaning, dnsdig for DNS resolver response timing, waybinder for Wayland text expansion, and hidpify for Plasma HiDPI configuration. The site also provides guides on zram, watchdog disabling, and recovery boot procedures.
What's inside CSCS
- mapare is a script used to automate the process of curating and installing package lists specifically for Manjaro Linux. It streamlines the management of software dependencies and system packages.
Overview of maclean cleaning script
maclean is a script designed for Linux users to automate relatively safe system cleaning activities.Overview of dnsdig DNS resolver measurement tool
dnsdig is a script that utilizes thedigordrillcommand-line utilities to measure the response times of DNS resolvers.Overview of zram and zram-generator
zram is a Linux kernel module that creates a compressed block device in RAM, which can be used as a swap device or for temporary files (/tmp). It dynamically grows and shrinks as data is swapped out.
Key constraints:
- zram is incompatible with hibernation unless combined with a physical swap device.
- zswap must be disabled to allow zram to function effectively, as zswap acts as a cache that intercepts pages before they reach zram.
- zram-generator provides a systemd unit to automatically initialize these devices without manual template activation.
Overview of Waybinder text expander
Waybinder is a simple text expander designed for Wayland compositors. It functions similarly to Autokey, but specifically reads its expansion text files from the~/.config/waybinderdirectory. Further technical details and source code are available on its GitLab page.Backup and restore Plasma user configurations with Project Link
Project Link (Transfuse) provides a script to backup, compress, and restore Plasma user configurations. The project source and further details are available on its GitLab page.More information available at: https://gitlab.com/cscs/transfuseUse hidpify to configure HiDPI screens on KDE Plasma
hidpify is a script that automates the configuration of High DPI (HiDPI) screens under the KDE Plasma desktop environment. It specifically handles the following settings:
- KDE font DPI
- SDDM DPI
- QT scaling
- GTK scaling
- Firefox and Thunderbird 'pixels per inch' (PPI) settings.
Caveat: Because the script was originally written for early releases of KDE 5, it may not function as expected on newer versions of Plasma.
GitLab Repository: https://gitlab.com/cscs/hidpifyUse mapare to restore Manjaro package lists
Themapareutility is used to retrieve and reinstall package lists on Manjaro. It provides options to install missing packages, filter by desktop profiles, and manage how packages are marked in the system.mapare -hShare files using pico.sh SSH suite
pico.sh requires a valid keypair and an active SSH agent. It has a 25 MB limit. You must first initialize a new account via the TUI by SSHing into the service. Once initialized, you can upload files usingrsyncorscp.# Initialize account ssh pico.sh # Upload via rsync rsync FILENAME pastes.sh:/ # Upload via scp scp FILENAME pastes.sh:/Share files using snips.sh SSH suite
snips.sh requires a valid keypair and an active SSH agent. It has a 100 MB limit (1 MB per file). Files are uploaded by piping content to the SSH session. A TUI is available for modification or deletion.# Upload by piping file content cat FILENAME | ssh snips.sh # Access TUI for management ssh snips.shCreate a custom page in Docusaurus
Any React (.js, .jsx) or Markdown (.md) file created under the
src/pagesdirectory is automatically converted into a website page. The file path determines the URL route:src/pages/index.jsmaps to/src/pages/foo.mdmaps to/foosrc/pages/foo/bar.jsmaps to/foo/bar
Chroot into a system using cachy-chroot
cachy-chrootis a helper for CachyOS and Arch-based installs that automates partition discovery, BTRFS subvolume listing, and LUKS encryption mapping based onfstabandcrypttabentries.sudo -s pacman -Sy cachy-chroot cachy-chroot