Active Topics

 



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: 2 | 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?
 
misterc's Avatar
Posts: 1,625 | Thanked: 998 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, 110 views)
File Type: txt bqtemp.txt (186 Bytes, 107 views)
__________________
information is a necessary though no sufficient condition to rationality...
 
Sandeep's Avatar
Posts: 110 | Thanked: 59 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: 138 | Thanked: 90 times | Joined on Mar 2012
#405
What command it is possible to learn external an IP-address???
 
Posts: 254 | Thanked: 509 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,292 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: 4,118 | Thanked: 8,901 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).
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 4 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 254 | Thanked: 509 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: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#410
Yeah, it should so
But myiptest delivered some more info like provider and town ...
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:49.