I’ve been using i3 for a while now, but the xfce power manager doesn’t work outside the desktop environment, is there any alternative you can recommend? It doesn’t matter if it is a terminal based or graphical interface program, I just need something that can suspend the computer after a certain time or lock it when the laptop is closed

  • boredsquirrel@slrpnk.net
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    4 months ago

    Also adding auto-cpufreq, ryzenadj, tuned.

    But this depends on your CPU used.

    TLP is good, tuned may be better?

    TLP has a common USB lost issue, that is mitigated by disabling USB-autosuspend in the config. TLP config is found here

    And if you need a tool for warning about AC disconnect, you can use a systemd service.

    cat > /usr/local/bin/check_ac.sh < /etc/systemd/user/ac-warning.service <