Run:
sudo ./ubuntu_setup.sh
Among other things this makes sure the users from the wheel group have passwordless sudo.
Add those wheel users yourself, with sudo usermod -a -G wheel USERNAME for an existing USERNAME.
I've made the user toor to have a dedicated prompt with zsh, but the choice is ultimately yours.
First:
sudo adduser --encrypt-home {name}
sudo ./govern_user.sh {name}
Log in as this user in Gnome. In there:
- Launch Chromium.
- This creates its config dir.
- Close Chromium and start it again.
- This offers to set it as the default browser.
- Pin it to the dash is wanted.
- Close Chromium.
Then run:
./setup_user.sh
This should configure the Chromium profile, plus set the wallpaper and the profile pic, plus unpack user-specific files.
Done!
wget df.dima.ai -O df.zip && unzip df.zip && mv dotfiles-main dotfiles
dk SSHes into a remote machine (ubu) and sets up an isolated workspace with a zsh shell.
When you run dk from inside a clean git repo, the repo is automatically pushed to the remote:
dkcreates a temporary bare repo onubuwith a random name (e.g.ABCD-EFG-HIJK).- It pushes your current branch and checks it out on the remote.
- Your local
user.nameanduser.emailare forwarded to the remote repo. - You land in
~/ABCD-EFG-HIJK/inside an SSH session. - Make commits as usual.
- When you exit,
dkfetches and fast-forward merges any new commits back into your local branch. If the merge is not a fast-forward, the remote is preserved for manual resolution.
If the host repo has uncommitted changes, dk refuses to start and lists what's dirty.
Running dk from a non-git directory gives a plain SSH session with no repo.
- The prompt shows a bold magenta
[SANDBOX]prefix. - The
INSIDE_DK_ENVenvironment variable is set to1. - The
calias runsclaude --dangerously-skip-permissions. - Running
dkagain from inside the sandbox is blocked (prints a warning).
if [ -s ~/.ssh/id_ed25519.pub ] ; then echo "Already OK." ; else ssh-keygen -t ed25519 -C "$(whoami)-$(hostname)" ; fi
gpg --list-secret-keys --keyid-format=long
Please refer to the NOTES for deeper details.