Mkdir -p /home/pi/. # Generate the bare minimum to keep Chromium happy! Killall -9 matchbox-window-manager 2>/dev/null ![]() Killall -TERM matchbox-window-manager 2>/dev/null # Clean up previously running apps, gracefully at first then harshly Printf "=> Resetting frame-buffer to %dx%dx%d.\n" $_XRES $_YRES $_DEPTHįbset -all -geometry $_XRES $_YRES $_XRES $_YRES $_DEPTH -left 0 -right 0 -upper 0 -lower 0 Printf "=> Resetting screen to preferred mode: %s-%d (%dx%dx%d).\n" $_GROUP $_MODE $_XRES $_YRES $_DEPTH Printf "=> Screen is on, extracting preferred mode.\n"Įval $( edidparser /tmp/edid | fgrep 'preferred mode' | tail -1 | sed -Ene 's/^.+(DMT|CEA) \((+)\) (+)x(+)? ) Printf "=> Screen is not connected, off or in an unknown mode, waiting for it to become available.\n" While ! $( tvservice -dumpedid /tmp/edid | fgrep -qv 'Nothing written!' ) do # Wait for the TV-screen to be turned on. I want to do exactly that to a Pi, over SSH. Let me explain this more simply: Imagine what happens when you have an average Arch Linux computer with all the right X packages installed, and you type in 'startx' to start X. I need the Pi to legitimately run X, with a mouse cursor and everything. # In order to enable or disable this script just change the execution I don't think a dummy driver would be what I want. # Make sure that the script will "exit 0" on success or any other # This script is executed at the end of each multiuser runlevel. ![]() The videodev.h header file that MJPG-Streamer needs has been replaced with a videodev2.h. Upgrade: xserver-xorg-input-synaptics:armhf (1.8.2-1~bpo8+1, 1.8.3-2) The following command installs the three libraries that MJPG-Streamer uses: sudo apt-get install libjpeg8-dev imagemagick libv4l-dev. Install: libpam-systemd:armhf (215-17+deb8u5, automatic), libllvm3.9:armhf (3.9-4, automatic) Now su - pi -c "startx" & in /etc/rc.local doesn't work anymore. My raspberry pi (Jessie) updated xserver-xorg-core to 1.18.4 from 1.17.2
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |