Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
computer:magichd_video_server [2018/03/12 14:30]
tdobes
computer:magichd_video_server [2018/03/12 14:45]
tdobes
Line 89: Line 89:
 echo >> /​etc/​systemd/​system/​magichd.service echo >> /​etc/​systemd/​system/​magichd.service
 echo '​[Service]'​ >> /​etc/​systemd/​system/​magichd.service echo '​[Service]'​ >> /​etc/​systemd/​system/​magichd.service
-echo '​ExecStart=-/​opt/magicq/runmagichd.sh' >> /​etc/​systemd/​system/​magichd.service+echo '​ExecStart=-/​usr/local/bin/​startmagichdfullscreen.sh' >> /​etc/​systemd/​system/​magichd.service
 echo '​User=lightboard'​ >> /​etc/​systemd/​system/​magichd.service echo '​User=lightboard'​ >> /​etc/​systemd/​system/​magichd.service
 echo '​Environment=DISPLAY=:​0'​ >> /​etc/​systemd/​system/​magichd.service echo '​Environment=DISPLAY=:​0'​ >> /​etc/​systemd/​system/​magichd.service
Line 127: Line 127:
 chmod +x /​usr/​local/​bin/​lightboard-xsession.sh chmod +x /​usr/​local/​bin/​lightboard-xsession.sh
 ln -s /​usr/​local/​bin/​lightboard-xsession.sh /​home/​lightboard/​.xsession ln -s /​usr/​local/​bin/​lightboard-xsession.sh /​home/​lightboard/​.xsession
 +
 +echo '#​!/​bin/​sh'​ > /​usr/​local/​bin/​startmagichdfullscreen.sh
 +echo >> /​usr/​local/​bin/​startmagichdfullscreen.sh
 +echo "/​bin/​sh -c '​xdotool search --sync --name ^MagicHD$ && sleep 2 && xdotool search --sync --name ^MagicHD$ windowactivate --sync key --delay 100 alt+v key t' &" >> /​usr/​local/​bin/​startmagichdfullscreen.sh
 +echo "exec /​opt/​magicq/​runmagichd.sh"​ >> /​usr/​local/​bin/​startmagichdfullscreen.sh
 +chmod +x /​usr/​local/​bin/​startmagichdfullscreen.sh
 </​code>​ </​code>​
   * ''​%%echo needs_root_rights=yes >> /​etc/​X11/​Xwrapper.config%%''​ # see https://​bugs.debian.org/​cgi-bin/​bugreport.cgi?​bug=856351   * ''​%%echo needs_root_rights=yes >> /​etc/​X11/​Xwrapper.config%%''​ # see https://​bugs.debian.org/​cgi-bin/​bugreport.cgi?​bug=856351
computer/magichd_video_server.txt · Last modified: 2018/03/12 15:19 by tdobes
Recent changes RSS feed Driven by DokuWiki Valid XHTML 1.0 Valid CSS