Notices


Reply
Thread Tools
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#271
Please try the new FM transmitter script which you can found in wiki.
 
Posts: 27 | Thanked: 5 times | Joined on Mar 2010
#272
So I updated my script, but it does not work (unlike fmboost application)
I check the power level using this command
Code:
cat /sys/class/i2c-adapter/i2c-2/2-0063/power_level
 
Posts: 156 | Thanked: 90 times | Joined on Jan 2010
#273
Please retry with brand new one. Btw: you do have "rootsh" installed, right?
 

The Following User Says Thank You to rooted For This Useful Post:
Posts: 27 | Thanked: 5 times | Joined on Mar 2010
#274
success, it works now! thank you
 
matristain's Avatar
Posts: 40 | Thanked: 14 times | Joined on Sep 2009 @ Monterrey Mexico
#275
Hi again , I have already done my last request (make a call , wait 4:30minutes and if call is till active hang up and dial again).

I dont want to be off topic but now this is my question.

Is there a wey to get this done?
1.- Remove the WEB icon (launch microB browser) from the menu.
2.- Use the "Desktop Command Execution Widget" or a desktop shortcut to a little app.(.sh or .py) that ask for a password before Launching the Browser.

If there's no master password for the browser maybe we can prevent simple users to use It.

this may also be useful for other apps like Email client.
 
Posts: 47 | Thanked: 22 times | Joined on Apr 2010
#276
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.

Awesome Widget otherwise =D
 
Posts: 10 | Thanked: 5 times | Joined on Jan 2010 @ Tasmania, Australia
#277
Originally Posted by Jinux View Post
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.
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.
 
Davey101's Avatar
Posts: 40 | Thanked: 14 times | Joined on Feb 2010 @ UK
#278
Originally Posted by timperi View Post
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.

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
Using this the desktop doesn't freeze when booting, just change your own script instead of the "genplaylists.sh ..." -line.
And you can decrease the safe limit also, 120 seconds is a bit overkill.
This is very useful thanks, at least until the new version comes along.

I have a couple of commands to wake and hibernate my (Windows XP) desktop PC over my wifi or vpn, so I don't want them both to be executed on every boot of the N900.

However, my hibernate script (using psshutdown and freesshd) is hanging every time it is successfully executed. I'm not yet sure whether that is fixable but it was causing the N900 desktop to hang, so I implemented a timeout to kill the script after a few seconds.

This page led me to this script which does the job perfectly.

Here is my problem script, if anyone can suggest improvements:
Code:
# ssh to Dave (local or VPN) and hibernate
ssh 192.168.69.50 'psshutdown -h -t 00 -accepteula'
__________________
Dave
 
Posts: 47 | Thanked: 22 times | Joined on Apr 2010
#279
Originally Posted by mjec View Post
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.
I'll check that out
 
Posts: 284 | Thanked: 75 times | Joined on Nov 2009
#280
This app seems to kill my hildon-home and after reboot I get blank desktops... Anyone got anything similar or workarounds?

N900 is still usable so I just uninstall and reboot... apps come back... Annoying though as I want to use this to activate the handwriting recognition script.
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:34.