I use this set of scripts to replicate my environment on freshly installed Debian/Xfce. It's not meant to run on different distributions or desktop environments.
Please note that this is experimental work.
Use it at your own risk and peril.
Download the latest release, untar it and run start
.
wget https://github.com/emilianobovetti/init-xfce/releases/latest/download/init-xfce.tar.gz
tar -xzf init-xfce.tar.gz
cd init-xfce
my_user=$(whoami)
su
./start --user $my_user
First of all you will be prompted to enter some informations:
- Which additional install script run
- If you want to add your user in
/etc/sudoers
- If you want to enable autologin for the same user
- The root password
Now the process can run without further interactions:
- Some base packages will be installed
- The requested actions will be executed
- Home files will be restored
- Finally some utilities will be copied in
~/.local/bin
(such aststyle
,ranstr
andmkpsw
)
# e.g.
sudo ./utils-env install-base-packages
./utils-env user-exists $(whoami) && echo yup
# e.g.
sudo ./utils-env run-install --user $(whoami) laptop