![]() |
Re: [Support thread] Billboard Standby Screen
Hello.
I copied your sample script verbatim and saved is plain text "wtc.sh" in a "/home/user/MyDocs/scripts" directory. Then I pointed Billboard to it via: {script:/home/user/MyDocs/scripts/wtc.sh} But nothing comes up except the {weekday} and {date} that I already have set a line above it. :confused: Quote:
|
Re: [Support thread] Billboard Standby Screen
Quote:
|
Re: [Support thread] Billboard Standby Screen
I have a suggestion...
I'm running out of rows to display info I want visible at all the time. I tried changing text size to Small in hope that I'll gain more space for more rows, but frame itself shrinks too. Can that be separated? Temp frame size set to biggest possible and then text on it rendered separately in it's own size, so some of us can gain more rows? |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
{song!{network-name}} |
Re: [Support thread] Billboard Standby Screen
1 Attachment(s)
Quote:
I added the #!/bin/sh, saved the file to /home/user, and did the chmod command. I noticed if I tried the chmod after logging in to root, it replied with, "Operation not permitted." But if I did it immediately after starting Terminal, it just returned to the command prompt. So I assume all is well [?]. Then I added it to Billboard. But nothing comes up. I've attached my sh file, perhaps I missed something? Thanks again for your help. |
Re: [Support thread] Billboard Standby Screen
1 Attachment(s)
Arf the Lab,
Your line endings are Windows not Unix hence the issue... Edit: Attached your script with the change in line endings... |
Re: [Support thread] Billboard Standby Screen
Quote:
Quote:
One more thing, though -- is it possible to get the date for these locations to display as DDMMYY instead of YYYYMMDD (i.e. "11/27/12" or "11-27-2012" instead of "2012-11-27"?) And display time as 12-hour format instead of 24-hour format? Thanks. |
Re: [Support thread] Billboard Standby Screen
Quote:
Code:
date +"%m/%d/%y %H:%M" Code:
date +"%m-%d-%Y %H:%M" |
Re: [Support thread] Billboard Standby Screen
Some other useful(?) hints:
kernel name and arch: Code:
echo "krn: "`uname -r | cut -f1 -d"-"`"-"`uname -m` Code:
echo "la: "`cat /proc/loadavg | cut -f1,2,3 -d" "` Code:
uptime=`cat /proc/uptime` Code:
echo "mem: "`awk '/MemFree/ {printf( "%.0f\n", $2 / 1024 )}' /proc/meminfo`"/"`awk '/MemTotal/ {printf( "%.0f\n", $2 / 1024 )}' /proc/meminfo`"M" Code:
echo "disk: "`df -hP | awk '/MyDocs/ {printf( "%.1f\n", $4 )}'`"/"`df -hP | awk '/MyDocs/ {printf( "%.1f\n", $2 )}'`"G" |
Re: [Support thread] Billboard Standby Screen
Wow, this is a very helpful, informative community. That's great, and sadly not so common.
Thanks! |
All times are GMT. The time now is 20:53. |
vBulletin® Version 3.8.8