Using idea from holman, daviwil and zzh8829
Most of the configuration are specific to Ubuntu 22.04 (Pop_os 22.04).
bootstrap: install nala, stow, and then sym-links user dotfiles using stow.
The dotfiles are symlinks to the destination following the sub-folder structure. The dotfiles are mapped to $HOME directory, assuming you clone this directory under $HOME.
./bootstrapinstall: Using scripts in the packages/ folder to install packages from apt, custom install steps, flatpak, and other sources such as npm and pip. Then runs every install.sh script in each folder (currently only vscode extension). Finally runs post-install for application specific setups.
./installupdate: The update script can be used to update packages that do not provide auto-update/package manger update.
./updatecredit to JivanP's answer
- Edit
/etc/crypttab, adding the optionkeyscript=decrypt_keyctlto the cryptdata config line:
cryptdata UUID=<cryptdata UUID> none luks,keyscript=decrypt_keyctl
- Edit
/etc/pam.d/common-password, adding the optionuse_authtokto the GNOME keyring line in order to tell GDM Autologin (which includes this file from/etc/pam.d/gdm-autologin) to pass the auth token stored in the keyctl key cryptsetup to GNOME keyring:
password optional pam_gnome_keyring.so use_authtok
- Update the initramfs and reboot:
sudo apt install initramfs-tools
sudo update-initramfs -k all -c
rebootcredit to marvelggg's answer
mkdir -p ~/.config/autostart
cp /etc/xdg/autostart/io.elementary.appcenter-daemon.desktop ~/.config/autostart/
echo "X-GNOME-Autostart-enabled=false" >> ~/.config/autostart/io.elementary.appcenter-daemon.desktop$ sudo vi /etc/samba/smb.conf
[Public]
comment = Samba on Ubuntu
path = /home/username/Public
read only = no
browsable = yessudo service smbd restart
sudo ufw allow Samba
sudo smbpasswd -a usernameShow users
sudo pdbedit -L -vConnect
smbclient \\\\host\\PublicMount
mount -t cifs -o username=bob //host/Public /mnt/path