Skip to main content

Linux-Mint

First Steps

  • Spiegelserver ändern und updates installieren
    • Reboot
  • nebenher applets hinzufügen
  • transfer .config files from cloud

Packages to install:

tools:
sudo apt install -y vim htop wget git
Bitwarden:
flatpak -y install com.bitwarden.desktop
Element:
flatpak install -y im.riot.Riot
VSCodium:
flatpak install -y com.vscodium.codium
virt-manager:
sudo apt install -y virt-manager


Only for Thinkpad:

crontab eintrag:

@reboot sudo rtcwake -m mem -s 2


Mac Theme:

git clone https://git.cs30.de/MK_0x41/WhiteSur-icon-theme
git clone https://git.cs30.de/MK_0x41/McMojave-cursors
git clone https://git.cs30.de/MK_0x41/WhiteSur-gtk-theme


Go in every folder and run:

sudo ./install

For Flatpak support:

In WhiteSur-gtk-theme:

sudo flatpak override --filesystem=xdg-config/gtk-4.0

Add the Plank:

sudo apt install -y plank

ctrl + right-click to edit

To autostart add Plank to Startup-Applications


Auto Updates:

Aptoide:

update-script:

/usr/local/bin/update_packages.sh

sudo bash -c 'echo -e "#!/bin/bash\n\napt-get update\napt-get upgrade -y\napt-get autoremove -y\napt-get autoclean -y" > /usr/local/bin/update_packages.sh'

crateapt-updater.service

sudo bash -c 'echo -e "[Unit]\nDescription=Update all apt packages\n\n[Service]\nType=oneshot\nExecStart=/usr/local/bin/update_packages.sh\n\n[Install]\nWantedBy=multi-user.target" > /etc/systemd/system/update_packages.service'
[Unit]
Description=Update all apt packages

[Service]
Type=oneshot
ExecStart=/usr/local/bin/update_packages.sh

[Install]
WantedBy=multi-user.target

Flatapak:

create flatpak-updater.service

sudo bash -c 'echo -e "[Unit]\nDescription=Update all flatpak apps and runtimes\n\n[Service]\nType=oneshot\nExecStart=/usr/bin/flatpak update -y\n\n[Install]\nWantedBy=multi-user.target" > /etc/systemd/system/flatpak_updater.service'
[Unit]
Description=Update all flatpak apps and runtimes

[Service]
Type=oneshot
ExecStart=/usr/bin/flatpak update -y

[Install]
WantedBy=multi-user.target


Timer:

create apt-updater.timer

sudo bash -c 'echo -e "[Unit]\nDescription=Run update_packages daily\n\n[Timer]\nOnCalendar=daily\nPersistent=true\n\n[Install]\nWantedBy=timers.target" > /etc/systemd/system/update_packages.timer'
[Unit]
Description=Run update_packages daily

[Timer]
OnCalendar=daily
Persistent=true

[Install]
WantedBy=timers.target

create flatpak-updater.timer

sudo bash -c 'echo -e "[Unit]\nDescription=Run flatpak-updater daily\n\n[Timer]\nOnCalendar=daily\nPersistent=true\n\n[Install]\nWantedBy=timers.target" > /etc/systemd/system/flatpak_updater.timer'
[Unit]
Description=Run flatpak-updater daily

[Timer]
OnCalendar=daily
Persistent=true

[Install]
WantedBy=timers.target


Aktivierung:

sudo systemctl daemon-reload
sudo systemctl enable flatpak_updater.service
sudo systemctl start flatpak_updater.service
sudo systemctl enable flatpak_updater.timer
sudo systemctl start flatpak_updater.timer
sudo systemctl enable update_packages.service
sudo systemctl start update_packages.service
sudo systemctl enable update_packages.timer
sudo systemctl start update_packages.timer

check:

sudo systemctl list-timers --all