wake on lan changes
This commit is contained in:
+17
-2
@@ -59,9 +59,24 @@ xdotool mousemove "$RES_W" "$((RES_H + 100))"
|
||||
openbox --sm-disable &
|
||||
sleep 0.5
|
||||
|
||||
# Konfiguracja LibreOffice Impress: wyłącz presenter console, pokaz na ekranie 1 (HDMI-1)
|
||||
# Nadpisujemy przy każdym starcie — profil kiosku nie wymaga ochrony
|
||||
LO_PROFILE="$HOME/.config/libreoffice/4/user"
|
||||
mkdir -p "$LO_PROFILE"
|
||||
cat > "$LO_PROFILE/registrymodifications.xcu" << 'XCUEOF'
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<oor:items xmlns:oor="http://openoffice.org/2001/registry"
|
||||
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<item oor:path="/org.openoffice.Office.Impress/Misc">
|
||||
<prop oor:name="StartWithPresenterScreen" oor:op="fuse">
|
||||
<value>false</value>
|
||||
</prop>
|
||||
</item>
|
||||
</oor:items>
|
||||
XCUEOF
|
||||
|
||||
# ─── Start aplikacji ─────────────────────────────────────────────────────────
|
||||
# Konfiguracja LO (wyłączenie konsoli prezentera) jest zarządzana przez
|
||||
# presentation-manager.sh → start_lo() via -env:UserInstallation=/tmp/lo-kiosk-profile
|
||||
|
||||
# Uruchom menedżera prezentacji w tle (prawy ekran)
|
||||
/home/kiosk/presentation-manager.sh &
|
||||
|
||||
Reference in New Issue
Block a user