Power Suite Ubuntu x86/Q&A

From ESS-WIKI
Revision as of 07:45, 19 March 2024 by Ray.zheng (talk | contribs)
Jump to: navigation, search

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.

Usage steps:

  1. sudo swapoff /swapfile
  2. sudo dd if=/dev/zero of=/swapfile bs=1M count=$((2 * 1000)) status=progress
  3. sudo chmod 600 /swapfile
  4. sudo mkswap /swapfile
  5. 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.