default settings

automate default settings, added desktop fies to copy
This commit is contained in:
2026-04-24 14:32:34 +02:00
parent c06aa05ec7
commit 3a644f5142
7 changed files with 11 additions and 2 deletions

View File

@@ -16,10 +16,19 @@ for l in en uk ru ar; do
sudo apt -y install $(check-language-support -l $l) sudo apt -y install $(check-language-support -l $l)
done done
# import panel settings from file # import panel settings from file
xfce4-panel-profiles load default_panel.tar.bz2 sudo xfce4-panel-profiles load ./default_panel.tar.bz2
# clean the system # clean the system
sudo apt update -y sudo apt update -y
sudo apt full-upgrade -y sudo apt full-upgrade -y
sudo apt autoremove -y sudo apt autoremove -y
sudo apt clean -y sudo apt clean -y
sudo apt autoclean -y sudo apt autoclean -y
#set nomacs as default
FILE="/usr/share/applications/momeinfo.cache"
FILETYPES="org.nomacs.ImageLounge.desktop;XnView.desktop;gimp.desktop;simple-image-reducer.desktop;"
for type in png jpg jpeg gif; do
sudo sed -i "s|^\(image/${type}=\).*|\1${FILETYPES}|" "$FILE"
done
# copy content of desktop_files to desktop
cp -r desktop_files/. $HOME/Schreibtisch

Binary file not shown.

0
desktop_files/TODO Normal file
View File