Go to Tools > Macros > Organize Macros > Basic... > My Macros.
Click New to create a macro.
Copy all contents in libreoffice-theme.bas to the new macro file and save it.
| #!/bin/bash | |
| # Interactive script used to detect any newly added or modified files on | |
| # a WD MyBook Live NAS that may have been introduced by a malicious attacker. | |
| # This is done by comparing files on root partition to original firmware. | |
| # Set to root directory of MyBook Live root partition | |
| MBL_DIR='' | |
| # Set to root directory of original MyBook Live firmware |
| #!/bin/bash | |
| # Check integrity of files after being copied and report results. | |
| set -e | |
| print_usage() { | |
| echo "Usage: $(basename $0) [options] <filename> <destination path>" | |
| echo "Options:" |
| #!/bin/bash | |
| # Fixes texture corruption in VS Code terminal after resuming from suspend. | |
| # | |
| # Place script in /lib/systemd/system-sleep/ so it can run after resuming. | |
| # | |
| # Dependencies: jq | |
| case "$1" in |