From 6ef0ef29a18a6fdbaaf5eb900be3c506ea7d8183 Mon Sep 17 00:00:00 2001 From: Tobias Kessels Date: Wed, 1 Oct 2025 09:52:58 +0200 Subject: [PATCH] Add cool chars to README, lsd alias, and Ubuntu telemetry disable script --- collected/README.md | 11 ++++++++ config/bash_aliases | 1 + systemscripts/disable_ubuntu_telemetry.sh | 33 +++++++++++++++++++++++ 3 files changed, 45 insertions(+) create mode 100755 systemscripts/disable_ubuntu_telemetry.sh diff --git a/collected/README.md b/collected/README.md index c4a3ce6..7b746cb 100644 --- a/collected/README.md +++ b/collected/README.md @@ -8,6 +8,8 @@ move/sort files in current dir to subfolder named after mime-type ##toggle_touchpad toggle touchpad on notebook on and off via xinput + +## Cool chars Decimal Hex Char Category Name 9675 0x0025cb ○ Symbol, Other WHITE CIRCLE 9684 0x0025d4 ◔ Symbol, Other CIRCLE WITH UPPER RIGHT QUADRANT BLACK @@ -44,3 +46,12 @@ toggle touchpad on notebook on and off via xinput 10003 0x002713 ✓ Symbol, Other CHECK MARK 10033 0x002731 ✱ Symbol, Other HEAVY ASTERISK 945 0x0003b1 α Letter, Lowercase GREEK SMALL LETTER ALPHA + + +🥓 1f953 +🍔 1f354 +🐢 1f422 +☠ 2620 +а kyrilisches a 0430 +zero width space 202b +print reverse 202e diff --git a/config/bash_aliases b/config/bash_aliases index 0fb94b9..a0e082f 100644 --- a/config/bash_aliases +++ b/config/bash_aliases @@ -15,3 +15,4 @@ alias pushalert='pushover --title "$([ $? = 0 ] && echo terminal || echo error)" [[ -f /usr/share/doc/fzf/examples/completion.bash ]] && source /usr/share/doc/fzf/examples/completion.bash HISTTIMEFORMAT="%F %T " shopt -s autocd +alias ll='lsd -lAF' diff --git a/systemscripts/disable_ubuntu_telemetry.sh b/systemscripts/disable_ubuntu_telemetry.sh new file mode 100755 index 0000000..baa643f --- /dev/null +++ b/systemscripts/disable_ubuntu_telemetry.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +# Check if script is run as root +if [ "$EUID" -ne 0 ]; then + echo "Please run this script with sudo." + exit 1 +fi + +# Explicitly decline data collection for ubuntu-report (if it was not removed) +echo "Declining data collection for ubuntu-report..." +if command -v ubuntu-report &> /dev/null; then + ubuntu-report -f send no +fi + +# Remove telemetry packages +echo "Removing telemetry packages..." +sudo apt purge -y ubuntu-report popularity-contest apport whoopsie apport-symptoms + +# Prevent packages from being reinstalled +echo "Preventing telemetry packages from being reinstalled..." +sudo apt-mark hold ubuntu-report popularity-contest apport whoopsie apport-symptoms + +# Block telemetry domains +echo "Blocking telemetry domains..." +sudo bash -c 'echo "127.0.0.1 www.metrics.ubuntu.com" >> /etc/hosts' +sudo bash -c 'echo "127.0.0.1 metrics.ubuntu.com" >> /etc/hosts' +sudo bash -c 'echo "127.0.0.1 www.popcon.ubuntu.com" >> /etc/hosts' +sudo bash -c 'echo "127.0.0.1 popcon.ubuntu.com" >> /etc/hosts' + +# Disable error reporting in settings (requires GUI interaction) +echo "To fully disable telemetry, ensure 'Send error reports to Canonical' is set to 'Never' in Settings → Privacy → Diagnostics." + +echo "Telemetry disabling completed." \ No newline at end of file