Power Suite Ubuntu x86/Q&A
From ESS-WIKI
Contents
General
Image Manager
OS Enhancement Utility
How to restore swap size after enable Hibernate
When using the hibernate feature, a swap space larger than the size of the memory is allocated on the disk to store the current state of the system during hibernation.
If you no longer need to use the hibernate feature and wish to release the swap space on the disk, you can execute the following commands.
hint: Change the swap space to the system's default 2GB.
Steps:
$ sudo swapoff /swapfile
$ sudo dd if=/dev/zero of=/swapfile bs=1M count=$((2 * 1000)) status=progress
$ sudo chmod 600 /swapfile
$ sudo mkswap /swapfile
$ sudo swapon /swapfile
Lockdown Utility
How to escape shell_launcher mode without using breakout key
It can also escape shell_launcher mode by using remote ssh.
1. Connect ssh to target PC.
$ ssh XXX@XXX.XXX.XXX.XXX
2. Disable shell_launcher service manually, please replace $application
with the name of your application.
$ sudo snap set $application daemon=false
$ sudo snap set ubuntu-frame daemon=false
$ sudo reboot
3. Then you will be back to the standard ubuntu desktop.