Qbert icon indicating copy to clipboard operation
Qbert copied to clipboard

Reboot and Update Survivability

Open NightHammer1000 opened this issue 3 years ago • 1 comments

To make the Script run on every boot we have a few Options:

As this is an Filesystem Overlay we want it up as soon as possible on boot to avoid issues. The best would be fstab. This would require the the Script to use sudo. /etc is not part of the read-only file system and thus survives Updates. My pacman.conf with added chaotic-aur is proof of that.

Second, root-less option would be .bashrc or .bash_profile. Just keep in mind that load order of things is important here as we need to run qbert as soon as possible. Things that hook into rendering like vkBaslat could lead to a Gamescope crash if the required layer cannot be loaded when DeckUI starts.

Another Option would be a systemd Service. This is more universal as with this approach we can set Service Dependencies and load orders.

NightHammer1000 avatar Jul 04 '22 07:07 NightHammer1000

I think a systemd .mount file might be best. That'd persist through updates, and assuming it was enabled, start automagically every time.

Riven-Spell avatar Jul 21 '22 22:07 Riven-Spell