Horje
manjaro set to never sleep Code Example
manjaro set to never sleep
Disable sleep
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Enable/re-enable sleep
sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

From man systemctl
mask NAME...  
           Mask one or more units, as specified on the command line. This
           will link these unit files to /dev/null, making it impossible to
           start them. This is a stronger version of disable, since it
           prohibits all kinds of activation of the unit, including
           enablement and manual activation. Use this option with care. This
           honors the --runtime option to only mask temporarily until the
           next reboot of the system. The --now option may be used to ensure
           that the units are also stopped. This command expects valid unit
           names only, it does not accept unit file paths.

 unmask NAME...
           Unmask one or more unit files, as specified on the command line.
           This will undo the effect of mask. This command expects valid
           unit names only, it does not accept unit file paths.




Shell

Related
proxmox linux type Code Example proxmox linux type Code Example
activate debug bash Code Example activate debug bash Code Example
crosh hacking commands Code Example crosh hacking commands Code Example
v4l2tools sudo apt install ubuntu Code Example v4l2tools sudo apt install ubuntu Code Example
git ignoring vendor folder inside public also Code Example git ignoring vendor folder inside public also Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10