Compare commits

..

64 commits
main ... main

Author SHA1 Message Date
RP1
c1223fafc0 added resolv.conf to backup script 2025-04-17 08:24:13 +00:00
RP1
a389708762 Update ros-progs-gui.sh 2025-04-16 15:39:53 +00:00
RP1
73708492c0 Update ros-progs-gui.sh 2025-04-15 17:16:55 +00:00
RP1
586e7e38b5 Update backup-raveos.sh 2025-04-15 12:37:15 +00:00
RP1
a146cc7a07 Update ros-progs-gui.sh 2025-03-19 19:06:29 +00:00
RP1
907f89904f Update ros-progs-gui.sh 2025-03-19 19:05:24 +00:00
RP1
4c401bb677 Update ros-progs-gui.sh 2025-03-19 19:02:13 +00:00
RP1
32280e9932 Update ros-progs-gui.sh 2025-03-19 19:01:50 +00:00
RP1
feda9dc1e0 Update ros-progs-gui.sh 2025-03-18 10:57:19 +00:00
RP1
3d47611c8e Merge pull request '3 mp várakozás systemd boot modban' (#27) from Zodey/RaveOS-arch:main into main
Reviewed-on: RP1/RaveOS-arch#27
2025-03-18 10:55:28 +00:00
RP1
934db11121 Update backup-raveos.sh 2025-03-18 10:26:52 +00:00
RP1
66e9738ce8 Update backup-raveos.sh 2025-03-18 10:17:57 +00:00
fb753b8f6f 3 sec timeout in systemd boot mod 2025-03-15 13:06:08 +01:00
RP1
6200ee0233 Update ros-progs-gui.sh 2025-03-13 08:05:51 +00:00
RP1
abebf4ae48 Update backup-raveos.sh 2025-03-12 19:21:50 +00:00
RP1
d36eaede1f Update ros-progs-gui.sh 2025-03-12 18:00:18 +00:00
RP1
53bb6da3c9 Update ros-progs-gui.sh 2025-03-12 17:31:48 +00:00
RP1
775b60ff49 Update ros-progs-gui.sh 2025-03-12 17:29:26 +00:00
RP1
ac0739fc6c Update ros-progs-gui.sh 2025-03-12 17:24:05 +00:00
RP1
d8f326c5a5 Update ros-progs-gui.sh 2025-03-12 17:20:39 +00:00
RP1
65fe608a95 Update ros-progs-gui.sh 2025-03-12 16:58:16 +00:00
RP1
4f727f958a Update ros-progs-gui.sh 2025-03-12 16:51:08 +00:00
RP1
d91b4a6ce0 Update ros-progs-gui.sh 2025-03-12 12:02:20 +00:00
RP1
e227c09fa0 Update ros-progs-gui.sh 2025-03-11 20:51:47 +00:00
RP1
1404380e6d Update ros-progs-gui.sh 2025-03-11 20:19:00 +00:00
RP1
9be91fe371 Update ros-progs-gui.sh 2025-03-11 20:11:13 +00:00
RP1
26cbdc461f Update ros-progs-gui.sh 2025-03-11 18:54:04 +00:00
RP1
46b144b9d6 Update ros-progs-gui.sh 2025-03-11 18:47:00 +00:00
RP1
1b1ff8d480 Update ros-progs-gui.sh 2025-03-11 18:22:35 +00:00
RP1
decb78085b Update ros-progs-gui.sh 2025-03-11 18:18:49 +00:00
RP1
afd50ee357 Update ros-progs-gui.sh 2025-03-11 18:12:02 +00:00
RP1
f1c37221ca Update ros-progs-gui.sh 2025-03-11 18:05:04 +00:00
RP1
7862efd348 Update ros-progs-gui.sh 2025-03-11 18:04:18 +00:00
RP1
9a1ecb4d7e Update ros-progs-gui.sh 2025-03-11 18:03:38 +00:00
RP1
42f4766651 Update ros-progs-gui.sh 2025-03-11 17:58:06 +00:00
RP1
6b136e82af Update ros-progs-gui.sh 2025-03-11 17:56:57 +00:00
RP1
b314a567cb Add post-install.sh 2025-03-11 17:50:54 +00:00
RP1
fcd4f93640 Update ros-progs-gui.sh 2025-03-11 17:50:23 +00:00
RP1
35d97e80b6 Update ros-progs-gui.sh 2025-03-11 17:45:41 +00:00
RP1
d96f7e348c Update ros-progs-gui.sh 2025-03-11 17:39:00 +00:00
RP1
e9e2f1b652 Update ros-progs-gui.sh 2025-03-11 17:36:39 +00:00
RP1
648021392d Update ros-progs-gui.sh 2025-03-11 17:35:04 +00:00
RP1
7c3d6e2841 Update ros-progs-gui.sh 2025-03-11 15:53:27 +00:00
RP1
ee5c65f9cc Update ros-progs-gui.sh 2025-03-10 20:43:02 +00:00
RP1
6b68c736ab Update ros-progs-gui.sh 2025-03-10 20:41:22 +00:00
RP1
f01f69c4ac Update ros-progs-gui.sh 2025-03-10 20:40:06 +00:00
RP1
9538b0175e Update ros-progs-gui.sh 2025-03-10 11:06:47 +00:00
RP1
9a343c2fe8 Update ros-progs-gui.sh 2025-03-10 11:05:04 +00:00
RP1
35b2f0a02f Update ros-progs-gui.sh 2025-03-10 11:01:08 +00:00
RP1
530337c162 Update ros-progs-gui.sh
fixed librewolf conf path
2025-03-09 22:35:57 +00:00
RP1
fd37747579 Update ros-progs-gui.sh 2025-03-09 18:23:04 +00:00
RP1
f6dc7eecfa Update ros-progs-gui.sh 2025-03-09 16:26:28 +00:00
RP1
8b92378fdd Update 3progs.sh 2025-03-06 10:24:06 +00:00
RP1
7689b2cdcd fixed echo commands 2025-02-17 20:37:53 +01:00
RP1
0b696a4009 added missing variable 2025-02-17 20:35:40 +01:00
RP1
96e855bb1c added ucode add to kernel conf 2025-02-17 20:35:12 +01:00
RP1
beff542c6c removed pamac 2025-02-17 20:19:12 +01:00
RP1
9b867d701e fixed cleanup 2025-02-17 19:57:52 +01:00
RP1
0f45b691fb fixed the beginning 2025-02-17 19:55:54 +01:00
RP1
53fdfbf3ed asd 2025-02-17 19:39:45 +01:00
RP1
dba3977308 created iso/gui progs script 2025-02-17 19:38:45 +01:00
RP1
0458cd4a1e added profile pic swap command 2025-02-17 19:04:08 +01:00
RP1
c26f8bb04e added vulkan-radeon to steam for amd gpu users 2025-02-17 18:47:37 +01:00
RP1
3972ee3873 added flatpak user 2025-02-17 18:14:47 +01:00
5 changed files with 1246 additions and 33 deletions

View file

@ -12,12 +12,18 @@ cd /home/$USER/.progs
mkdir -p /home/$USER/.local/share/applications/ mkdir -p /home/$USER/.local/share/applications/
cp -a rp-programscript.desktop /home/$USER/.local/share/applications/ 2>/dev/null cp -a rp-programscript.desktop /home/$USER/.local/share/applications/ 2>/dev/null
echo "Exec=/home/$USER/.progs/3progs.sh" >> /home/$USER/.local/share/applications/rp-programscript.desktop 2>/dev/null echo "Exec=/home/$USER/.progs/3progs.sh" >> /home/$USER/.local/share/applications/rp-programscript.desktop 2>/dev/null
sudo rm /usr/share/applications/qv4l2.desktop 2>/dev/null sudo rm /usr/share/applications/qv4l2.desktop 2>/dev/null
sudo rm /usr/share/applications/qvidcap.desktop 2>/dev/null sudo rm /usr/share/applications/qvidcap.desktop 2>/dev/null
sudo rm /usr/share/applications/avahi-discover.desktop 2>/dev/null sudo rm /usr/share/applications/avahi-discover.desktop 2>/dev/null
sudo rm /usr/share/applications/bssh.desktop 2>/dev/null sudo rm /usr/share/applications/bssh.desktop 2>/dev/null
sudo rm /usr/share/applications/bvnc.desktop 2>/dev/null sudo rm /usr/share/applications/bvnc.desktop 2>/dev/null
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
echo "[User]
Session=
Icon=/usr/share/backgrounds/rave-pp.png
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER 2>/dev/null
# Steam GPU Grep from Lordify # Steam GPU Grep from Lordify
# nVidia=$(lspci -P | grep "NVIDIA" -c) # nVidia=$(lspci -P | grep "NVIDIA" -c)
@ -80,11 +86,13 @@ user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
FALSE "Spotube - Ingyenes Premium Spotify Zenelejátszó Linuxra" \ FALSE "Spotube - Ingyenes Premium Spotify Zenelejátszó Linuxra" \
FALSE "Steam Launcher" \ FALSE "Steam Launcher" \
FALSE "Systemd boot mod - 0sec varakozas bootolaskor" \ FALSE "Systemd boot mod - 0sec varakozas bootolaskor" \
FALSE "Systemd boot mod - 3sec varakozas bootolaskor" \
FALSE "TeamSpeak3 - TeamSpeak VOIP kliens" \ FALSE "TeamSpeak3 - TeamSpeak VOIP kliens" \
FALSE "Telegram - Titkosított üzenetküldő" \ FALSE "Telegram - Titkosított üzenetküldő" \
FALSE "Vibrant - Szín szaturáció beállító program" \ FALSE "Vibrant - Szín szaturáció beállító program" \
FALSE "Vivaldi - webböngésző" \ FALSE "Vivaldi - webböngésző" \
FALSE "VLC - médialejátszó" \ FALSE "VLC - médialejátszó" \
FALSE "Vulkan-radeon - Ha nem mennek a jatekok AMD kartyaval tedd ezt fel!" \
FALSE "Windows 11 Telepítő - Csak Profiknak!" \ FALSE "Windows 11 Telepítő - Csak Profiknak!" \
FALSE "Xfburn - CD/DVD író program" \ FALSE "Xfburn - CD/DVD író program" \
FALSE "XPadNeo - XBox Controller Support" \ FALSE "XPadNeo - XBox Controller Support" \
@ -156,8 +164,11 @@ if [[ $user_choice = *"Steam Launcher"* ]]; then
echo --------------------------------------------- echo ---------------------------------------------
echo Installing ${bold}${yellow}Steam Launcher${normal} echo Installing ${bold}${yellow}Steam Launcher${normal}
sudo pacman -S steam-native-runtime --noconfirm nVidia=$(lspci -P | grep "NVIDIA" -c)
if [[ $nVidia -eq 0 ]]; then
sudo pacman -S vulkan-radeon lib32-vulkan-radeon --noconfirm sudo pacman -S vulkan-radeon lib32-vulkan-radeon --noconfirm
fi
sudo pacman -S steam-native-runtime --noconfirm
sudo chmod +x update-proton-ge sudo chmod +x update-proton-ge
./update-proton-ge ./update-proton-ge
echo "GSK_RENDERER=gl" | sudo tee -a /etc/environment echo "GSK_RENDERER=gl" | sudo tee -a /etc/environment
@ -180,6 +191,18 @@ if [[ $user_choice = *"Systemd boot mod - 0sec varakozas bootolaskor"* ]]; then
echo echo
fi fi
if [[ $user_choice = *"Systemd boot mod - 3sec varakozas bootolaskor"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}Systemd boot mod${normal}
sudo sed -i 's/timeout 0/timeout 3/' /boot/loader/loader.conf
echo ${bold}${yellow}Systemd boot mod ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"Heroic Launcher - Epic Games Launcher Linux verziója"* ]]; then if [[ $user_choice = *"Heroic Launcher - Epic Games Launcher Linux verziója"* ]]; then
echo echo
echo --------------------------------------------- echo ---------------------------------------------
@ -309,7 +332,6 @@ if [[ $user_choice = *"CoreCTRL - AMD GPU beállító alkalmazás"* ]]; then
echo Installing ${bold}${yellow}CoreCTRL and User Settings${normal} echo Installing ${bold}${yellow}CoreCTRL and User Settings${normal}
sudo pacman -S corectrl --noconfirm sudo pacman -S corectrl --noconfirm
#systemd missing
cp /usr/share/applications/org.corectrl.CoreCtrl.desktop ~/.config/autostart/ cp /usr/share/applications/org.corectrl.CoreCtrl.desktop ~/.config/autostart/
echo "polkit.addRule(function(action, subject) { echo "polkit.addRule(function(action, subject) {
if ((action.id == \"org.corectrl.helper.init\" || if ((action.id == \"org.corectrl.helper.init\" ||
@ -513,6 +535,18 @@ if [[ $user_choice = *"VLC - médialejátszó"* ]]; then
echo echo
fi fi
if [[ $user_choice = *"Vulkan-radeon - Ha nem mennek a jatekok AMD kartyaval tedd ezt fel!"* ]]; then
echo
echo ---------------------------------------------
echo Installing ${bold}${yellow}Vulkan Radeon${normal}
sudo pacman -S vulkan-radeon lib32-vulkan-radeon --noconfirm
echo ${bold}${yellow}Vulkan Radeon ${normal}installed.
echo ---------------------------------------------
echo
fi
if [[ $user_choice = *"QBittorrent - torrent kliens"* ]]; then if [[ $user_choice = *"QBittorrent - torrent kliens"* ]]; then
echo echo
echo --------------------------------------------- echo ---------------------------------------------

View file

@ -1,14 +1,17 @@
#!/bin/bash #!/bin/bash
Locale=$(locale | grep "LANG")
Desktop=$XDG_CURRENT_DESKTOP
# Text modifiers # Text modifiers
bold=$(tput bold) # ${bold} bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal} normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow} yellow=$(tput setaf 3) # ${yellow}
zenity --info --title='Please pick a folder!' --text='Choose a folder!' --width='300' --height='100' zenity --info --title='Please pick a folder!' --text='Choose a folder!' --width='300' --height='100' 2>/dev/null
# Folder variable # Folder variable
FOLDER=$(zenity --file-selection --title="Choose a backup directory" --directory) FOLDER=$(zenity --file-selection --title="Choose a backup directory" --directory 2>/dev/null )
if [[ $? -eq 1 ]]; then if [[ $? -eq 1 ]]; then
echo You did not pick a ${bold}${yellow}folder.${normal} Exiting! echo You did not pick a ${bold}${yellow}folder.${normal} Exiting!
exit 1 exit 1
@ -22,7 +25,7 @@ user_choice=$(zenity --list --checklist --width='600' --height='400' \
--text="Select from the options below" \ --text="Select from the options below" \
--column="Select" --column="Name" \ --column="Select" --column="Name" \
FALSE "BACKUP All of My Data and Settings" \ FALSE "BACKUP All of My Data and Settings" \
FALSE "RESTORE All of My Data and Settings") FALSE "RESTORE All of My Data and Settings" 2>/dev/null )
if [[ $? -eq 1 ]]; then if [[ $? -eq 1 ]]; then
echo You did not pick an ${bold}${yellow}option.${normal} Exiting! echo You did not pick an ${bold}${yellow}option.${normal} Exiting!
exit 1 exit 1
@ -31,39 +34,52 @@ sudo echo
if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
cd cd
Locale=$(locale | grep "LANG" -c)
Desktop=$XDG_CURRENT_DESKTOP
echo echo
echo ----------------------------------------------------- echo -----------------------------------------------------
echo Copying ${bold}${yellow}$USER Settings and Files${normal} into ${bold}${yellow}$FOLDER/${normal} echo Copying ${bold}${yellow}$USER Settings and Files${normal} into ${bold}${yellow}$FOLDER/${normal}
rsync -ap --info=progress2 /home/$USER/Games $FOLDER rsync -ap --info=progress2 /home/$USER/Games $FOLDER 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.librewolf $FOLDER 2>/dev/null rsync -ap --info=progress2 /home/$USER/.librewolf $FOLDER 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.steam $FOLDER 2>/dev/null rsync -ap --info=progress2 /home/$USER/.steam $FOLDER 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.icons $FOLDER 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.themes $FOLDER 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.mozilla $FOLDER 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.ts3client $FOLDER 2>/dev/null
mkdir -p $FOLDER/.config mkdir -p $FOLDER/.config
rsync -ap --info=progress2 /home/$USER/.config/Bitwarden $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/Bitwarden $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/heroic $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/heroic $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/burn-my-windows $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/btop $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/input-remapper-2 $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/input-remapper-2 $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/Mumble $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/Mumble $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/libvirt $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/libvirt $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/corectrl $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/corectrl $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/corectrl.ini $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/corectrl.ini $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/czkawka $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/vivaldi $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/vivaldi $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/BraveSoftware $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/BraveSoftware $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/FreeTube $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/FreeTube $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/libreoffice $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/dosbox-x $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/dosbox-x $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/pavucontrol.ini $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/pavucontrol.ini $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/keepassxc $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/keepassxc $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/spotify $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/spotify $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/spotube $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/spotube $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/gtk-4.0 $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/qBittorrent $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/qBittorrent $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/onlyoffice $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/jellyfin.org $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/nomacs $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/tutanota-desktop $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/kdeglobals $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/kdeglobals $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/kdenliverc $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/kdenliverc $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/kdenlive-layoutsrc $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/kdenlive-layoutsrc $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/Signal $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/Signal $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/smplayer $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/discord $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/discord $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/Vencord $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/Vencord $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/torbrowser $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/goverlay $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/goverlay $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/MangoHud $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/MangoHud $FOLDER/.config 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.config/easyeffects $FOLDER/.config 2>/dev/null rsync -ap --info=progress2 /home/$USER/.config/easyeffects $FOLDER/.config 2>/dev/null
@ -80,24 +96,40 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides/ $FOLDER/.local/share/flatpak 2>/dev/null rsync -ap --info=progress2 /home/$USER/.local/share/flatpak/overrides/ $FOLDER/.local/share/flatpak 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/lutris $FOLDER/.local/share 2>/dev/null rsync -ap --info=progress2 /home/$USER/.local/share/lutris $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/TelegramDesktop $FOLDER/.local/share 2>/dev/null rsync -ap --info=progress2 /home/$USER/.local/share/TelegramDesktop $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/jellyfinmediaplayer $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/Jellyfin\ Media\ Player/ $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/Steam $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/oss.krtirtho.spotube $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/org.gnome.TextEditor $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/kdenlive $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/krusader $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/lutris $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/Mumble $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/nomacs $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/onlyoffice $FOLDER/.local/share 2>/dev/null
rsync -ap --info=progress2 /home/$USER/.local/share/torbrowser $FOLDER/.local/share 2>/dev/null
mkdir -p $FOLDER/.var/app/ mkdir -p $FOLDER/.var/app/
rsync -ap --info=progress2 /home/$USER/.var/app/ $FOLDER/.var/app 2>/dev/null rsync -ap --info=progress2 /home/$USER/.var/app/ $FOLDER/.var/app 2>/dev/null
mkdir $FOLDER/etc/ mkdir -p $FOLDER/etc/
sudo rsync -ap --info=progress2 /etc/libvirt $FOLDER 2>/dev/null sudo rsync -ap --info=progress2 /etc/libvirt $FOLDER/etc 2>/dev/null
sudo rsync -ap --info=progress2 /etc/resolv.conf $FOLDER/etc 2>/dev/null
sudo rsync -ap --info=progress2 /usr/share/jellyfin/web/config.json $FOLDER 2>/dev/null sudo rsync -ap --info=progress2 /usr/share/jellyfin/web/config.json $FOLDER 2>/dev/null
if [[ $Locale == LANG=hu_HU.UTF-8 ]]; then if [[ $Locale == LANG=hu_HU.UTF-8 ]]; then
echo ${bold}${yellow}Hungarian Language detected.${normal} echo ${bold}${yellow}Hungarian Language detected.${normal}
# HU lang # HU lang
rsync -ap --info=progress2 /home/$USER/Asztal/ $FOLDER/ rsync -ap --info=progress2 /home/$USER/Asztal/ $FOLDER
rsync -ap --info=progress2 /home/$USER/Dokumentumok/ $FOLDER/ rsync -ap --info=progress2 /home/$USER/Dokumentumok/ $FOLDER
rsync -ap --info=progress2 /home/$USER/Letöltések/ $FOLDER/ rsync -ap --info=progress2 /home/$USER/Letöltések/ $FOLDER
rsync -ap --info=progress2 /home/$USER/Zenék/ $FOLDER/ rsync -ap --info=progress2 /home/$USER/Zenék/ $FOLDER
rsync -ap --info=progress2 /home/$USER/Képek/ $FOLDER/ rsync -ap --info=progress2 /home/$USER/Képek/ $FOLDER
rsync -ap --info=progress2 /home/$USER/Videók/ $FOLDER/ rsync -ap --info=progress2 /home/$USER/Videók/ $FOLDER
rsync -ap --info=progress2 /home/$USER/Calibre\ Library/ $FOLDER 2>/dev/null
else else
echo ${bold}${yellow}English Language detected.${normal} echo ${bold}${yellow}English Language detected.${normal}
# EN lang # EN lang
@ -107,6 +139,7 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
rsync -ap --info=progress2 /home/$USER/Music $FOLDER rsync -ap --info=progress2 /home/$USER/Music $FOLDER
rsync -ap --info=progress2 /home/$USER/Pictures $FOLDER rsync -ap --info=progress2 /home/$USER/Pictures $FOLDER
rsync -ap --info=progress2 /home/$USER/Videos $FOLDER rsync -ap --info=progress2 /home/$USER/Videos $FOLDER
rsync -ap --info=progress2 /home/$USER/Calibre\ Library/ $FOLDER 2>/dev/null
fi fi
if [[ $Desktop == GNOME ]]; then if [[ $Desktop == GNOME ]]; then
@ -122,26 +155,29 @@ if [[ $user_choice = *"BACKUP All of My Data and Settings"* ]]; then
rsync -ap --info=progress2 /home/$USER/.local/state/dolphinstaterc $FOLDER/.local/state rsync -ap --info=progress2 /home/$USER/.local/state/dolphinstaterc $FOLDER/.local/state
fi fi
echo ${bold}${yellow}$USER files and settings are copied. ${normal} echo ${bold}${yellow}$USER Files and Settings are backed up! ${normal}
echo ----------------------------------------------------- echo -----------------------------------------------------
echo echo
sudo chown -R $USER:$GROUP $FOLDER
echo ${bold}${yellow} BACKUP SCRIPT FINISHED SUCCESSFULLY! ${normal}
fi fi
if [[ $user_choice = *"Restore all of my data and settings"* ]]; then if [[ $user_choice = *"RESTORE All of My Data and Settings"* ]]; then
Locale=$(locale | grep "LANG")
Desktop=$XDG_CURRENT_DESKTOP
echo echo
echo ----------------------------------------------------- echo -----------------------------------------------------
echo Copying ${bold}${yellow}Restoring $USER Settings and Files ${normal} into ${bold}${yellow}$FOLDER/${normal} echo Copying ${bold}${yellow}Restoring - $USER - Settings and Files ${normal} into ${bold}${yellow}$FOLDER/${normal}
sudo rsync -ap --info=progress2 $FOLDER/etc/libvirt /etc/ sudo rsync -ap --info=progress2 $FOLDER/etc/libvirt /etc/ 2>/dev/null
sudo rsync -ap --info=progress2 $FOLDER/config.json /usr/share/jellyfin/web/ sudo rsync -ap --info=progress2 $FOLDER/config.json /usr/share/jellyfin/web/ 2>/dev/null
rsync -ap --info=progress2 $FOLDER /home/$USER/ sudo rsync -ap --info=progress2 $FOLDER /home/$USER/
if [[ $Desktop == GNOME ]]; then if [[ $Desktop == GNOME ]]; then
# GNOME SECTION # GNOME SECTION
echo ${bold}${yellow}GNOME Detected - Loading Dconf${normal} echo ${bold}${yellow}GNOME Detected - Loading Dconf${normal}
dconf load / < $FOLDER/$USER-ui dconf load / < $FOLDER/$USER-ui
echo
echo ${bold}${yellow} Dconf loaded${normal}
else else
# KDE Section # KDE Section
echo ${bold}${yellow}KDE Detected - Loading Konsave${normal} echo ${bold}${yellow}KDE Detected - Loading Konsave${normal}
@ -151,7 +187,5 @@ if [[ $user_choice = *"Restore all of my data and settings"* ]]; then
echo ----------------------------------------------------- echo -----------------------------------------------------
sudo chown -R $USER:$GROUP /home/$USER/ sudo chown -R $USER:$GROUP /home/$USER/
echo echo
echo ${bold}${yellow}$USER settings RESTORED! ${normal} echo ${bold}${yellow}SETTINGS RESTORED SUCCESSFULLY! ${normal}
fi fi
exit 1

18
post-install.sh Normal file
View file

@ -0,0 +1,18 @@
#!/bin/bash
echo "[User]
Session=
Icon=/usr/share/backgrounds/rave-pp.png
SystemAccount=false" | sudo tee /var/lib/AccountsService/users/$USER
# Adding ucode to boot entries - Credit Lordify
CPU=$(lscpu | grep "AMD" -c)
if [[ $CPU -gt 0 ]]; then
echo "initrd /amd-ucode.img" | sudo tee -a /boot/loader/entries/linux-zen.conf
else
echo "initrd /intel-ucode.img" | sudo tee -a /boot/loader/entries/linux-zen.conf
fi
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
reboot

View file

@ -78,7 +78,7 @@ fi
# Installing packages # Installing packages
sudo pacman -S gnome-console gnome-session gdm gnome-disk-utility gnome-system-monitor fuse2 eog network-manager-applet networkmanager flatpak base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock noto-fonts-emoji noto-fonts noto-fonts-extra nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm sudo pacman -S gnome-console gnome-session gdm gnome-disk-utility gnome-system-monitor fuse2 eog network-manager-applet networkmanager base-devel bash-completion gedit gnome-calculator baobab ffmpeg git gnome-control-center gparted gnome-tweaks gnome-browser-connector xdg-desktop-portal xdg-desktop-portal-gnome xdg-desktop-portal-gtk xdg-desktop-portal-wlr ttf-ubuntu-font-family gnome-settings-daemon unzip wget glib2 glib2-devel hblock noto-fonts-emoji noto-fonts noto-fonts-extra nano qt5-wayland meson rsync zenity mesa-utils gvfs gvfs-mtp gvfs-smb android-tools wmctrl python-setuptools ufw gufw rebuild-detector --noconfirm
sudo systemctl enable gdm.service sudo systemctl enable gdm.service
sudo systemctl enable NetworkManager.service sudo systemctl enable NetworkManager.service
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target geoclue.service

1127
ros-progs-gui.sh Executable file

File diff suppressed because it is too large Load diff