Passionate about freedom, libre software/hardware, environmental sustainability, and doing the right thing even when it’s inconvenient.

$argon2id$v=19$m=64,t=512,p=2$Nf69b65zUhoPFyTI3rDb1w$zEdygG94suabNqSOwda3Mg

  • 0 Posts
  • 7 Comments
Joined 2 years ago
cake
Cake day: June 15th, 2023

help-circle
  • jcs@lemmy.worldtoHumor@lemmy.worldYes, but
    link
    fedilink
    English
    arrow-up
    23
    ·
    7 days ago

    My theory is that people who often have dirty glasses have likely worn glasses for most of their lives, because neuroplasticity has kicked in and they don’t notice the smudges until it gets exceptionally bad.


  • jcs@lemmy.worldtoProgrammer Humor@programming.devPeak homelabbing
    link
    fedilink
    English
    arrow-up
    10
    ·
    edit-2
    12 days ago

    Disable suspend when the laptop lid is closed:

    sudo sed -i 's/#HandleLidSwitch=suspend/HandleLidSwitch=ignore/g' /etc/systemd/logind.conf
    sudo sed -i 's/#HandleLidSwitchExternalPower=suspend/HandleLidSwitchExternalPower=ignore/g' /etc/systemd/logind.conf
    sudo systemctl restart systemd-logind
    

    If you are in a TTY, you can blank the screen before closing the lid to prevent burn-in. After running this, come back later and press a key to turn the screen on again.

    alias blankscreen='setterm --blank=force; read ans; setterm --blank=poke'






  • I wrote this suite of scripts a few years ago and still use them to:

    1. Boot into Ventoy and select a Debian Live environment
    2. Optional: connect a storage device (local partition, USB drive, etc) for persistent storage
    3. Modify cfg/cfg.sh if it’s the first time using the tool
    4. Run setup.sh to configure the environment into a familiar/productive state

    The tools are flexible on hardware (more directed toward x64 systems at this time), and I (almost) never have to worry about OS upgrades. Just boot into a newer live OS image once it’s ready. They are still a work-in-progress and still have a few customizations that I should abstract for more general use, but it’s FOSS in case anyone has merge requests, issues, suggestions, etc.