waveshare / LCD-show

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

change config-normal.txt to work with headless VNC connections

haldi4803 opened this issue · comments

For working out of the box with VNC you need to set 3 options. (According to Real VNC)

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=2
hdmi_mode=82

for 1920x1080 60hz Mode....
If you don't have that you will always get the Error that "VNC cannot currently show the desktop". Or would that break other connected HDMI monitors? At least the hdmi_force_hotplug=1 option should be safe right?

I've also created a .desktop entry with

[Desktop Entry]
Version=1.0
Name=Touchscreen
Comment=Shows on Touchscreen
Path=/home/pi/LCD-show/
Exec=/home/pi/LCD-show/LCD35-show
Icon=/home/pi/LCD-show/touch.jpg
Terminal=false
Type=Application
Categories=Utility

for easily switching with a single Touch and no need for entering the command via shell all the time when switching.