Active Topics

 



Notices


Reply
Thread Tools
Posts: 59 | Thanked: 168 times | Joined on Mar 2010 @ Finland
#581
Script to display random one line tag aphorisms from a text file :-)

Code:
#!/bin/sh
FILE=/home/user/scripts/taglines.txt
awk 'BEGIN { srand() }
{ l[NR]=$0 }
END { print l[int(rand() * NR + 1)] }' "$FILE"
Sample Screenshot
Attached Images
 
 

The Following 5 Users Say Thank You to jpel For This Useful Post:
Posts: 277 | Thanked: 319 times | Joined on Jan 2010
#582
Where'd you find the battery icon?
 
Posts: 59 | Thanked: 168 times | Joined on Mar 2010 @ Finland
#583
Originally Posted by slarti View Post
Where'd you find the battery icon?
Icons shown are found from emoji keyboard:

http://forums.internettablettalk.com...ad.php?t=87715
 

The Following 2 Users Say Thank You to jpel For This Useful Post:
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#584
any script for display swap memory?
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Moderator | Posts: 6,215 | Thanked: 6,400 times | Joined on Nov 2011
#585
Originally Posted by TMavica View Post
any script for display swap memory?
create your own free is the command to see memory usage...

So something like free swap would just need "free | awk '{print $4}' | tail -1"

Last edited by thedead1440; 2013-01-30 at 19:27.
 
TMavica's Avatar
Posts: 2,021 | Thanked: 1,060 times | Joined on Apr 2010 @ Hong Kong
#586
i know, LOL
__________________
The Glorious Lady T.Mavica
Twitter https://twitter.com/TMavica
 
Posts: 142 | Thanked: 72 times | Joined on Jan 2013
#587
Originally Posted by thedead1440 View Post
create your own free is the command to see memory usage...

So something like free swap would just need "free | awk '{print $4}' | tail -1"
Looking great to view free swap from standby screen i/o open drop cache or sth.. But mine cannot work with this script. Can you show guide more..
 
MK99's Avatar
Posts: 644 | Thanked: 480 times | Joined on Jul 2012 @ Finland
#588
Need to make script:
Code:
#!/bin/sh

free | awk '{print $4}' | tail -1
 
Posts: 277 | Thanked: 235 times | Joined on Jan 2012
#589
@THP,


Any way to make the weather icons through billboard look exactly like the ones used by Meecast? When I use them they seem to lack the resolution/detail and color. Thanks
 
thp's Avatar
Posts: 1,391 | Thanked: 4,272 times | Joined on Sep 2007 @ Vienna, Austria
#590
Originally Posted by justadude View Post
Any way to make the weather icons through billboard look exactly like the ones used by Meecast? When I use them they seem to lack the resolution/detail and color.
If you mean the scaling of icons done by Billboard, I have already fixed that here locally and it will be part of the next release (instead of scaling embedded images and icons, they will have their original size and be centered vertically).

If you mean the lack of color shades in the low power mode screen, that's a hardware limitation, although it can sometimes help to set the "Color Profile" (Settings - Device - Display - Color Profile) to "Vivid" (this is also needed to get pure green to display correctly/at all, at least on some devices).
 
Reply


 
Forum Jump


All times are GMT. The time now is 03:07.