Closed e-minguez closed 2 weeks ago
Create a /home/deck/on_decrypt_root.sh
(on the encrypted directory, i.e. you can do it after you unlocked) with this content -
#!/bin/bash
# This is run when the home directory is decrypted.
set -uexo pipefail
# Decky loader service.
if [[ -f /etc/systemd/system/plugin_loader.service ]]; then
systemctl start plugin_loader
fi
Change ownership to root and make it readonly for safety -
sudo chown root:root /home/deck/on_decrypt_root.sh
sudo chmod 744 /home/deck/on_decrypt_root.sh
Then from the next boot it should work.
I use decky myself! I will add these instructions to the repo.
Hi Eduardo, did it work?
It did indeed!
Glad to hear it!
Added to the instructions, resolving this then.
Installing decky on the "encrypted user" doesn't seem to work. It seems it installs a systemd unit that probably fails after the reboot (I couldn't troubleshoot it honestly)