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 "#!/bin/bash\n\napt-get update\napt-get upgrade -y\napt-get autoremove -y\napt-get autoclean -y" > /usr/local/bin/update_packages.sh' && sudo chmod +x /usr/local/bin/update_packages.sh

crateapt-updater.service

sudo vim /etc/systemd/system/apt-updater.service
[Unit]
Description=Update all apt packages

[Service]
Type=oneshot
ExecStart=/usr/bin/apt-get update; /usr/bin/apt-get upgrade -y; /usr/bin/apt-get autoremove -y; /usr/bin/apt-get autoclean -y

Flatapak:

create flatpak-updater.service

sudo vim /etc/systemd/system/flatpak-updater.service
[Unit]
Description=Update all flatpak apps and runtimes

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


Timer:

create apt-updater.timer

sudo vim /etc/systemd/system/apt-updater.timer
[Unit]
Description=Run apt-updater daily

[Timer]
OnCalendar=daily
Persistent=true

[Install]
WantedBy=timers.target

create flatpak-updater.timer

sudo vim /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.timer
sudo systemctl start flatpak-updater.timer
sudo systemctl enable apt-updater.timer
sudo systemctl start apt-updater.timer

check:

sudo systemctl list-timers --all