Innoxius Posted February 3, 2014 Report Share Posted February 3, 2014 Daca folositi aplicatia Bilboard, puteti sa afisati pe ecranul stand-by consumul de date. 1. Se creaza fisierul urmator si ii dati ce nume doriti, extensia .sh #!/bin/sh tx=$(gconftool -g /cellui/settings/datacounter/transfer/gprs_home_tx_bytes) rx=$(gconftool -g /cellui/settings/datacounter/transfer/gprs_home_rx_bytes) txMB=$(($tx/1000000)) rxMB=$(($rx/1000000)) total=$((($tx+$rx)/1000000)) echo "U: $txMB MB / D: $rxMB MB / T: $total MB" 2. Se copiaza oriunde in /home/user/ 3. In Terminal, in locul unde l-ati copiat, il schimbati permisiunile pentru a putea fi rulatchmod 775 gprs-total.shsau chmod a+rx gprs-total.sh4. Tot in Terminal, il rulati pentru a vedea daca functioneaza corectsh gprs-total.shAr trebui sa afiseze pe un rand ceea ce apare pe ultima linie a scriptului, intre ghilimelele duble. 5. In Bilboard, adaugati linia corespunzatoare ca in figura 6. Inchideti Bilboard si intrati in stand-by. Sursa NokNok 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.