Reply
Thread Tools
NokiaRocks's Avatar
Posts: 658 | Thanked: 117 times | Joined on Jan 2010
#621
@leetut : a summary of all the icons would be cool
 
Posts: 14 | Thanked: 0 times | Joined on Dec 2009
#622
Originally Posted by CarstenDutch View Post
Also modified,

hi. how did u do the process tab there, please?
10x a lot...
 
mscarrot's Avatar
Posts: 105 | Thanked: 46 times | Joined on Dec 2009 @ The Netherlands
#623
My Second Menu Icon set.

These are so sweet,
this Duck closes his eyes when pressed
and when you receive a mail, IM or SMS
it even flaps his wings for a short time.

Pink

Orange

Green

Blue



Download Duck Icon set here

Of course all info included.

Hope you like them, would love your feedback !!
 

The Following 10 Users Say Thank You to mscarrot For This Useful Post:
Posts: 15 | Thanked: 2 times | Joined on Dec 2009
#624
@mscarrot

Very clever idea with the animations and stuff. Nice one!
 
Posts: 43 | Thanked: 32 times | Joined on Jan 2010
#625
How to disconnect automatically from idle networks (3g/2g/wi-fi)

Before you start, you'll need to install vim and rootsh, both found in the extras repository. (if you don't know how to use vim, google "vim manual")

1) In xterminal input
Code:
sudo gainroot
2) In xterminal input
Code:
vim /usr/local/bin/autodisconnect
3) Contents of /usr/local/bin/autodisconnect:
Code:
#!/bin/sh
sleep 180
a=`tail -1 /proc/net/route | cut -f1`
b=`ifconfig $a | grep RX.b | cut -d"(" -f1 | cut -d: -f2`
while [ "$a" != "Iface" ] 
do
       c=`expr $b + 1000`
       sleep 180
       b=`ifconfig $a | grep RX.b | cut -d"(" -f1 | cut -d: -f2`
       a=`tail -1 /proc/net/route | cut -f1`
       if [ "$b" -lt "$c" -a "$a" != "Iface" ]; then
              dbus-send --system --dest=com.nokia.icd /com/nokia/icd_ui com.nokia.icd_ui.disconnect boolean:true
              sleep 10
              a=`tail -1 /proc/net/route | cut -f1`
       fi
done

exit 0
4) In xterminal input
Code:
chmod a+x /usr/local/bin/autodisconnect
5) In xterminal input
Code:
vim /etc/network/if-up.d/00_autodisconnect
6) Contents of /etc/network/if-up.d/00_autodisconnect
Code:
!#/bin/sh
#Run a script to disconnect idle networks

console none

script
              /usr/local/bin/autodisconnect
end script

exit 0
7) In xterminal input
Code:
chmod a+x /etc/network/if-up.d/00_autodisconnect
8) Reboot device

9) Enjoy!

Extra instructions for those looking specific funcionallity:

a) If you want to disconnect only from wi-fi change line 5
Code:
while [ "$a" != "Iface" ]
to
Code:
while [ "$a" == "wlan0" ]
b) You can also play with two values:

i) The constant (1000 in this case) in line 7 is about how many bytes must be receiven in a given period of time (the sleep time in line 9) to consider the connection in use. Anything less than that is considered idle. I also recomend a low number because I still don't know exactly how does it get along with idling in IM (but you still want to stay "Avalaible"). If you get randomly disconnected when idling in IM lower the value.

ii) The sleep time in line 8 determines when you'll disconnect automatically. It will almost never be the exact time indicated. If you stop using your connection it should disconnect in a range of x to 2x seconds of the time set (x being the sleep time).

Any questions post here: http://talk.maemo.org/showthread.php...499#post518499 . Hope it works for you. Both posts will be kept updated (if I ever change anything else).

Last edited by azstunt; 2010-02-11 at 06:05.
 

The Following 8 Users Say Thank You to azstunt For This Useful Post:
Posts: 24 | Thanked: 20 times | Joined on Dec 2009 @ Montréal, Canada
#626
Originally Posted by azstunt View Post
How to disconnect automatically from idle networks (3g/2g/wi-fi)
...
Any questions post here: http://talk.maemo.org/editpost.php?do=editpost&p=518499 . Hope it works for you. Both posts will be kept updated (if I ever change anything else).
Thank you!

The url doesn't work. It is http://talk.maemo.org/showthread.php...499#post518499 instead
 
Posts: 43 | Thanked: 32 times | Joined on Jan 2010
#627
Originally Posted by Paranoxe View Post
Thank you!

The url doesn't work. It is http://talk.maemo.org/showthread.php...499#post518499 instead
Thanks for the heads up... I made it too fast and did not notice I copied the wrong url.
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#628
Originally Posted by leetut View Post
bro funny thing is this forum seems to have the easiest search function of any forum ive used!
so yeah i have searched this forum, what do you suggest i search for?
i dont 'have user error with the app' what so ever?
the app just does not work i.e. will not install, nothing, nada, zip, you get me bro
there is not even a program to install in that link you gave?
just 4 .jar files
they wont install in my vista32 pc?
so theme maker (both versions ive tried) do not work!
therefor ill keep changing the themes on my phone, is that ok boss
i typed the name of app I linked here, and copypasted a search result to my previous post. If you would have read it, you would know why you didn't manage to get the app working.....
__________________
Want to know something?
K.I.S.S. approach:
wiki category:beginners. Browse it through and you'll be much wiser!
If the link doesn't help, just use
Google Custom Search
 
Diamorph's Avatar
Posts: 54 | Thanked: 29 times | Joined on Jan 2010 @ Kaiserslautern - Germany
#629
Originally Posted by mscarrot View Post
My Second Menu Icon set.

These are so sweet,
this Duck closes his eyes when pressed
and when you receive a mail, IM or SMS
it even flaps his wings for a short time.

Pink

Orange

Green

Blue



Download Duck Icon set here

Of course all info included.

Hope you like them, would love your feedback !!

Adium for ever!
__________________
www. DiaMorph .de
 
Posts: 123 | Thanked: 33 times | Joined on Jan 2010 @ Stockholm
#630
Originally Posted by azstunt View Post
How to disconnect automatically from idle networks (3g/2g/wi-fi)
Idle networks? Last time I saw one of those creatures must've been in 1987.
/P
 
Reply

Tags
maemo mods, mods thread


 
Forum Jump


All times are GMT. The time now is 14:00.