hirak99 / steam_deck_encryption

Apache License 2.0
22 stars 1 forks source link

Decky doesn't seem to work #9

Closed e-minguez closed 2 weeks ago

e-minguez commented 3 weeks ago

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)

hirak99 commented 3 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.

hirak99 commented 2 weeks ago

Hi Eduardo, did it work?

e-minguez commented 2 weeks ago

It did indeed!

hirak99 commented 2 weeks ago

Glad to hear it!

Added to the instructions, resolving this then.