mirror of
https://github.com/DeeJanuz/frametop.git
synced 2026-10-06 01:00:06 +02:00
Fix the installer; start the desktop without the Steam client's environment
install.sh: a comment with an apostrophe inside a single-quoted command (from the distrobox pin) ended the quote and broke the script at step 1. The VR launcher started the desktop with the Steam client's environment, including LD_LIBRARY_PATH to Steam's runtime, whose libavcodec has no H.264 decoder: VLC in the desktop couldn't play most videos. The session script now drops the client's variables before starting anything, so apps use the system's libraries and codecs. The README and the installer now recommend setting Steam's Sleep after (When Plugged In and Idle) to Never; Steam suspends the Frame after an hour otherwise, even while charging. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b0036cdeae
commit
bc74097331
5 files changed
+31
-4
No files matched your search
+5
-1
@@ -50,7 +50,7 @@ if on_frame 'test -x ~/.local/bin/distrobox'; then
|
||||
echo "already installed: $(on_frame '~/.local/bin/distrobox version | head -1')"
|
||||
else
|
||||
on_frame 'set -e; mkdir -p ~/dev/src
|
||||
# A tested release, so an upstream change can't break new installs.
|
||||
# A tested release, so upstream changes cannot break new installs.
|
||||
[ -d ~/dev/src/distrobox ] || git clone --depth 1 --branch 1.8.2.5 https://github.com/89luca89/distrobox.git ~/dev/src/distrobox
|
||||
cd ~/dev/src/distrobox && ./install --prefix ~/.local'
|
||||
fi
|
||||
@@ -89,6 +89,10 @@ cat <<'EOF'
|
||||
SteamVR has to restart once, to load the 3D mouse driver and to start the input relay
|
||||
before it. Restarting SteamVR closes everything open in VR, including this terminal if
|
||||
it's in a VR desktop. Rebooting the headset works too.
|
||||
|
||||
Recommended: stop Steam from putting the headset to sleep while it's plugged in. In Steam,
|
||||
open Settings > Power, and under "When Plugged In and Idle" set "Sleep after" to Never.
|
||||
The displays still turn off when you take the headset off.
|
||||
EOF
|
||||
if ask "Restart SteamVR now?" n; then
|
||||
on_frame 'systemctl --user restart steamvr.service'
|
||||
|
||||
Reference in new issue
Block a user