maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   * The Truly Epic Maemo 5 MODs Thread * (https://talk.maemo.org/showthread.php?t=39565)

NokiaRocks 2010-02-10 22:37

Re: N900 MODs - share your MODs!!
 
@leetut : a summary of all the icons would be cool :)

alexbitzu 2010-02-10 22:58

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by CarstenDutch (Post 479656)

hi. how did u do the process tab there, please?
10x a lot...

mscarrot 2010-02-10 23:30

Re: N900 MODs - share your MODs!!
 
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
http://img.photobucket.com/albums/v6...0/DuckPink.jpg
Orange
http://img.photobucket.com/albums/v6...DuckOrange.jpg
Green
http://img.photobucket.com/albums/v6.../DuckGreen.jpg
Blue
http://img.photobucket.com/albums/v6...0/DuckBlue.jpg


Download Duck Icon set here

Of course all info included.

Hope you like them, would love your feedback !!

chucknaldo 2010-02-11 00:35

Re: N900 MODs - share your MODs!!
 
@mscarrot

Very clever idea with the animations and stuff. Nice one!

azstunt 2010-02-11 03:12

Re: N900 MODs - share your MODs!!
 
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).

Paranoxe 2010-02-11 03:35

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by azstunt (Post 520596)
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 :)

azstunt 2010-02-11 06:05

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by Paranoxe (Post 520613)
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 2010-02-11 06:09

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by leetut (Post 518245)
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.....

Diamorph 2010-02-11 10:56

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by mscarrot (Post 520363)
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
http://img.photobucket.com/albums/v6...0/DuckPink.jpg
Orange
http://img.photobucket.com/albums/v6...DuckOrange.jpg
Green
http://img.photobucket.com/albums/v6.../DuckGreen.jpg
Blue
http://img.photobucket.com/albums/v6...0/DuckBlue.jpg


Download Duck Icon set here

Of course all info included.

Hope you like them, would love your feedback !!


Adium for ever! :D

Palleman 2010-02-11 11:06

Re: N900 MODs - share your MODs!!
 
Quote:

Originally Posted by azstunt (Post 520596)
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


All times are GMT. The time now is 12:08.

vBulletin® Version 3.8.8