CSCS Documentation and Tools

website·Indexed 31 days ago

https://cscs.tech

A 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.

Tokens
6.1K
Snippets
46
Records
56
Agent score
52%

What's inside CSCS

  1. Overview of mapare package automation script

    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.
  2. Overview of maclean cleaning script

    maclean is a script designed for Linux users to automate relatively safe system cleaning activities.
  3. Overview of dnsdig DNS resolver measurement tool

    dnsdig is a script that utilizes the dig or drill command-line utilities to measure the response times of DNS resolvers.
  4. 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.
  5. 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/waybinder directory. Further technical details and source code are available on its GitLab page.
  6. 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/transfuse
  7. Use 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.

  8. Use mapare to restore Manjaro package lists

    The mapare utility 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 -h
  9. Share 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 using rsync or scp.
    # Initialize account
    ssh pico.sh
    
    # Upload via rsync
    rsync FILENAME pastes.sh:/
    
    # Upload via scp
    scp FILENAME pastes.sh:/
  10. 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.sh
  11. Create a custom page in Docusaurus

    Any React (.js, .jsx) or Markdown (.md) file created under the src/pages directory is automatically converted into a website page. The file path determines the URL route:

    • src/pages/index.js maps to /
    • src/pages/foo.md maps to /foo
    • src/pages/foo/bar.js maps to /foo/bar
  12. Chroot into a system using cachy-chroot

    cachy-chroot is a helper for CachyOS and Arch-based installs that automates partition discovery, BTRFS subvolume listing, and LUKS encryption mapping based on fstab and crypttab entries.
    sudo -s
    pacman -Sy cachy-chroot
    cachy-chroot