[Announce] USbS for N9
1 Attachment(s)
Background
I've been waiting for long for LPSMagic 2.0 with plugin system and there seems to be very less news on that. So tired of waiting, I've rewritten my old LockScreenQuotes app from the groud up with a modular structure. I have been struggling with packaging this for the past one week to no avail. So now, I am releasing this app with a simple installation script. Now onto the app What is USbS? The app is named USbS (Useful Standby Screen). It can display the output of any script placed in /home/user/USbS/Scripts/ on the LowPower Screen (when the device is sleeping). It works somewhat like a single widget of QBW on the n900 (albeit not as advanced!). PREREQUISITE 1. The device must be in developer mode. 2. Operator logo must be enabled (follow this post) Installation 1. Unzip the attached file to your N9. 2. Open terminal and cd to wherever you've unzipped the file (eg: cd /home/user/MyDocs/usbs) 3. Enter in terminal: Code:
sh install.sh CONFIGURING Out of the box, I've included 4 scripts- random_line.sh, daydate.sh, weather.sh and iplresults.sh (the first 3 were written for this app, while the last was taken directly from a script I made fr Queen Beecon Widget on my N900 during the cricket world cup) For configuration, a new menu item will be available under Settings>Applications>USbS. This is where the behaviour of the app can be controlled. The following are sample values that can be used in the settings panel Code:
Plugin Name: random_line.sh RUNNING You can run the app by typing USbS.sh into the terminal. Right now, I've made it not run on boot or run silently. This is so that bugs can be caught and identified. This means that the terminal must not be closed while running the app. (However, if required, it can be run silently by entering "USbS.sh &") SCREENSHOTS http://i.imgur.com/L2JE2.pnghttp://i.imgur.com/iQB8E.png http://i.imgur.com/oaUfl.jpghttp://i.imgur.com/AEyN0.jpg http://i.imgur.com/heVNw.jpghttp://i.imgur.com/OfuBm.jpg FEATURES PLANNED FOR FUTURE
If you've created a script to show some info on the screen with this app, please post it here for others also. Do let me know what you think. |
Re: [Announce] USbS for N9
As an example of user created scripts, this is something created by P4d0uch:
http://talk.maemo.org/attachment.php...1&d=1336889015 from this post: http://talk.maemo.org/showpost.php?p...1&postcount=49 As you can see, he has created a script that shows a lot more info about the device on the screen. |
Re: [Announce] USbS for N9
Hi ejasmudar,
Thanks for sharing your work. I've noticed you're using a sleep command to update the screen and this is not ideal for power consumption. If it helps you to improve it in a future version here is info on the recommended way: http://harmattan-dev.nokia.com/docs/...heartbeat.html cheers |
Re: [Announce] USbS for N9
can this be implemented on the N900. since we have no good app for showing barclays premier league or smthng like that. we can use this to show the scores. may be some quotes like the screenshot. or weather etc. it would be great.
|
Re: [Announce] USbS for N9
Quote:
|
Re: [Announce] USbS for N9
zip had lot of ^M dos line-endings that I had to clean out before using.
|
Re: [Announce] USbS for N9
A couple more things:
- in the imager.py, the line "#!/usr/bin/python" needs to be the first line. Then you will be also able to invoke it directly. - in the main.sh, line 23 is not needed. |
Re: [Announce] USbS for N9
1 Attachment(s)
Here is the screenshot of custom modification that I did. Shows date, weather, all the active interfaces ip numbers, and battery status and battery consumption and charging mA's.
|
Re: [Announce] USbS for N9
Hi...
I've tried installing it manually (per other thread you posted it in) and with the install.sh from this thread, but no dice, it won't start when writing *USbS.sh* I get this Code:
Installation over. If successful, you can runthe app by entering the command USbS.sh. What to do, please advise. Regards Dousan... |
Re: [Announce] USbS for N9
Quote:
|
All times are GMT. The time now is 14:00. |
vBulletin® Version 3.8.8