Skip to content

Commit

Permalink
Update install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
rmens committed Aug 10, 2024
1 parent 3dd3737 commit dd4a94d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ CHROME_URL="https://teksttv.zuidwesttv.nl/"
FUNCTIONS_LIB_PATH="/tmp/functions.sh"
FUNCTIONS_LIB_URL="https://raw.githubusercontent.com/oszuidwest/bash-functions/main/common-functions.sh"

# General Raspberry Pi configuration (might be used later but we're not using this so keep the linter happy)
# General Raspberry Pi configuration (commented options might be used later but we're not using this so keep the linter happy)
#CONFIG_FILE_PATHS=("/boot/firmware/config.txt" "/boot/config.txt")
CMDLINE_FILE="/boot/firmware/cmdline.txt"
VIDEO_OPTION="video=HDMI-A-1:1920x1080@60D"
Expand Down Expand Up @@ -92,15 +92,15 @@ xset s off # Disable screen saver.
xset s noblank # Don't blank the video device.
# Set the resolution and position monitor 2 to the right of monitor 1
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync &
xrandr --addmode HDMI-1 1920x1080_60.00 &
#xrandr --addmode HDMI-2 1920x1080_60.00 &
xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
xrandr --addmode HDMI-1 1920x1080_60.00
#xrandr --addmode HDMI-2 1920x1080_60.00
# Set HDMI-1 as the primary monitor
xrandr --output HDMI-1 --primary --mode 1920x1080_60.00 --rate 60 &
xrandr --output HDMI-1 --primary --mode 1920x1080_60.00 --rate 60
# Position HDMI-2 to the right of HDMI-1
#xrandr --output HDMI-2 --mode 1920x1080_60.00 --rate 60 --right-of HDMI-1 &
#xrandr --output HDMI-2 --mode 1920x1080_60.00 --rate 60 --right-of HDMI-1
# Hide the mouse cursor when idle
unclutter -idle 0 &
Expand All @@ -118,7 +118,7 @@ chromium-browser --kiosk --noerrdialogs --disable-infobars --disable-session-cra
--disable-client-side-phishing-detection --disable-default-apps --disable-hang-monitor \
--disable-popup-blocking --disable-prompt-on-repost --disable-sync --metrics-recording-only \
--no-first-run --no-default-browser-check --disable-component-update \
--disable-backgrounding-occluded-windows --disable-renderer-backgrounding &
--disable-backgrounding-occluded-windows --disable-renderer-backgrounding
EOF

chmod +x ~/.config/openbox/autostart
Expand Down

0 comments on commit dd4a94d

Please sign in to comment.