#!/bin/bash
for user in /home/*; do
[ $user == /home/lost+found ] && continue
d="$user/Desktop"
if [ ! -d "$d" ]; then
d="$user/Рабочий стол"
[ -d "$d" ] || continue
fi
install -m777 sources/{update,shutdown}.desktop "$d"
done
apt install sddm sddm-theme-maldives
sddm --example-config > /etc/sddm.conf; sed -ri '/\[Theme\]/,/^$/ s/Current=.*/Current=maldives/' /etc/sddm.conf
apt install lxqt-session lxqt-runner lxqt-panel lxqt-config pcmanfm-qt lxqt-globalkeys lxqt-policykit lxqt-sudo lxqt-qtplugin lxqt-themes openbox lximage-qt obconf-qt pavucontrol-qt qterminal firefox
#!/bin/bash
for f1 in `find /temp -name 'arg_*'`; do
f2=${f1/arg_/exp_}
echo "$f1 -> $f2"
mv $f1 $f2
done