lcdproc should be installed by default and configured if a VFD display is selected at remote selections
Bug #137451 reported by
ironstorm
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mythbuntu |
Expired
|
Wishlist
|
Unassigned |
Bug Description
I have an iMON remote + VFD.
Ideally, LCDproc would be automatically configured through scripting it something like this:
export VFD_DRIVER=imon
sudo sh -c "sed -e \"s/^Driver=
sudo sh -c "mv /etc/LCDd.conf.tmp /etc/LCDd.conf"
sudo /etc/init.d/LCDd restart
description: | updated |
Changed in mythbuntu: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
Changed in mythbuntu: | |
milestone: | none → 8.04-alpha1 |
To post a comment you must log in.
While you are at it you can brand the Goodbye msg as follows, so that when LCDd proc terminates the VFD continues to display:
hostname
(Mythbuntu <ver>)
Here's the code to modify LCDd.conf (must be root, assumes 16x2 VFD): goodbye= $(hostname | awk '{l=length( );s=int( (16-l)/ 2); printf "%"(s+l)"s\n",$0}') goodbye= "(Mythbuntu $(cat /etc/lsb-release | grep DISTRIB_RELEASE | cut -d= -f2))" \"Thanks for using\" /GoodBye= \"$lcd_ host_goodbye\ "/" -e "s/#GoodBye=\" LCDproc\ !\"/GoodBye= \"$lcd_ tag_goodbye\ "/" /etc/LCDd.conf > /etc/LCDd.conf.tmp
IFS='
'
export lcd_host_
export lcd_tag_
sed -e "s/#GoodBye=
mv /etc/LCDd.conf.tmp /etc/LCDd.conf
/etc/init.d/LCDd restart