Skip to content

Commit 2e82a46

Browse files
authored
Merge pull request #11 from LaswitchTech/dev
General: Version bumped to v1.0.9
2 parents cf2aeca + 9769db9 commit 2e82a46

3 files changed

Lines changed: 9 additions & 6 deletions

File tree

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
v1.0.8
1+
v1.0.9

setup.sh

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@ if [ "$DISTRO" == "raspbian" ] || [ "$DISTRO" == "debian" ]; then
103103
sudo apt-get install -y dnsutils || true
104104
sudo apt-get install -y lightdm || true
105105
sudo apt-get install -y openbox || true
106+
sudo apt-get install -y x11-xserver-utils || true
106107
sudo apt-get install -y udevil || true
107108
sudo apt-get install -y libnotify-bin || true
108109
sudo apt-get install -y exfatprogs || true
@@ -169,11 +170,6 @@ sudo chmod +x /usr/local/bin/thinos-devmon || true
169170
# Add user to plugdev group
170171
sudo usermod -aG plugdev "$USER" || true
171172

172-
#
173-
# # Remove udisks2 entirely to prevent it from auto-mounting optical media to /media/cdrom0
174-
# sudo apt-get purge -y udisks2 2>/dev/null || true
175-
# sudo apt-get autoremove -y 2>/dev/null || true
176-
177173
# Disable udisks2 automount (we use devmon/udevil instead to mount as the session user)
178174
sudo systemctl disable --now udisks2.service udisks2.socket 2>/dev/null || true
179175
sudo systemctl mask udisks2.service udisks2.socket 2>/dev/null || true
@@ -251,9 +247,14 @@ EOL'
251247
log_step 10 "Disabling verbose boot and enabling Plymouth theme..."
252248
FILE=/boot/firmware/cmdline.txt
253249
if [ -f "$FILE" ]; then
250+
# Append splash and quiet to the existing cmdline if not already present, while preserving existing parameters
254251
if ! grep -q "splash" "$FILE"; then
255252
sudo sed -i 's/$/ splash quiet plymouth.ignore-serial-consoles/' "$FILE"
256253
fi
254+
# prepend vc4.force_hotplug=3 to ensure HDMI is forced on for both ports on Raspberry Pi
255+
if ! grep -q "vc4.force_hotplug=3" "$FILE"; then
256+
sudo sed -i '1s/^/vc4.force_hotplug=3 /' "$FILE"
257+
fi
257258
fi
258259
if [ "$DISTRO" == "debian" ]; then
259260
log_step "10a" "Enabling splash and quiet mode via GRUB on Debian..."

src/openbox/autostart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Set screen resolution to 1920x1080 on both HDMI ports (for Raspberry Pi)
2+
xrandr --output HDMI-1 --mode 1920x1080 --output HDMI-2 --mode 1920x1080 &
13
# Set gradient background
24
feh --bg-scale ~/.config/thinOS/backgrounds/gradient.png &
35
# Autostart PyRDPConnect in full-screen mode

0 commit comments

Comments
 (0)