Add cool chars to README, lsd alias, and Ubuntu telemetry disable script
This commit is contained in:
@@ -8,6 +8,8 @@ move/sort files in current dir to subfolder named after mime-type
|
|||||||
|
|
||||||
##toggle_touchpad
|
##toggle_touchpad
|
||||||
toggle touchpad on notebook on and off via xinput
|
toggle touchpad on notebook on and off via xinput
|
||||||
|
|
||||||
|
## Cool chars
|
||||||
Decimal Hex Char Category Name
|
Decimal Hex Char Category Name
|
||||||
9675 0x0025cb ○ Symbol, Other WHITE CIRCLE
|
9675 0x0025cb ○ Symbol, Other WHITE CIRCLE
|
||||||
9684 0x0025d4 ◔ Symbol, Other CIRCLE WITH UPPER RIGHT QUADRANT BLACK
|
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
|
10003 0x002713 ✓ Symbol, Other CHECK MARK
|
||||||
10033 0x002731 ✱ Symbol, Other HEAVY ASTERISK
|
10033 0x002731 ✱ Symbol, Other HEAVY ASTERISK
|
||||||
945 0x0003b1 α Letter, Lowercase GREEK SMALL LETTER ALPHA
|
945 0x0003b1 α Letter, Lowercase GREEK SMALL LETTER ALPHA
|
||||||
|
|
||||||
|
|
||||||
|
🥓 1f953
|
||||||
|
🍔 1f354
|
||||||
|
🐢 1f422
|
||||||
|
☠ 2620
|
||||||
|
а kyrilisches a 0430
|
||||||
|
zero width space 202b
|
||||||
|
print reverse 202e
|
||||||
|
|||||||
@@ -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
|
[[ -f /usr/share/doc/fzf/examples/completion.bash ]] && source /usr/share/doc/fzf/examples/completion.bash
|
||||||
HISTTIMEFORMAT="%F %T "
|
HISTTIMEFORMAT="%F %T "
|
||||||
shopt -s autocd
|
shopt -s autocd
|
||||||
|
alias ll='lsd -lAF'
|
||||||
|
|||||||
33
systemscripts/disable_ubuntu_telemetry.sh
Executable file
33
systemscripts/disable_ubuntu_telemetry.sh
Executable file
@@ -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."
|
||||||
Reference in New Issue
Block a user