logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

caffeinate - inhibit desktop idleness while a command runs

Authors

       Reuben Thomas <rrt@sc3d.org>

                                                  January 2015                                     CAFFEINATE(1)

Description

       Caffeinate  runs  the  given  command and prevents the desktop becoming idle while it is run, hence stops
       screen savers or power-saving activating even if the machine is not being used.

       It is usually more convenient to use the fully-automatic caffeine(1); caffeinate may be useful when it is
       impractical or impossible to run a program in full-screen mode, or to prevent automatic  suspend  kicking
       in during a long-running unattended command, such as a system update.

       Note,  when  using  caffeinate with cron(1) or another task scheduler, it is important to ensure that the
       DISPLAY environment variable is correctly set for the task. For many setups, DISPLAY=:0 (or whatever your
       current value of DISPLAY is) will work; for cron, simply prepend this setting to the command.

Name

       caffeinate - inhibit desktop idleness while a command runs

See Also

caffeine(1), caffeine-indicator(1)

Synopsis

caffeinate COMMAND [ARGUMENT...]

See Also