Compare commits
104
Commits
main
...
da0367a43c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
da0367a43c
|
||
|
|
3a9cf54b2f
|
||
|
|
4f87611c66
|
||
|
|
ace5cfee5c
|
||
|
|
858b3a4cb5
|
||
|
|
b92c49048b
|
||
|
|
394746f658
|
||
|
|
d86a1dde3d
|
||
|
|
22b4ca5c9e
|
||
|
|
c48ebeda9c
|
||
|
|
b74436b7c0
|
||
|
|
13a40d5ac5
|
||
|
|
f1ba8513fc
|
||
|
|
3d06340314
|
||
|
|
c2611debfa
|
||
|
|
9cb077e4fb
|
||
|
|
5c4b9ad08d
|
||
|
|
5bc8227773
|
||
|
|
0c0b6da0ea
|
||
|
|
7c2ca5b6b2
|
||
|
|
4b0047484d
|
||
|
|
d5b1da9745
|
||
|
|
dc8c4c9062
|
||
|
|
aa68e0e1f7
|
||
|
|
bff9822c86
|
||
|
|
1aa3a164ab
|
||
|
|
742cee14f1
|
||
|
|
532d34a6ae
|
||
|
|
61034975db
|
||
|
|
d4de7d0056
|
||
|
|
93f0757f49
|
||
|
|
697196c99b
|
||
|
|
a3630b9d28
|
||
|
|
176240f3b7
|
||
|
|
7af43e0850
|
||
|
|
5b3fd6848d
|
||
|
|
ef08a0221b
|
||
|
|
29948841cd
|
||
|
|
cf24a033da
|
||
|
|
4516129bec
|
||
|
|
7176a8d796
|
||
|
|
01e7b63c7f
|
||
|
|
934dbd1ea6
|
||
|
|
fc6385d400
|
||
|
|
6fdd50341c
|
||
|
|
aab24c5d1d
|
||
|
|
5c4097bb6e
|
||
|
|
6885535b72 | ||
|
|
0c9cc435d5 | ||
|
|
1b1be169cf | ||
|
|
07fe48a33e | ||
|
|
13da1e980b | ||
|
|
b13a0831fa | ||
|
|
f60be958f6 | ||
|
|
b8c856a7d3 | ||
|
|
94996e1bb8 | ||
|
|
2481f515b8 | ||
|
|
39b9de3443 | ||
|
|
eca438f7cb | ||
|
|
ddf8585a16 | ||
|
|
cb89d422e7 | ||
|
|
8c1b7168bc | ||
|
|
f8cbcc1cc6 | ||
|
|
36e56b67b7 | ||
|
|
7c4db527cc | ||
|
|
a12f135d3f | ||
|
|
12240a0ec5 | ||
|
|
4a77bb10d6 | ||
|
|
fbea2fef38 | ||
|
|
6fbc4ff9d0 | ||
|
|
6f67a5b034 | ||
|
|
9b7f391cb0 | ||
|
|
7290ffdc4a | ||
|
|
1dfd42dd1a | ||
|
|
82f23a9651 | ||
|
|
c1873b34bf | ||
|
|
b8efa35307 | ||
|
|
778c845db1 | ||
|
|
bf976533ba | ||
|
|
504c1f0494 | ||
|
|
5f6851c65e | ||
|
|
9d6ed39b5e | ||
|
|
468b900561 | ||
|
|
f0ee6a0dce | ||
|
|
ddc142da78 | ||
|
|
33d5c78cd5 | ||
|
|
0aeb0fd221 | ||
|
|
9fdb2c4982 | ||
|
|
21115bbcd1 | ||
|
|
3f1a3fb554 | ||
|
|
d2579c8f45 | ||
|
|
70d6d09c65 | ||
|
|
23494013c8 | ||
|
|
173f9ecbe4 | ||
|
|
2c70d0a709 | ||
|
|
0cf512fc4f | ||
|
|
7f7431029f | ||
|
|
cef7039f29 | ||
|
|
338393580a | ||
|
|
60191445bc | ||
|
|
9c1e62dfe8 | ||
|
|
6fbc98bc98 | ||
|
|
f9c892baee | ||
|
|
51a7a9a927 |
@@ -77,3 +77,4 @@ fabric.properties
|
||||
# Android studio 3.1+ serialized cache file
|
||||
.idea/caches/build_file_checksums.ser
|
||||
|
||||
.vscode
|
||||
|
||||
Executable
+15
@@ -0,0 +1,15 @@
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "❌ The Skript has to be run as root!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Update
|
||||
apt update && apt upgrade -y
|
||||
|
||||
# Install first important Packages
|
||||
apt install ca-certificates curl git gpg imagemagick lsb-release network-manager openssh-server rsync sudo wget
|
||||
|
||||
sudo usermod -aG sudo $USER
|
||||
sudo usermod -aG sudo root
|
||||
|
||||
echo "Now, you have to relogin for the next scripts to work!"
|
||||
Executable
+27
@@ -0,0 +1,27 @@
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "❌ The Skript has to be run as root!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
apt modernize-sources
|
||||
# Add 32bit-Architecture
|
||||
#dpkg --add-architecture i386
|
||||
|
||||
# Install gitea Keyrings
|
||||
sudo curl https://gitea.creative-dragonslayer.de/api/packages/Linuxapps/debian/repository.key -o /etc/apt/keyrings/gitea-Linuxapps.asc
|
||||
sudo curl https://gitea.creative-dragonslayer.de/api/packages/Mirror/debian/repository.key -o /etc/apt/keyrings/gitea-Mirror.asc
|
||||
|
||||
# Install my apt-sources
|
||||
rm /etc/apt/sources.list
|
||||
rm /etc/apt/sources.list~
|
||||
rm /etc/apt/sources.list.bak
|
||||
rm -r /etc/apt/sources.list.d
|
||||
mkdir -p /etc/apt/sources.list.d
|
||||
cp ./data/apt/sources.list.d/* /etc/apt/sources.list.d/
|
||||
|
||||
# Install my apt-pinning
|
||||
rm -r /etc/apt/preferences.d
|
||||
mkdir -p /etc/apt/preferences.d
|
||||
cp ./data/apt/preferences.d/* /etc/apt/preferences.d/
|
||||
|
||||
apt update
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
sh <(curl -L https://raw.githubusercontent.com/LinuxBeginnings/Debian-Hyprland/main/auto-install.sh)
|
||||
Executable
+132
@@ -0,0 +1,132 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "❌ The Skript has to be run as root!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install XanModKernel
|
||||
wget -qO - https://dl.xanmod.org/archive.key | gpg --dearmor -vo /etc/apt/keyrings/xanmod-archive-keyring.gpg
|
||||
echo "deb [signed-by=/etc/apt/keyrings/xanmod-archive-keyring.gpg] http://deb.xanmod.org $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/xanmod-release.list
|
||||
apt update && apt install linux-xanmod-x64v3
|
||||
|
||||
# Install apt-Packages
|
||||
apt install -y 7zip
|
||||
apt install -y adb amberol apparmor apparmor-notify apparmor-profiles apparmor-profiles-extra apparmor-utils aptitude apt-listbugs apt-listchanges
|
||||
apt install -y baobab bat bleachbit blueman bluetooth bluez bruno btop
|
||||
apt install -y cava clamav clamav-daemon clamav-docs clamav-freshclam codium cpupower-gui cryptomator
|
||||
apt install -y dconf-editor debian-goodies
|
||||
apt install -y easyeffects
|
||||
apt install -y fastfetch ffmpeg file-roller firmware-linux firmware-linux-nonfree firmware-misc-nonfree flameshot flatpak flatseal floorp fragments fzf
|
||||
apt install -y gameconqueror gamemode gamescope gimp gnome-calculator gnome-decoder gnome-disk-utility gnome-firmware gnome-font-viewer gnome-keyring gnome-logs gnome-snapshot gnome-system-monitor gnome-text-editor grim
|
||||
apt install -y heroic hunspell hunspell-de-de-frami
|
||||
apt install -y impression input-remapper irqbalance
|
||||
# j
|
||||
apt install -y keepassxc
|
||||
apt install -y libreoffice libreoffice-gtk4 libreoffice-l10n-de localsend loupe lsd lutris
|
||||
apt install -y man mangoapp mangohud mesa-utils mesa-vulkan-drivers
|
||||
apt install -y network-manager-gnome nodejs nwg-displays nwg-look
|
||||
apt install -y obfuscate openrgb
|
||||
apt install -y pipewire pipewire-pulse plymouth plymouth-themes prismlauncher protontricks
|
||||
# q
|
||||
apt install -y radeontop remmina resources rfkill ripgrep rpi-imager
|
||||
apt install -y sddm simple-scan sl slurp steam-devices swappy swaybg systemd-timesyncd
|
||||
apt install -y tar tealdeer timeshift thunar topgrade tree
|
||||
apt install -y unrar unzip
|
||||
apt install -y vesktop vlc vlc-data vlc-l10n vlc-plugin-access-extra vlc-plugin-base vlc-plugin-notify vlc-plugin-pipewire vlc-plugin-qt vlc-plugin-video-output
|
||||
apt install -y wayland-utils wine winetricks wireplumber wl-clipboard
|
||||
apt install -y xdg-user-dirs
|
||||
apt install -y yazi
|
||||
apt install -y zram-tools zsh
|
||||
|
||||
# TODO PDF-Editor finden
|
||||
|
||||
# Enable Services
|
||||
sudo systemctl enable apparmor
|
||||
sudo systemctl start apparmor
|
||||
|
||||
# Set Default Apps
|
||||
xdg-mime default org.gnome.Loupe.desktop image/jpeg
|
||||
xdg-mime default org.gnome.Loupe.desktop image/png
|
||||
|
||||
xdg-mime default io.bassi.Amberol.desktop audio/mpeg
|
||||
xdg-mime default io.bassi.Amberol.desktop audio/x-wav
|
||||
xdg-mime default io.bassi.Amberol.desktop audio/flac
|
||||
xdg-mime default io.bassi.Amberol.desktop audio/ogg
|
||||
|
||||
xdg-mime default org.gnome.TextEditor.desktop text/plain
|
||||
xdg-mime default org.gnome.TextEditor.desktop text/x-log
|
||||
xdg-mime default org.gnome.TextEditor.desktop text/markdown
|
||||
|
||||
# Set plymout-Theme
|
||||
sudo plymouth-set-default-theme -R solar
|
||||
|
||||
sudo update-initramfs -u
|
||||
sudo update-grub
|
||||
|
||||
# Add flathub
|
||||
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
# Install Docker
|
||||
# Add Docker's official GPG key:
|
||||
#sudo install -m 0755 -d /etc/apt/keyrings
|
||||
#sudo curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc
|
||||
#sudo chmod a+r /etc/apt/keyrings/docker.asc
|
||||
|
||||
# Add the repository to Apt sources:
|
||||
#sudo tee /etc/apt/sources.list.d/docker.sources <<EOF
|
||||
#Types: deb
|
||||
#URIs: https://download.docker.com/linux/debian
|
||||
#Suites: $(. /etc/os-release && echo "$VERSION_CODENAME")
|
||||
#Components: stable
|
||||
#Architectures: $(dpkg --print-architecture)
|
||||
#Signed-By: /etc/apt/keyrings/docker.asc
|
||||
#EOF
|
||||
|
||||
#sudo apt update
|
||||
|
||||
#sudo apt install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
|
||||
|
||||
# Install Spotify
|
||||
curl -sS https://download.spotify.com/debian/pubkey_5384CE82BA52C83A.asc | gpg --dearmor --yes -o /etc/apt/trusted.gpg.d/spotify.gpg
|
||||
echo "deb https://repository.spotify.com stable non-free" | tee /etc/apt/sources.list.d/spotify.list
|
||||
apt update && apt install spotify-client
|
||||
|
||||
cp ./data/usr/share/applications/* /usr/share/applications
|
||||
|
||||
# Install Waydroid
|
||||
curl -s https://repo.waydro.id | bash
|
||||
apt install waydroid
|
||||
systemctl enable --now waydroid-container
|
||||
|
||||
# Ollama
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
# TODO Anpassen des Speicherorts der Models
|
||||
|
||||
# OpenDeck
|
||||
curl -sSL https://raw.githubusercontent.com/nekename/OpenDeck/main/install_opendeck.sh | bash
|
||||
|
||||
# AM - AppImage - Application Manager
|
||||
curl -s -Lo ~/AM-INSTALLER https://raw.githubusercontent.com/ivan-hc/AM/main/AM-INSTALLER && chmod a+x ~/AM-INSTALLER && ~/AM-INSTALLER && rm ~/AM-INSTALLER
|
||||
|
||||
# auto-cpufreq
|
||||
git clone https://github.com/AdnanHodzic/auto-cpufreq.git
|
||||
cd auto-cpufreq && sudo ./auto-cpufreq-installer
|
||||
|
||||
auto-cpufreq --install
|
||||
|
||||
# Qemu, Virtual Machine Install
|
||||
if [ $(grep -Eoc '(vmx|svm)' /proc/cpuinfo) -gt 0 ]; then
|
||||
apt install -y qemu-system-x86 qemu-utils libvirt-daemon-system libvirt-clients virt-manager
|
||||
systemctl enable --now libvirtd.service
|
||||
|
||||
usermod -aG libvirt "$USER"
|
||||
|
||||
virsh net-start default
|
||||
virsh net-autostart default
|
||||
else
|
||||
echo "No virtualisation Support. Check BIOS for Intel VT-x, Intel Virtualization Technology, AMD-V, or SVM Mode."
|
||||
fi
|
||||
|
||||
# RUN Linutil
|
||||
curl -fsSL https://christitus.com/linux | sh
|
||||
Executable
+80
@@ -0,0 +1,80 @@
|
||||
#!/bin/bash
|
||||
|
||||
GRUB_CFG="/etc/default/grub"
|
||||
|
||||
GRUB_TIMEOUT=0
|
||||
GRUB_TIMEOUT_STYLE=hidden
|
||||
GRUB_CMDLINE_LINUX_DEFAULT_BASE="quiet splash apparmor=1 usbcore.autosuspend=-1 vt.global_cursor_default=0 loglevel=3 rd.luks.options=discard plymouth.ignore-serial-consoles threadirqs"
|
||||
GRUB_CMDLINE_LINUX="rcutree.rcu_idle_gp_delay=1"
|
||||
|
||||
GRUB_THEME_DIR="/usr/share/debian-gaming/grub/grub2-themes"
|
||||
|
||||
# CPU-Treiber automatisch erkennen und hinzufügen
|
||||
CPU_VENDOR=$(lscpu | grep -oP 'Vendor ID:\s*\K.*' | tr -d ' ')
|
||||
CPU_MODEL=$(lscpu | grep -oP 'Model name:\s*\K.*' | head -c 20)
|
||||
|
||||
echo "Erkannte CPU: $CPU_MODEL ($CPU_VENDOR)"
|
||||
|
||||
case "$CPU_VENDOR" in
|
||||
"AuthenticAMD")
|
||||
CPU_PARAM="amd_pstate=active"
|
||||
echo "AMD CPU erkannt → amd_pstate=active wird hinzugefügt"
|
||||
;;
|
||||
"GenuineIntel")
|
||||
CPU_PARAM="intel_pstate=active"
|
||||
echo "Intel CPU erkannt → intel_pstate=active wird hinzugefügt"
|
||||
;;
|
||||
*)
|
||||
CPU_PARAM=""
|
||||
echo "⚠️ Unbekannter CPU-Hersteller ($CPU_VENDOR) – kein pstate-Parameter"
|
||||
;;
|
||||
esac
|
||||
|
||||
# CPU-Parameter anhängen, falls vorhanden
|
||||
if [ -n "$CPU_PARAM" ]; then
|
||||
# Prüfen ob Parameter bereits existiert (idempotent machen)
|
||||
if ! echo "$GRUB_CMDLINE_LINUX_DEFAULT_BASE" | grep -q "amd_pstate\|intel_pstate"; then
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT_BASE $CPU_PARAM"
|
||||
fi
|
||||
else
|
||||
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT_BASE"
|
||||
fi
|
||||
|
||||
# Root-Check
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "❌ Das Script muss als root ausgeführt werden!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Backup erstellen
|
||||
cp "$GRUB_CFG" "$GRUB_CFG.bak"
|
||||
echo "✅ Backup erstellt: $GRUB_CFG.bak"
|
||||
|
||||
# GRUB-Parameter setzen (sed mit Exit-Code-Handling für nicht-existente Keys)
|
||||
sed -i "s|^GRUB_TIMEOUT=.*|GRUB_TIMEOUT=$GRUB_TIMEOUT|" "$GRUB_CFG"
|
||||
sed -i "s|^GRUB_TIMEOUT_STYLE=.*|GRUB_TIMEOUT_STYLE=$GRUB_TIMEOUT_STYLE|" "$GRUB_CFG"
|
||||
sed -i "s|^GRUB_CMDLINE_LINUX_DEFAULT=.*|GRUB_CMDLINE_LINUX_DEFAULT=\"$GRUB_CMDLINE_LINUX_DEFAULT\"|" "$GRUB_CFG"
|
||||
sed -i "s|^GRUB_CMDLINE_LINUX=.*|GRUB_CMDLINE_LINUX=\"$GRUB_CMDLINE_LINUX\"|" "$GRUB_CFG"
|
||||
|
||||
# Falls Parameter nicht existierten, nachhaken (falls sed nichts geändert hat)
|
||||
grep -q '^GRUB_TIMEOUT=' "$GRUB_CFG" || echo "GRUB_TIMEOUT=$GRUB_TIMEOUT" >> "$GRUB_CFG"
|
||||
grep -q '^GRUB_TIMEOUT_STYLE=' "$GRUB_CFG" || echo "GRUB_TIMEOUT_STYLE=$GRUB_TIMEOUT_STYLE" >> "$GRUB_CFG"
|
||||
grep -q '^GRUB_CMDLINE_LINUX_DEFAULT=' "$GRUB_CFG" || echo "GRUB_CMDLINE_LINUX_DEFAULT=\"$GRUB_CMDLINE_LINUX_DEFAULT\"" >> "$GRUB_CFG"
|
||||
grep -q '^GRUB_CMDLINE_LINUX=' "$GRUB_CFG" || echo "GRUB_CMDLINE_LINUX=\"$GRUB_CMDLINE_LINUX\"" >> "$GRUB_CFG"
|
||||
|
||||
# GRUB-Theme installieren
|
||||
mkdir -p "$GRUB_THEME_DIR"
|
||||
if [ ! -d "$GRUB_THEME_DIR/.git" ]; then
|
||||
git clone https://github.com/vinceliuice/grub2-themes.git "$GRUB_THEME_DIR"
|
||||
"$GRUB_THEME_DIR/install.sh" -b -t vimix
|
||||
else
|
||||
echo "✅ Theme bereits installiert, wird aktualisiert..."
|
||||
cd "$GRUB_THEME_DIR" && git pull
|
||||
"./install.sh" -b -t vimix
|
||||
fi
|
||||
|
||||
# GRUB aktualisieren
|
||||
sudo update-grub
|
||||
|
||||
echo "✅ GRUB-Konfiguration aktualisiert!"
|
||||
echo "📝 Neue Kernel-Parameter: $GRUB_CMDLINE_LINUX_DEFAULT"
|
||||
Executable
+37
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
HOME="$(getent passwd $SUDO_USER | cut -d: -f6)"
|
||||
DEFAULT_USR_FOLDER="/usr/share/debian-gaming/home"
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "❌ The Skript has to be run as root!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Copy my profile.d
|
||||
mkdir -p /etc/profile.d
|
||||
cp ./data/etc/profile.d/* /etc/profile.d/
|
||||
|
||||
mkdir -p $DEFAULT_USR_FOLDER
|
||||
|
||||
# Copy Zsh-Files
|
||||
cp ./data/home/zshrc $DEFAULT_USR_FOLDER/zshrc
|
||||
|
||||
grep -q '^source /etc/profile' /etc/zsh/zprofile || echo 'source /etc/profile' >> /etc/zsh/zprofile
|
||||
|
||||
# copy config folder
|
||||
cp -r $HOME/.config $DEFAULT_USR_FOLDER/.config
|
||||
|
||||
# copy templates
|
||||
cp -r ./data/home/templates $DEFAULT_USR_FOLDER/templates
|
||||
|
||||
# set zsh as default shell
|
||||
USER_ENTRY=$(getent passwd "$USER")
|
||||
cp /etc/passwd /etc/passwd.bak
|
||||
|
||||
if grep -q "^$USER:" /etc/passwd; then
|
||||
sed -i "/^$USER:/s|[^:]*$|/bin/zsh|" /etc/passwd
|
||||
else
|
||||
UPDATED_ENTRY=$(echo "$USER_ENTRY" | awk -F: -v OFS=: '{ $NF="/bin/zsh"; print }')
|
||||
echo "$UPDATED_ENTRY" >>/etc/passwd
|
||||
fi
|
||||
Executable
+29
@@ -0,0 +1,29 @@
|
||||
#!/bin/bash
|
||||
|
||||
FONT_DIR=/usr/share/fonts
|
||||
|
||||
if [ "$(id -u)" -ne 0 ]; then
|
||||
echo "❌ The Skript has to be run as root!"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Install Jetbrains Mono Nerd Font
|
||||
wget -q https://github.com/ryanoasis/nerd-fonts/releases/latest/download/JetBrainsMono.tar.xz
|
||||
mkdir -p $FONT_DIR/JetBrainsMonoNerd
|
||||
tar -xJkf JetBrainsMono.tar.xz -C $FONT_DIR/JetBrainsMonoNerd
|
||||
|
||||
# Install Fantasque Mono Nerd Font
|
||||
wget -q https://github.com/ryanoasis/nerd-fonts/releases/download/v3.3.0/FantasqueSansMono.zip
|
||||
mkdir -p $FONT_DIR/FantasqueSansMonoNerd
|
||||
unzip -o -q "FantasqueSansMono.zip" -d "$FONT_DIR/FantasqueSansMonoNerd"
|
||||
|
||||
# Install Victor Mono Font
|
||||
wget -q https://rubjo.github.io/victor-mono/VictorMonoAll.zip
|
||||
mkdir -p $FONT_DIR/VictorMono
|
||||
unzip -o -q "VictorMonoAll.zip" -d "$FONT_DIR/VictorMono"
|
||||
|
||||
fc-cache -v
|
||||
|
||||
if [ -d "JetBrainsMono.tar.xz" ]; then
|
||||
rm -r JetBrainsMono.tar.xz 2>&1 | tee -a "$LOG"
|
||||
fi
|
||||
Executable
+30
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Betterbird als Standard-Mail-Programm setzen
|
||||
flatpak install eu.betterbird.Betterbird -y # TODO Durch Melia ersetzen
|
||||
xdg-mime default org.betterbird.Betterbird.desktop x-scheme-handler/mailto
|
||||
|
||||
# Alpaca
|
||||
flatpak install flathub com.jeffser.Alpaca -y
|
||||
# Web App Hub
|
||||
flatpak install flathub org.pvermeer.WebAppHub -y
|
||||
# Musescore
|
||||
flatpak install flathub org.musescore.MuseScore -y
|
||||
# Fluffychat (Matrix)
|
||||
flatpak install flathub im.fluffychat.Fluffychat -y
|
||||
# Flatsweep
|
||||
flatpak install flathub io.github.giantpinkrobots.flatsweep -y
|
||||
|
||||
# Steam
|
||||
flatpak install flathub com.valvesoftware.Steam -y
|
||||
# Gamescope
|
||||
flatpak install flathub org.freedesktop.Platform.VulkanLayer.gamescope -y
|
||||
# MangoHud
|
||||
flatpak install flathub org.freedesktop.Platform.VulkanLayer.MangoHud -y
|
||||
# GE-Proton
|
||||
flatpak install flathub com.valvesoftware.Steam.CompatibilityTool.Proton-GE -y
|
||||
|
||||
# Proton Up-QT
|
||||
flatpak install flathub net.davidotek.pupgui2 -y
|
||||
# Scopebuddy GUI
|
||||
flatpak install flathub io.github.rfrench3.scopebuddy-gui -y
|
||||
@@ -5,6 +5,8 @@
|
||||
Dieses Repository enthält Skripte um ein Linux System mit Hyprland und diversen Programmen aufzusetzen.
|
||||
Die entsprechenden Skripte befinden sich in den Branches zur jeweiligen Distribution.
|
||||
|
||||
Der Hauptbranch ist für ein aktuelles Debian-System gedacht!
|
||||
|
||||
## Anforderungen
|
||||
|
||||
Um die Skripte in diesem Repository auszuführen, stelle sicher, dass die folgenden Voraussetzungen erfüllt sind:
|
||||
@@ -17,12 +19,49 @@ Um die Skripte in diesem Repository auszuführen, stelle sicher, dass die folgen
|
||||
|
||||
1. Klone das Repository:
|
||||
```bash
|
||||
git clone https://gitea.creative-dragonslayer.de/DragonSlayer_14/Setup.git
|
||||
git clone https://gitea.creative-dragonslayer.de/Scripts/Setup.git
|
||||
```
|
||||
2. Wechsle in den richtigen Branch.
|
||||
3. Navigiere in das Verzeichnis `Setup`, um die ausführbaren Dateien und Ressourcen zu finden.
|
||||
4. Folge den spezifischen Anweisungen in einzelnen Dateien oder Skripten für die korrekte Ausführung.
|
||||
|
||||
## Nach der Nutzung
|
||||
### Für AMD-CPUs
|
||||
#### Game-Launchparameter
|
||||
```bash
|
||||
GLOBAL — All games:
|
||||
RADV_PERFTEST=gpl,rt DXVK_ASYNC=1 VKD3D_CONFIG=dxr,dxr11 MESA_VK_WSI_PRESENT_MODE=mailbox gamemoderun gamescope -W 2560 -H 1440 --force-grab-cursor --hdr-enabled --adaptive-sync -f -o 240 -r 240 -- mangohud %command%
|
||||
|
||||
DEMANDING GAMES — No RT:
|
||||
RADV_PERFTEST=gpl,ngg_streamout WINE_FULLSCREEN_FSR=1 DXVK_ASYNC=1 gamemoderun gamescope -W 2560 -H 1440 --force-grab-cursor --hdr-enabled --adaptive-sync -f -o 240 -r 240 -- mangohud %command%
|
||||
|
||||
RAY TRACING — DX12 titles:
|
||||
RADV_PERFTEST=gpl,rt,ngg_streamout VKD3D_CONFIG=dxr,dxr11 DXVK_ASYNC=1 AMD_VULKAN_ICD=RADV gamemoderun gamescope -W 2560 -H 1440 --force-grab-cursor --hdr-enabled --adaptive-sync -f -o 240 -r 240 -- mangohud %command%
|
||||
|
||||
MAXIMUM RT PERFORMANCE — with FSR:
|
||||
RADV_PERFTEST=gpl,rt,ngg_streamout VKD3D_CONFIG=dxr,dxr11 DXVK_ASYNC=1 AMD_VULKAN_ICD=RADV WINE_FULLSCREEN_FSR=1 gamemoderun gamescope -W 2560 -H 1440 --force-grab-cursor --hdr-enabled --adaptive-sync -f -o 240 -r 240 -- mangohud %command%
|
||||
```
|
||||
|
||||
#### Parameter in /etc/environment.d/99-raytracing.conf
|
||||
```bash
|
||||
# AMD RDNA Ray Tracing Optimisations
|
||||
RADV_PERFTEST=gpl,rt,ngg_streamout
|
||||
VKD3D_CONFIG=dxr,dxr11
|
||||
DXVK_ASYNC=1
|
||||
AMD_VULKAN_ICD=RADV
|
||||
mesa_glthread=true
|
||||
MESA_VK_WSI_PRESENT_MODE=mailbox
|
||||
```
|
||||
|
||||
#### Parameter in /etc/environment.d/99-upscaling.conf
|
||||
```bash
|
||||
# AMD FSR 4 + FSR 3 Upscaling — March 2026
|
||||
# FSR 4: use PROTON_FSR4_UPGRADE=1 launch option (RDNA4=native, RDNA3=fallback)
|
||||
WINE_FULLSCREEN_FSR=1
|
||||
WINE_FULLSCREEN_FSR_STRENGTH=2
|
||||
MESA_VK_WSI_PRESENT_MODE=mailbox
|
||||
```
|
||||
|
||||
## Lizenz
|
||||
|
||||
Dieses Projekt steht unter einer Open-Source-Lizenz. Weitere Informationen findest du in der Datei `LICENSE`.
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
Types: deb deb-src
|
||||
URIs: http://deb.debian.org/debian/
|
||||
Suites: unstable
|
||||
Components: main non-free-firmware non-free contrib
|
||||
Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
|
||||
@@ -0,0 +1,5 @@
|
||||
Types: deb
|
||||
URIs: https://gitea.creative-dragonslayer.de/api/packages/Linuxapps/debian/
|
||||
Suites: stable
|
||||
Components: main
|
||||
Signed-By: /etc/apt/keyrings/gitea-Linuxapps.asc
|
||||
@@ -0,0 +1,5 @@
|
||||
Types: deb
|
||||
URIs: https://gitea.creative-dragonslayer.de/api/packages/Mirror/debian/
|
||||
Suites: stable
|
||||
Components: main
|
||||
Signed-By: /etc/apt/keyrings/gitea-Mirror.asc
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
xdg-user-dirs-update
|
||||
Executable
+33
@@ -0,0 +1,33 @@
|
||||
#!/bin/bash
|
||||
|
||||
DEFAULT_USR_FOLDER="/usr/share/debian-gaming/home"
|
||||
|
||||
CONFIG_FOLDER="$HOME/.config/"
|
||||
|
||||
CHECK_FILE="$HOME/.config/.debian_gaming_configs_copied"
|
||||
|
||||
TEMPLATES_DIR=$(xdg-user-dir TEMPLATES 2>/dev/null || echo "$HOME/Templates")
|
||||
|
||||
if [ ! -e "$CHECK_FILE" ]; then
|
||||
if [ -d "$DEFAULT_USR_FOLDER" ]; then
|
||||
|
||||
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
|
||||
if [ -e "$HOME/.config" ]; then
|
||||
mv $HOME/.config $HOME/.config.bak
|
||||
fi
|
||||
|
||||
if [ -e "$HOME/.zshrc" ]; then
|
||||
mv $HOME/.zshrc $HOME/.zshrc.bak
|
||||
fi
|
||||
|
||||
mkdir -p $HOME/.config
|
||||
|
||||
cp -r $DEFAULT_USR_FOLDER/.config/* $HOME/.config
|
||||
cp -r $DEFAULT_USR_FOLDER/templates/* $TEMPLATES_DIR
|
||||
cp $DEFAULT_USR_FOLDER/zshrc $HOME/.zshrc
|
||||
|
||||
touch $CHECK_FILE
|
||||
|
||||
fi
|
||||
fi
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
for app in ~/.local/share/applications/waydroid.*.desktop; do
|
||||
grep -q NoDisplay $app || sed '/^Icon=/a NoDisplay=true' -i $app
|
||||
done
|
||||
Executable
+10
@@ -0,0 +1,10 @@
|
||||
if groups | grep -q "\bsudo\b"; then
|
||||
case ":$PATH:" in
|
||||
*":/sbin:"*) ;;
|
||||
*) export PATH="$PATH:/sbin" ;;
|
||||
esac
|
||||
case ":$PATH:" in
|
||||
*":/usr/sbin:"*) ;;
|
||||
*) export PATH="$PATH:/usr/sbin" ;;
|
||||
esac
|
||||
fi
|
||||
Executable
+24
@@ -0,0 +1,24 @@
|
||||
#!/bin/bash
|
||||
|
||||
SUDO_FILE="$HOME/.sudo_as_admin_successful"
|
||||
HUSH_FILE="$HOME/.hushlogin"
|
||||
ONE_WEEK_AGO=$(date -d '7 days ago' +%s)
|
||||
|
||||
if [ -e "$SUDO_FILE" ]; then
|
||||
FILE_MOD_TIME=$(stat -c %Y "$SUDO_FILE")
|
||||
if [ "$FILE_MOD_TIME" -lt "$ONE_WEEK_AGO" ]; then
|
||||
rm -f "$SUDO_FILE"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ ! -e "$SUDO_FILE" ] && [ ! -e "$HUSH_FILE" ]; then
|
||||
case " $(groups) " in
|
||||
*\ admin\ *|*\ sudo\ *)
|
||||
if [ -x /usr/bin/sudo ]; then
|
||||
echo 'To run a command as administrator (user "root"), use "sudo <command>".'
|
||||
echo 'See "man sudo_root" for details.'
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
# /etc/profile.d/desktop_session_xdg_dirs.sh - Prepend a $DESKTOP_SESSION-named directory to $XDG_CONFIG_DIRS and $XDG_DATA_DIRS
|
||||
|
||||
DEFAULT_XDG_CONFIG_DIRS="/etc/xdg"
|
||||
DEFAULT_XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
|
||||
|
||||
if [ -n "$DESKTOP_SESSION" ]; then
|
||||
# readd default if was empty
|
||||
if [ -z "$XDG_CONFIG_DIRS" ]; then
|
||||
XDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS"
|
||||
fi
|
||||
if [ -n "${XDG_CONFIG_DIRS##*$DEFAULT_XDG_CONFIG_DIRS/xdg-$DESKTOP_SESSION*}" ]; then
|
||||
XDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS"/xdg-"$DESKTOP_SESSION":"$XDG_CONFIG_DIRS"
|
||||
fi
|
||||
export XDG_CONFIG_DIRS
|
||||
# gnome is already added if gnome-session installed
|
||||
if [ "$DESKTOP_SESSION" != "gnome" ]; then
|
||||
if [ -z "$XDG_DATA_DIRS" ]; then
|
||||
XDG_DATA_DIRS="$DEFAULT_XDG_DATA_DIRS"
|
||||
fi
|
||||
if [ -n "${XDG_DATA_DIRS##*/usr/share/$DESKTOP_SESSION*}" ]; then
|
||||
XDG_DATA_DIRS=/usr/share/"$DESKTOP_SESSION":"$XDG_DATA_DIRS"
|
||||
fi
|
||||
export XDG_DATA_DIRS
|
||||
fi
|
||||
fi
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
|
||||
Executable
BIN
Binary file not shown.
Executable
+1
@@ -0,0 +1 @@
|
||||
|
||||
Executable
+2
@@ -0,0 +1,2 @@
|
||||
#!/usr/bin/env python3
|
||||
|
||||
Executable
+1
@@ -0,0 +1 @@
|
||||
|
||||
Executable
BIN
Binary file not shown.
Executable
+49
@@ -0,0 +1,49 @@
|
||||
# If you come from bash you might have to change your $PATH.
|
||||
# export PATH=$HOME/bin:/usr/local/bin:$PATH
|
||||
|
||||
export ZSH="$HOME/.oh-my-zsh"
|
||||
|
||||
apt_pref='apt'
|
||||
apt_upgr='upgrade'
|
||||
|
||||
ZSH_THEME="agnosterzak"
|
||||
|
||||
plugins=(
|
||||
alias-finder
|
||||
aliases
|
||||
colored-man-pages
|
||||
command-not-found
|
||||
common-aliases
|
||||
composer
|
||||
cp
|
||||
debian
|
||||
docker
|
||||
git
|
||||
jsontools
|
||||
kitty
|
||||
python
|
||||
ssh
|
||||
symfony
|
||||
themes
|
||||
vscode
|
||||
zsh-autosuggestions
|
||||
zsh-syntax-highlighting
|
||||
)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
||||
# Display Pokemon-colorscripts
|
||||
# Project page: https://gitlab.com/phoneybadger/pokemon-colorscripts#on-other-distros-and-macos
|
||||
#pokemon-colorscripts --no-title -s -r #without fastfetch
|
||||
#pokemon-colorscripts --no-title -s -r | fastfetch -c $HOME/.config/fastfetch/config-pokemon.jsonc --logo-type fi>
|
||||
|
||||
# fastfetch. Will be disabled if above colorscript was chosen to install
|
||||
fastfetch -c $HOME/.config/fastfetch/config-compact.jsonc
|
||||
|
||||
# Set-up icons for files/directories in terminal using lsd
|
||||
alias ls='lsd'
|
||||
alias l='ls -l'
|
||||
alias la='ls -a'
|
||||
alias lla='ls -la'
|
||||
alias lt='ls --tree'
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
[Desktop Entry]
|
||||
Name=Spotify
|
||||
Exec=/usr/bin/spotify
|
||||
Icon=spotify-client
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Audio;Music;
|
||||
@@ -0,0 +1,60 @@
|
||||
Debian Paketquellen installieren -> sources nach /etc/apt/sources.list.d
|
||||
|
||||
sudo apt install git sudo network-manager software-properties-common wget curl
|
||||
|
||||
XanMod Kernel - Repo + Keyring installieren -> https://xanmod.org
|
||||
Apt-Pinning konfigurieren
|
||||
|
||||
sudo apt update
|
||||
|
||||
sudo apt install apt-listbugs apt-listchanges
|
||||
apt policy hyprland wlroots wayland wayland-protocols mesa
|
||||
=> wayland -> trixie
|
||||
mesa -> trixie-backports
|
||||
hyprland -> unstable
|
||||
|
||||
sudo apt install linux-xanmod-x64v3
|
||||
sudo apt install -t trixie-backports mesa mesa-vulkan-drivers gamemode gamescope mangohud pipewire pipewire-pulse wireplumber
|
||||
sudo apt install -t unstable hyprland wlroots wayland-protocols xdg-desktop-portal-wlr rofi-wayland waybar ags
|
||||
sudo apt install grim slurp wl-clipboard swaybg irqbalance cpupower timeshift zsh 7zip unrar unzip codium fzf rg rsync clamav clamav-freshclam clamav-docs libclamunrar9 clamav-daemon flatpak rfkill xdg-user-dirs tree bluetooth bleachbit network-manager-gnome steam-installer libreoffice tealdeer gnome-disk-utility gnome-system-monitor keepassxc
|
||||
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||
|
||||
Lutris installieren
|
||||
Spotify installieren
|
||||
-> Spotify .desktop-Datei hinterlegen
|
||||
Waydroid installieren
|
||||
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
|
||||
Grub-Config anpassen
|
||||
-> GRUB_TIMEOUT=0
|
||||
-> GRUB_TIMEOUT_STYLE=hidden
|
||||
-> GRUB_CMDLINE_LINUX_DEFAULT="quiet splash usbcore.autosuspend=-1 vt.global_cursor_default=0 loglevel=3 rd.luks.options=discard plymouth.ignore-serial-consoles"
|
||||
-> GRUB_CMDLINE_LINUS="rcutree.rcu_idle_gp_delay=1"
|
||||
|
||||
Grub-Theme installieren
|
||||
Plymouth installieren (Theme = Spinner)
|
||||
|
||||
update-grub
|
||||
|
||||
./etc/profile.d entsprechend kopieren
|
||||
|
||||
OhMyZsh installieren
|
||||
-> sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
|
||||
./home/.zshrc entsprechend kopieren
|
||||
./home/.oh-my-zsh/themes entsprechend kopieren
|
||||
source /etc/profile in /etc/zsh/zprofile einfügen
|
||||
|
||||
Shell des Users auf ZSH setzen
|
||||
|
||||
Portmaster installieren
|
||||
|
||||
Floorp installieren
|
||||
|
||||
Standardvorlagen hinterlegen
|
||||
|
||||
.config Ordner ziehen und hinterlegen
|
||||
|
||||
sudo timeshift --create --comments "initial install" --tags D
|
||||
|
||||
Reference in New Issue
Block a user