I find that this app written by codefossa is essential for Manjaro Plasma on the Pinephone Pro. I also tried making a hibernate script on the same model but it does not seem to be useful.
-- by codefossa
I apologize for the delayed response, but in general I just grab a random desktop file and copy then alter it to what I need. I use Arch Phosh, so the GNOME category may make no sense for you, and of course I use systemd on my PPP, but feel free to make modifications.
/usr/share/applications/suspend.desktop
Code:
[Desktop Entry]
Version=1.0
Name=Suspend
Comment=Put the PC to sleep.
Exec=/usr/bin/systemctl suspend
Terminal=false
Type=Application
Icon=system-shutdown
Categories=GNOME;
StartupNotify=false
I recently dropped my copy of Mobian, and made a fresh install of the Manjaro Plasma development image on the Pinephone Pro. This had the benefit of eliminating the shutdown delay. And it included the ssh package. The Tow-boot package is already installed.
There has been a great amount of update activity on the Manjaro Plasma unstable branch recently. And the result as of this morning is usable.
The first suspend, whether by application or by timeout, still requires the sudo loginctl unlock-sessions command to be made by way of ssh from another computer. After this first intervention, the Pinephone Pro does operate correctly. The playback speedup after a suspend issue then does not typically happen. A suspend, or playing a clip on the record app when angelfish is paused, will fix the playback speed when needed.
-- by codefossa
I apologize for the delayed response, but in general I just grab a random desktop file and copy then alter it to what I need. I use Arch Phosh, so the GNOME category may make no sense for you, and of course I use systemd on my PPP, but feel free to make modifications.
/usr/share/applications/suspend.desktop
Code:
[Desktop Entry]
Version=1.0
Name=Suspend
Comment=Put the PC to sleep.
Exec=/usr/bin/systemctl suspend
Terminal=false
Type=Application
Icon=system-shutdown
Categories=GNOME;
StartupNotify=false
I recently dropped my copy of Mobian, and made a fresh install of the Manjaro Plasma development image on the Pinephone Pro. This had the benefit of eliminating the shutdown delay. And it included the ssh package. The Tow-boot package is already installed.
There has been a great amount of update activity on the Manjaro Plasma unstable branch recently. And the result as of this morning is usable.
The first suspend, whether by application or by timeout, still requires the sudo loginctl unlock-sessions command to be made by way of ssh from another computer. After this first intervention, the Pinephone Pro does operate correctly. The playback speedup after a suspend issue then does not typically happen. A suspend, or playing a clip on the record app when angelfish is paused, will fix the playback speed when needed.