View Single Post
ejasmudar's Avatar
Posts: 800 | Thanked: 957 times | Joined on Sep 2010 @ India
#1
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
4. Enter root password when prompted


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
Color Name: white
Time Interval: any one
Random File Name: Scripts/tagline.txt
Location: any one, eg London
You can change these values as required.


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





FEATURES PLANNED FOR FUTURE
  • Image Rendering
  • Running Multiple Scripts at once, one below the other.
  • More flexible refresh timing options

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.
Attached Files
File Type: zip USbS_Installation.zip (439.3 KB, 940 views)
__________________
My Device History:Nokia 3510 > SE T230 > Nokia 6600 > HP2210 > SE p910i > SE p990i > N95 > I-mate 9502 > itouch > Nokia N900 > ? N9
My apps for N900:
Conversation Modder

My apps for N9:
LockScreenQuotes
USbS


If you feel I have helped you, don't forget to press Thanks!

Last edited by ejasmudar; 2012-05-13 at 11:48.
 

The Following 33 Users Say Thank You to ejasmudar For This Useful Post: