No Sleep is a robust and open-source power management application tailored for Linux users. With No Sleep, you gain the ability to prevent any Linux desktop environment from entering sleep mode, ensuring uninterrupted performance when needed. The application leverages Gtk.Application.inhibit, which internally utilizes org.freedesktop.portal.Inhibit, making it compatible across desktop environments that support this framework. This seamless integration across DEs enhances the utility and effectiveness of No Sleep, providing users with a reliable solution for managing sleep modes on their Linux systems.
How to Install No Sleep on Ubuntu
To install No Sleep on your Ubuntu Linux system, open the terminal application and run below No Sleep flatpak install command. It will install the latest No Sleep on your system.
flatpak install flathub io.github.sigmasd.nosleep
And open the GUI using below command.
flatpak run io.github.sigmasd.nosleep
It comes with simple GUI , just click the On and Off to enable and disable the app.
Note: If you don’t already have flatpak and flathub installed,then install them on your system using the commands provided below. After the installation, restart your system.
sudo apt install flatpak
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
You can also uninstall it using below commands.
flatpak uninstall io.github.sigmasd.nosleep
[OR]
sudo flatpak uninstall io.github.sigmasd.nosleep