|
|
|
@ -490,15 +490,16 @@ if zenity --question --title "Очистить домашний каталог?"
|
|
|
|
|
cp -r /etc/skel/* \$HOME/
|
|
|
|
|
fi
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
/usr/bin/gnome-session-quit --logout
|
|
|
|
|
FOE
|
|
|
|
|
|
|
|
|
|
cat > /usr/share/applications/gnome-clean-session.desktop << FOE
|
|
|
|
|
[Desktop Entry]
|
|
|
|
|
Name=Clean home directory
|
|
|
|
|
Name[ru]=Очистить домашний каталог
|
|
|
|
|
Comment[ru]=Предлагает очистить домашний каталог после выхода из системы
|
|
|
|
|
Comment=Offers to clear your home directory after logout
|
|
|
|
|
Name=Quit Session
|
|
|
|
|
Name[ru]=Выйти из сеанса
|
|
|
|
|
Comment[ru]=Выход из сеанса GNOME
|
|
|
|
|
Comment=Qiit GNOME Session
|
|
|
|
|
Exec=/usr/bin/clean-home
|
|
|
|
|
Icon=gnome-shutdown
|
|
|
|
|
Terminal=false
|
|
|
|
|