![]() |
2010-04-15
, 18:08
|
Posts: 156 |
Thanked: 90 times |
Joined on Jan 2010
|
#271
|
![]() |
2010-04-15
, 23:13
|
Posts: 27 |
Thanked: 5 times |
Joined on Mar 2010
|
#272
|
cat /sys/class/i2c-adapter/i2c-2/2-0063/power_level
![]() |
2010-04-16
, 00:06
|
Posts: 27 |
Thanked: 5 times |
Joined on Mar 2010
|
#274
|
![]() |
2010-04-16
, 00:21
|
|
Posts: 40 |
Thanked: 14 times |
Joined on Sep 2009
@ Monterrey Mexico
|
#275
|
![]() |
2010-04-18
, 23:59
|
Posts: 47 |
Thanked: 22 times |
Joined on Apr 2010
|
#276
|
![]() |
2010-04-19
, 04:35
|
Posts: 10 |
Thanked: 5 times |
Joined on Jan 2010
@ Tasmania, Australia
|
#277
|
Hi, not sure if this has been asked already but please please please could you build in a text wrapping feature. I have a command and the output is super long so I need it to automatically wrap on to the next line.
![]() |
2010-04-19
, 19:50
|
|
Posts: 40 |
Thanked: 14 times |
Joined on Feb 2010
@ UK
|
#278
|
Hi,
I have a script that freezes hildon when booting.
I resolved it with a little wrapper script that prevents it from running when uptime is less that 120 seconds.
Using this the desktop doesn't freeze when booting, just change your own script instead of the "genplaylists.sh ..." -line.Code:#!/bin/sh SAFELIMIT=120 if [ `cat /proc/uptime | awk '{ print int($1) }'` -gt $SAFELIMIT ] ; then genplaylists.sh /home/user/MyDocs/.sounds else cat /proc/uptime | awk -v limit="$SAFELIMIT" '{print "T-",limit-int($1)}' fi
And you can decrease the safe limit also, 120 seconds is a bit overkill.
# ssh to Dave (local or VPN) and hibernate ssh 192.168.69.50 'psshutdown -h -t 00 -accepteula'
![]() |
2010-04-19
, 19:56
|
Posts: 47 |
Thanked: 22 times |
Joined on Apr 2010
|
#279
|
Piping your command through fold might do what you need. For example:
command | fold -s -w 60
Note that I haven't tested this. More info on fold is available from http://unixhelp.ed.ac.uk/CGI/man-cgi?fold. Specifically the -w width may be of interest, depending on the width of your widget.
Not quite automatic word wrap, but this should work on a command-by-command basis.
![]() |
2010-04-23
, 12:41
|
Posts: 284 |
Thanked: 75 times |
Joined on Nov 2009
|
#280
|