Skip to content

Commit 4ec4508

Browse files
committed
switch to patch for installs
1 parent 3d4afc8 commit 4ec4508

118 files changed

Lines changed: 318 additions & 340 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
#!/bin/bash
22
exec 2>&1
33

4-
######## modified to reset RPI display brightness max to 255
5-
64
# when headless:
75
# - vnclocal: force-enable it, so a user can never lock himself out. And, if there is no
86
# pwd-file yet, create an empty one
@@ -67,7 +65,8 @@ vncinternet="$(dbus-send --system --print-reply --dest=com.victronenergy.setting
6765

6866
scriptdir=$(dirname "$BASH_SOURCE")
6967

70-
######## reset brightness range after GUI starts
68+
##### modified for RpiDisplaySetup
69+
##### reset brightness range for RPI display AFTER GUI starts
7170
nohup sleep 1; dbus -y com.victronenergy.settings /Settings AddSettings '%[{"path": "/Gui/Brightness", "default":255, "min":0, "max":255}]' > /dev/null &
7271

7372
if [ "$vnclocal" = "1" ] || [ "$vncinternet" = "1" ]; then
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
--- /Users/Kevin/GitHub/RpiDisplaySetup.copy/FileSets/PatchSource/start-gui.sh-1.orig 2024-03-16 22:28:32
2+
+++ /Users/Kevin/GitHub/RpiDisplaySetup.copy/FileSets/PatchSource/start-gui.sh-1 2024-03-23 07:52:33
3+
@@ -65,6 +65,10 @@
4+
5+
scriptdir=$(dirname "$BASH_SOURCE")
6+
7+
+##### modified for RpiDisplaySetup
8+
+##### reset brightness range for RPI display AFTER GUI starts
9+
+nohup sleep 1; dbus -y com.victronenergy.settings /Settings AddSettings '%[{"path": "/Gui/Brightness", "default":255, "min":0, "max":255}]' > /dev/null &
10+
+
11+
if [ "$vnclocal" = "1" ] || [ "$vncinternet" = "1" ]; then
12+
echo "*** Starting gui, with VNC enabled (VncLocal=$vnclocal VncInternet=$vncinternet)"
13+
exec ${scriptdir}/gui $mouse -display "${multistring}VNC:size=$size:depth=32:passwordFile=/data/conf/vncpassword.txt:0"

FileSets/v2.71/COMPLETE

Whitespace-only changes.

FileSets/v2.71/LINKS_ONLY

Whitespace-only changes.

FileSets/v2.71/start-gui.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

FileSets/v2.72/COMPLETE

Whitespace-only changes.

FileSets/v2.72/LINKS_ONLY

Whitespace-only changes.

FileSets/v2.72/start-gui.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)