Jetway-mediaplayer: Difference between revisions

From XPUB & Lens-Based wiki
(Created page with "= Jetways - nettop - media player = MMCD has a few Jetways nettop computers, which we use as media players for shows. Although they can be set to do other "jobs" http://lilip...")
 
 
(2 intermediate revisions by one other user not shown)
Line 17: Line 17:
* user passw: pzi
* user passw: pzi


* su: xpub/xpub


=== auto login ===
=== auto login ===
Line 31: Line 32:
in ~/bash_profile  
in ~/bash_profile  


<code>if [ -z &quot;$DISPLAY&quot; ] &amp;&amp; [ $(tty) = /dev/tty1 ]; then    while true    do    startx --    sleep 10    done fi</code>  
<code>if [ -z &quot;$DISPLAY&quot; ] &amp;&amp; [ $(tty) = /dev/tty1 ]; then    while true    do    startx --    sleep 10    done fi</code>
 
 
=== auto mmount==='''
HOW IS AUTO MOUNT DONE IN JETWAYS?'''
 
 
Config file: /etc/usbmount/usbmount.conf
 
Line: <code>FS_MOUNTOPTIONS=&quot;-fstype=vfat,flush,gid=plugdev,dmask=0007,fmask=0117&quot;</code> allows users in the plugdev group to write to mounted devices
 


= Applications =
= Applications =
Line 96: Line 87:
* slideshow - Artyom
* slideshow - Artyom
* video-loop
* video-loop
= Issues=
=== auto mount===
'''HOW IS AUTO MOUNT DONE IN JETWAYS?'''
Config file: /etc/usbmount/usbmount.conf
Line: <code>FS_MOUNTOPTIONS=&quot;-fstype=vfat,flush,gid=plugdev,dmask=0007,fmask=0117&quot;</code> allows users in the plugdev group to write to mounted devices


== missing network hardware ==
== missing network hardware ==
Line 104: Line 106:


http://forums.debian.net/viewtopic.php?f=17&amp;t=72645
http://forums.debian.net/viewtopic.php?f=17&amp;t=72645
[[Category:Helpdesk]]

Latest revision as of 18:15, 23 June 2022

Jetways - nettop - media player

MMCD has a few Jetways nettop computers, which we use as media players for shows. Although they can be set to do other "jobs"

jetway-nettop.jpg


Configuration

  • operating system: Debian (Jessie)
  • window manager: evilwm: For launching a terminal do Ctl+Alt+Return


configuration

  • hostname: mmdc-tiny
  • root passw: PietZwart
  • user: student
  • user passw: pzi
  • su: xpub/xpub

auto login

Is set to user student.


As SystemV is no longer in use in recent versions of Debian, and instead Systedmd is used /etc/inittab settings are no longer performed.

Instead this post indicated /etc/systemd/system/getty.target.wants/getty@tty1.service and /etc/systemd/system/getty@tty1.service.d/autologin.conf needed to be edited

auto startx

in ~/bash_profile

if [ -z "$DISPLAY" ] && [ $(tty) = /dev/tty1 ]; then while true do startx -- sleep 10 done fi

Applications

run on startx

use .xinitrc file to decide what applications/scripts will run when your window manager (x server) starts.

#!/bin/sh

/home/student/bin/nosleep.sh &amp;
/home/student/bin/run-jackd.sh &amp;
#/home/student/bin/slideshow.sh &amp;
/home/student/bin/video-loop.sh &amp;


## Scrensaver off
exec xset s off
exec xset -dpms #disable DMPS (every star) features
exec xset s noblank

audio output

As media player software the Jetways use mpv

Its audio output can be changed from analog audio out to HDMI audio out, by editing the mpv line in /home/student/bin/video-loop.sh:

mpv --fs --loop=inf --audio-device=jack --volume=25 $DIR

# --audio-device=jack -- audio to analog audio output
# --audio-device=alsa -- audio to HDMI audio output

Applications

  • evilwm
  • x-11
  • mpv
  • emacs
  • feh
  • alsa-utils
  • jackd
  • openssh-server
  • iceweasel
  • chromium
  • sshfs
  • smartmontools
  • terminator

Scripts: in /home/student/bin/

  • nosleep.sh
  • run_jackd.sh
  • slideshow - Artyom
  • video-loop

Issues

auto mount

HOW IS AUTO MOUNT DONE IN JETWAYS?


Config file: /etc/usbmount/usbmount.conf

Line: FS_MOUNTOPTIONS="-fstype=vfat,flush,gid=plugdev,dmask=0007,fmask=0117" allows users in the plugdev group to write to mounted devices


missing network hardware

missing firmware rtl_nic/rtl18168d-1.fw

https://packages.debian.org/wheezy/firmware-realtek

http://forums.debian.net/viewtopic.php?f=17&t=72645