Notices


Reply
Thread Tools
Posts: 92 | Thanked: 14 times | Joined on Dec 2009 @ Toronto, Canada
#1
Hey all,

I am thinking a good app to make would be one that would add a restart option to menu that appears when you hit the power button. Right now it is only shut down. I doubt this is something Nokia will do for the main distro (although I may be wrong) so a nice simple app may work well.

I am not at all versed in coding (well not since some java back in High School, which is not supported anyway), but I am going to try to make this in python if I can over the next few weeks (I am sure someone who knows how to develop could do it in a couple hours). The coding should be very simple, just getting the actual SDK to do what I am looking for will likely be more of an issue.

Any tips would be appreciated.
 
Hotshot's Avatar
Posts: 305 | Thanked: 71 times | Joined on Dec 2009 @ 'Nam
#2
This is a much needed add on. I had an program on my touch pro 2 to do soft resets which was a life saver cause on the touch pro 2 you have to remove the battery cover to do so. And winmo phone is proned to needing soft resets alot
 
jaeezzy's Avatar
Posts: 664 | Thanked: 160 times | Joined on Jul 2008 @ Australia
#3
In my n810, I wrote script restart.sh and created a .desktop file in /usr/share/applications/hildon and linked them with Exec=/location/of/restart.sh. Icon appears in the menu and when clicked does the job for me. However, I'm not sure in n900 as it doesn't have menu like in n810.
 
ossipena's Avatar
Posts: 3,159 | Thanked: 2,023 times | Joined on Feb 2008 @ Finland
#4
Originally Posted by jaeezzy View Post
In my n810, I wrote script restart.sh and created a .desktop file in /usr/share/applications/hildon and linked them with Exec=/location/of/restart.sh. Icon appears in the menu and when clicked does the job for me. However, I'm not sure in n900 as it doesn't have menu like in n810.
http://wiki.maemo.org/Desktop_file_format
__________________
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
 

The Following 2 Users Say Thank You to ossipena For This Useful Post:
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#5
Originally Posted by canabal View Post
I am thinking a good app to make would be one that would add a restart option to menu that appears when you hit the power button. Right now it is only shut down. I doubt this is something Nokia will do for the main distro (although I may be wrong) so a nice simple app may work well.
Nokia already thought of that.

Edit /etc/systemui/systemui.xml and remove the "<!--" and "-->" lines. Reboot, and you'll get a reboot option there (along with some others).
 

The Following 3 Users Say Thank You to qwerty12 For This Useful Post:
Posts: 92 | Thanked: 14 times | Joined on Dec 2009 @ Toronto, Canada
#6
Damn, I needed an excuse to write a program and get me learning to code, now that is gone.

Oh well, now to look for something else.

Thanks through.
 
Posts: 355 | Thanked: 566 times | Joined on Nov 2009 @ Redstone Canyon, Colorado
#7
Warning: rebooting your device 17 times without shutting it down cleanly may cause it to brick!

https://bugs.maemo.org/show_bug.cgi?id=6350
 
Posts: 393 | Thanked: 67 times | Joined on Feb 2010
#8
Does the problem of rebooting your N900 17 times without shutting it down still make it a brick?

I wanted to add the reboot button to the dropdown menu, but now I don't know if it its safe.

Any ideas?

Originally Posted by jebba View Post
Warning: rebooting your device 17 times without shutting it down cleanly may cause it to brick!

https://bugs.maemo.org/show_bug.cgi?id=6350
 
Reply


 
Forum Jump


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