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 apt-transport-https
Bitwarden:
flatpak -y install com.bitwarden.desktop
Element:
sudo apt install -y wget apt-transport-https; \‍
sudo wget -O /usr/share/keyrings/element-io-archive-keyring.gpg https://packages.element.io/debian/element-io-archive-keyring.gpg; \‍
echo "deb [signed-by=/usr/share/keyrings/element-io-archive-keyring.gpg] https://packages.element.io/debian/ default main" | sudo tee /etc/apt/sources.list.d/element-io.list; \
sudo apt update; \
sudo apt install element-desktop;
VSCodium:
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg \
    | gpg --dearmor \
    | sudo dd of=/usr/share/keyrings/vscodium-archive-keyring.gpg

echo 'deb [ signed-by=/usr/share/keyrings/vscodium-archive-keyring.gpg ] https://download.vscodium.com/debs vscodium main' \
    | sudo tee /etc/apt/sources.list.d/vscodium.list
sudo apt update && sudo apt install -y codium
DistroBox - With UI:

Github: https://github.com/89luca89/distrobox?tab=readme-ov-file#installation

UI: 

flatpak install -y io.github.dvlv.boxbuddyrs

AMD GPU:

    CoreCtrl installieren:

    sudo add-apt-repository ppa:ernstp/mesarc
    sudo apt update
    sudo apt install corectrl

     

    Radeon Profile installieren:

    sudo add-apt-repository ppa:radeon-profile/stable
    sudo apt update
    sudo apt install radeon-profile

     

    My used packages:
    #Sublime
    wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/sublimehq-archive.gpg > /dev/null; \
    echo "deb https://download.sublimetext.com/ apt/stable/" | sudo tee /etc/apt/sources.list.d/sublime-text.list; \
    sudo apt update; \
    sudo apt install -y sublime-text;
    
    #Signal
    
    wget -O- https://updates.signal.org/desktop/apt/keys.asc | gpg --dearmor > signal-desktop-keyring.gpg; \
    cat signal-desktop-keyring.gpg | sudo tee /usr/share/keyrings/signal-desktop-keyring.gpg > /dev/null; \
    
    echo 'deb [arch=amd64 signed-by=/usr/share/keyrings/signal-desktop-keyring.gpg] https://updates.signal.org/desktop/apt xenial main' |\
      sudo tee /etc/apt/sources.list.d/signal-xenial.list; \
    
    sudo apt update && sudo apt install -y signal-desktop;
    

    QR-Code Generator and Reader:
    sudo apt install -y qtqr

    #FreeCAD
    

    Mac Theme:

    install script:

    https://git.cs30.de/MK_0x41/install-mac-theme-mint

    git clone https://git.cs30.de/MK_0x41/install-mac-theme-mint
    
    sudo ./INSTALL.sh
    

    Manuell

    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 cp -r /usr/share/themes/WhiteSur-Dark /home/mk_0x41/.themes/
    sudo flatpak override --filesystem=/home/mk_0x41/.themes/WhiteSur-Dark
    
    

    Add the Plank:

    sudo apt install -y plank synapse
    
    
    

    ctrl + right-click to edit

    To autostart add Plank to Startup-Applications

    Disable C6 state for AMD Errors:

    https://github.com/ZanMax/amd-states-linux

     

    Auto Updates:

    Aptoide:

    update-script:

    /usr/local/bin/update_packages.sh

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

    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]\nOnBootSec=5min\nOnUnitActiveSec=24h\nPersistent=true\n\n[Install]\nWantedBy=timers.target" > /etc/systemd/system/update_packages.timer'
    
    
    [Unit]
    Description=Run update_packages daily
    
    [Timer]
    OnBootSec=5min
    OnUnitActiveSec=24h
    Persistent=true
    
    [Install]
    WantedBy=timers.target
    
    
    

    create flatpak-updater.timer

    sudo bash -c 'echo -e "[Unit]\nDescription=Run flatpak_updater daily\n\n[Timer]\nOnBootSec=5min\nOnUnitActiveSec=24h\nPersistent=true\n\n[Install]\nWantedBy=timers.target" > /etc/systemd/system/flatpak_updater.timer'
    
    
    [Unit]
    Description=Run flatpak-updater daily
    
    [Timer]
    OnBootSec=5min
    OnUnitActiveSec=24h
    Persistent=true
    
    [Install]
    WantedBy=timers.target
    
    

    Aktivierung:

    sudo systemctl daemon-reload
    sudo systemctl enable --now flatpak_updater.timer
    sudo systemctl enable --now update_packages.timer
    
    

    check:

    sudo systemctl list-timers --all
    
    

    Wireguard VPN

    Um sich mit einem WireGuard VPN-Server unter Linux Mint zu verbinden, müssen Sie WireGuard installieren und anschließend die bereitgestellte .conf-Datei verwenden. Hier sind die Schritte:

    1. WireGuard installieren:

      Öffnen Sie ein Terminal und führen Sie die folgenden Befehle aus:

      sudo apt update; \
      sudo apt install -y wireguard resolvconf
      
      
      
    2. .conf Datei kopieren:

      Kopieren Sie die bereitgestellte .conf-Datei in das /etc/wireguard/ Verzeichnis. Angenommen, Ihre Datei heißt wg0.conf und befindet sich in Ihrem Home-Verzeichnis:

      sudo cp ~/<device-name>.conf /etc/wireguard/<con. name>.conf
      
      
      
      

      Stellen Sie sicher, dass die Berechtigungen korrekt gesetzt sind:

      sudo chmod o+r /etc/wireguard/
      
      
      
      
    3. Verbindung herstellen:

      Verwenden Sie den folgenden Befehl, um eine Verbindung zum VPN-Server herzustellen:

      sudo wg-quick up wg0
      
      
      

      (wobei wg0 der Name Ihrer Konfigurationsdatei ohne die .conf-Erweiterung ist)

    4. Verbindung trennen:

      Wenn Sie die Verbindung trennen möchten, verwenden Sie:

      sudo wg-quick down wg0
      
      
      
    5. Optional (Automatischer Start):

      Wenn Sie möchten, dass WireGuard automatisch beim Booten startet, können Sie es mit systemd aktivieren:

      sudo systemctl enable wg-quick@wg0
      
      
      

    Denken Sie daran, dass Sie die entsprechenden Firewall-Regeln und Routing-Einstellungen in Ihrer .conf-Datei haben müssen, damit alles ordnungsgemäß funktioniert.

    Wiregurad-GUI

    install Wireguard aplett on Linux MINT

    1. PolicyKit-Regel erstellen:

      Erstellen Sie eine neue PolicyKit-Regel. Sie können einen Editor Ihrer Wahl verwenden, hier verwenden wir nano:

      sudo vim /etc/polkit-1/localauthority/50-local.d/wg-quick.pkla
      
      
      
    2. Inhalt der Regel hinzufügen:

      Fügen Sie den folgenden Inhalt in die Datei ein:

      [Allow wg-quick for yourusername]
      Identity=unix-user:yourusername
      Action=org.freedesktop.policykit.exec
      ResultAny=yes
      ResultInactive=yes
      ResultActive=yes
      
      

      Ersetzen Sie yourusername durch Ihren tatsächlichen Benutzernamen.

    3. Änderungen speichern und beenden:

      Speichern Sie die Datei und beenden Sie den Editor.