diff --git a/PKGBUILD b/PKGBUILD index df304df..47099bc 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -51,6 +51,6 @@ package() { install -dm755 "${pkgdir}/usr/share/doc/mx-cleanup" if [ -d help ]; then - cp help/*.html help/*.png "${pkgdir}/usr/share/doc/mx-cleanup/" 2>/dev/null || true + cp help/*.html help/*.png help/*.css "${pkgdir}/usr/share/doc/mx-cleanup/" 2>/dev/null || true fi } diff --git a/debian/install b/debian/install index 6c1b932..ea3e433 100644 --- a/debian/install +++ b/debian/install @@ -1,5 +1,6 @@ help/*.html usr/share/doc/mx-cleanup help/*.png usr/share/doc/mx-cleanup +help/*.css usr/share/doc/mx-cleanup images/mx-cleanup.png usr/share/icons/hicolor/256x256/apps mx-cleanup.desktop usr/share/applications obj-*/*.policy usr/share/polkit-1/actions diff --git a/help/Devices-and-Locations.png b/help/Devices-and-Locations.png new file mode 100644 index 0000000..3943c6c Binary files /dev/null and b/help/Devices-and-Locations.png differ diff --git a/help/Tools.png b/help/Tools.png new file mode 100644 index 0000000..a9ce373 Binary files /dev/null and b/help/Tools.png differ diff --git a/help/baob-02.png b/help/baob-02.png new file mode 100644 index 0000000..4c0455a Binary files /dev/null and b/help/baob-02.png differ diff --git a/help/baob.png b/help/baob.png index 0562f2b..a84984f 100644 Binary files a/help/baob.png and b/help/baob.png differ diff --git a/help/custom.css b/help/custom.css new file mode 100644 index 0000000..5fec1f8 --- /dev/null +++ b/help/custom.css @@ -0,0 +1,43 @@ +body { + font-family: sans-serif; + line-height: 1.5; + max-width: 62rem; + margin: 2rem auto; + padding: 0 1.25rem 2rem; + color: #202124; +} + +h1, +h2 { + color: #103c6b; +} + +h1, +.intro { + text-align: center; +} + +a { + color: #005f99; +} + +code { + background: #f1f3f4; + border-radius: 3px; + padding: 0.1rem 0.3rem; +} + +img { + display: block; + max-width: 100%; + height: auto; + margin: 1rem auto; +} + +li { + margin-bottom: 0.4rem; +} + +hr { + margin: 2rem 0; +} diff --git a/help/main-tab.png b/help/main-tab.png new file mode 100644 index 0000000..68c7b87 Binary files /dev/null and b/help/main-tab.png differ diff --git a/help/mx-cleanup.html b/help/mx-cleanup.html index ba96a25..7d55436 100644 --- a/help/mx-cleanup.html +++ b/help/mx-cleanup.html @@ -1,41 +1,78 @@ - - - + + - - HELP: MX Cleanup + + + HELP: MX Cleanup + +

HELP: MX Cleanup

-

This application offers several easy actions to check and increase hard drive space.

- - - - -

Baobab (Disk Usage Analyzer) gives a very nice graphical display of your used space.

- - - - - -
- Baobab Disk Usage Analyzer -
- -

Note that there are other cleanup applications available in the repos such as Bleachbit, but these have a significant potential to destroy an OS and should only be used by advanced users.

+ +

This application offers several easy cleaning actions to help increase and maintain free disk space.

+ +

Main tab

+ +MX Cleanup Main tab + +

Select the cleaning actions you want, then click Apply. The selected actions run right away, and if a schedule is chosen they are also repeated automatically.

+ + + +

Schedule

+ +

The default is No automatic clean. The other choices are At reboot, Daily, Weekly and Monthly. The schedule is saved when you click Apply.

+ +
+ +

Tools tab

+ +

Here you will find specialized tools that run once, when you click them.

+ +MX Cleanup Tools tab + +

Removal Tools

+ +

Remove unused WiFi drivers – removes out-of-tree (DKMS) WiFi driver packages that are installed but not in use, so they are no longer rebuilt every time a new kernel is installed. It covers the Realtek rtl8812au, rtl8814au, rtl8821au, rtl8821cu and rtl8821ce drivers and the Broadcom wl driver (broadcom-sta-dkms).

+ +

List and select kernels to remove – every kernel update leaves the previous kernel installed, so the space they use grows over time. This matters most when /boot is a small separate partition, as it is with root encryption.

+ +Kernel removal dialog + +

The Kernel currently in use cannot be removed. It is good practice to keep at least one other kernel as a fallback.

+ +

Remove MX manuals for languages other than system default – frees the space used by MX manuals and FAQ files (PDF) in languages you do not need.

+ +

Graphical Tool for Analyzing Disk Usage

+ +

Clicking Run Disk Usage Analyzer starts Baobab, which shows a graphical map of the disk space in use. When it opens it asks you to choose a starting point: a single folder or a whole device.

+ +Disk Usage Analyzer start page + +

It then shows a folder list on the left, sorted by the space each folder uses, and a rings chart on the right. The share of space used is shown as a percentage in the list.

+ +Disk Usage Analyzer folder list and rings chart + +

Clicking a folder moves into it and refreshes the list and the chart. Hovering over a segment of the chart shows the folder or file it stands for and its size.

+ +Disk Usage Analyzer showing folder details + +

Right-click a folder to Open Externally (in the file manager) or Move to Trash.

+ +
+ +

A word of caution

+ +

There are other cleanup applications available in the repos, such as BleachBit, but these have a significant potential to damage a Linux system and should only be used by advanced users.

diff --git a/help/remove-kernels.png b/help/remove-kernels.png new file mode 100644 index 0000000..4619df4 Binary files /dev/null and b/help/remove-kernels.png differ