Notices


Reply
Thread Tools
Posts: 146 | Thanked: 76 times | Joined on Feb 2010 @ Poland
#401
I want to make a command which checks if my network is up.
Something like this:

Code:
(test network_up && echo "Network Working!") || echo "No Network!"
What should replace network_up in the command for it to work?
I should somehow check all devices: gprs, wlan, usb network, etc.

Can anyone suggest anything?
__________________
Remember to click Thanks! if this post is of any help
 
Posts: 1 | Thanked: 0 times | Joined on Jun 2011 @ Bristol
#402
Hi. I've gone through the whole thread looking for the way to change font. I use version 1.10 of DCEW and it's really awesome or... it would be if there's some kind of font management. I think it was possible to change the font in previous versions (0.6 or 0.7) but in this version I can't change anything. I'd like to change font, its size and colour, but it seems that the development of this very useful application has stopped. Can I expect any update soon?
 
Posts: 1,603 | Thanked: 981 times | Joined on Aug 2010
#403
create two shell scripts which
  • display the core (CPU) temperature (bqtemp)
  • the power flow in mA (positive if charging, negative if on battery)
inspired from 2.2 Battery (via bq27200 chip) and bq27000.sh

as root place the two files in /usr/bin, remove the .txt extension (e.g. mv bqpwr.txt bqpwr) (optional) and make them executable

require i2cget and bq27000.sh in /usr/sbin

enjoy
Attached Files
File Type: txt bqpwr.txt (177 Bytes, 57 views)
File Type: txt bqtemp.txt (186 Bytes, 48 views)
__________________
information is a necessary though no sufficient condition to rationality...
 
Sandeep's Avatar
Posts: 107 | Thanked: 53 times | Joined on Nov 2010 @ Bangalore
#404
Is there any command to get the Playlist popup which we see when pressed on the Mediaplayer widget ??
 
Posts: 133 | Thanked: 80 times | Joined on Mar 2012 @ Russia
#405
What command it is possible to learn external an IP-address???
 
Posts: 235 | Thanked: 421 times | Joined on Nov 2011 @ Canada
#406
Here's the command I'm using with my QBW:

wget -t 2 -T 3 -q -O - checkip.dyndns.com | awk -F ": " '{print $2}' | awk -F "</" '{print $1}'
 

The Following 2 Users Say Thank You to shawnjefferson For This Useful Post:
sifo's Avatar
Posts: 1,359 | Thanked: 1,288 times | Joined on Oct 2011 @ Tartus.Syria
#407
@shawnjefferson

If it is working, please consider adding it to the wiki page.
http://wiki.maemo.org/Desktop_Comman...Widget_scripts

./sifo
__________________
[ N900-Crack ] [ The Purge ] [ New Smiles ] [ New icons ] [ ? ]
" Hey ! I've just met you and this is crazy, so install cssu maybe ? "
Please help out keeping Maemo.org alive, and consider donating.
https://www.facebook.com/ZoRk7
 
peterleinchen's Avatar
Posts: 2,020 | Thanked: 2,802 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#408
It is working (of course). And there is already a similar part in the wiki, sifo.
Nevertheless, I just have added it to wiki as api.myiptest.com sometimes is down (exactly now).
 

The Following 4 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 235 | Thanked: 421 times | Joined on Nov 2011 @ Canada
#409
Hi,

yes, that is why I am using checkip.dyndns.com. It seems to work all the time.
 
peterleinchen's Avatar
Posts: 2,020 | Thanked: 2,802 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#410
Yeah, it should so
But myiptest delivered some more info like provider and town ...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 09:16.