Nyrna
Nyrna allows the user to pause any game or application on their PC.
The reason for this project is to have a function on PC similar to the incredibly useful sleep/suspend function found in consoles like the Nintendo Switch and Sony PlayStation; suspend your game (and its resource usage) at any time, and resume whenever you wish - at the push of a button.
That said this can be used to pause normal, non-game applications as well. For example: while doing a long 3D render, or maybe a video encoding job, the CPU and GPU resources are being hogged by said task - maybe for hours - when you would like to use the system for something else. With Nyrna you can pause that program, freeing up the CPU and GPU resources (not RAM) until the process is resumed, without losing where you were.
Nyrna currently works on Linux. Windows support is in progress.
Installing
Arch / Manjaro
A package is available in the AUR.
Gentoo
A package is available in the edgets overlay.
layman --add edgets && emerge --ask nyrna-bin
Any distro: portable version
Requirements:
libappindicator3
gtk+3.0
zenity
Example:
- Debian / Ubuntu:
sudo apt install libappindicator3-1 gtk+3.0 zenity
Setup portable version:
- Download Nyrna.
- Place wherever you would like the application to live (eg: ~/Applications)
- Make sure it is set as executable and then click to run - it will run in your system tray.
Usage
- Press the
Pause
key on your keyboard to suspend the active, foreground application. Press again to resume the same application regardless of the current focus.
- To change the hotkey: Right click tray icon ->
Change Hotkey
Disclaimer
I have not had any issues using Nyrna, however keep in mind it is possible something could go wrong with a suspend. So please remember to always save your work and games.
In case of issue
I haven't seen this issue, however if at any time the hotkey isn't working to resume, you can always manually find your process in task manager and resume or send signal SIGCONT / CONT:
Planned Features
Run in system tray with hotkey configured by app ✔
Package(s) for ease of use ✔
Portable executable ✔
Arch User Repository ✔
Simple way to customize hotkey ✔
- Windows support
FAQ
Can I suspend to disk so that I can restore after reboot / free up RAM usage / etc?
Unfortunately no. CRUI looks very promising to allow us to do this (on linux), however it does not currently support suspending GUI applications.