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

help-circle




  • Right so just installed xscreensaver - automatic blanking and locking is indeed broken BUT it does display all the pretty animations just fine! (at least on Sway)
    Don’t really have time to mess around with it but maybe try figuring out which mechanism is used for screen locking in your environment (in Sway’s case it’s swayidle) and get it to start xscreensaver right before calling the real locker program?
    BTW you can get xscreensaver-settings to come up by unsetting the WAYLAND_DISPLAY variable:

    env --unset=WAYLAND_DISPLAY xscreensaver-settings
    

    Philosophical BS: I don’t think it’s correct to say that Wayland doesn’t support screen savers, but rather that it doesn’t support XScreenSaver, or, more accurately, the mechanisms it uses for screen locking and idle-detection.
    As others have pointed out, equivalent functionality has already been implemented and is used by various screen lockers. What appears to be missing is something to take this functionality, and display an animation instead of just locking the screen.
    I noticed that all of XScreenSaver’s animations are actually separate binaries in /usr/lib/screensaver/ so we basically need a locker that speaks Wayland’s locking protocol, but also takes and runs those binaries in full screen mode.
    Or maybe XScreenSaver’s dev can be convinced to add support once the protocols are stable?



  • Might sound kinda dumb, but try dumping a bucket of (ice) cold water on your head.
    The trick is to dump all the water at once and not gradually to get your body into a “I’m being attacked by lions!” state.
    This is for instant relief. For gradual improvement try increasing your daily water intake - set reminders to drink a glass or two during the day and drink right before going to sleep and right after waking up.
    Source: inherited migraines from my grandma and started getting them regularly around my teens.
    Doing the above has made me nearly migraine-free except for when there’s drastic weather changes (when I get them with auras and everything 😵‍💫).
    Good luck!


  • Maybe rebuilding the ramdisk failed during the original upgrade?
    One of the post-install stages after upgrading the kernel is rebuilding the initramfs - a tiny environment for bootstrapping the main OS.
    If you trigger it manually with mkinitcpio --allpresets you’ll notice it has fancy colorful output, with clearly visible warnings/errors.
    However when invoked as part of an upgrade this coloring is removed, making errors difficult to spot.
    I had this stage randomly fail a few times, resulting in an unbootable system like you described - solution was to just trigger a manual rebuild or reinstall the kernel with pacman -U.
    It’s possible that this is what actually fixed things when you downgraded the kernel.