Reply
Thread Tools
Posts: 188 | Thanked: 88 times | Joined on Sep 2006
#31
sorry, didn't have the N9 in hand when I wrote that..

What was the output of:
ls -ld /home/user/LOCKSCREENQUOTES

For the chown command, try:
chown user [dirname]
__________________
If I said something useful, please hit the 'Thanks!' link related to that post.
 
Posts: 19 | Thanked: 1 time | Joined on Nov 2011
#32
ls -ld /home/user/LOCKSCREENQUOTES
i get
drwxrwxr-x 2 user users 4096 Jan 29 12:03 /home/user/LOCKSCREENQUOTES
chown user /home/user/LOCKSCREENQUOTES
i get
chown : /home/user/LOCKSCREENQUOTES: Operation not permitted
 
Posts: 188 | Thanked: 88 times | Joined on Sep 2006
#33
well, your user 'user' already owns the directory, so no need for the chown command.

Are you running those commands as root or user?
Do
whoami
to know (the # at the start of the line indicates root). If you are logged in as developer, I can see that would be a problem...
__________________
If I said something useful, please hit the 'Thanks!' link related to that post.
 
Posts: 19 | Thanked: 1 time | Joined on Nov 2011
#34
whoami

root
 
Posts: 188 | Thanked: 88 times | Joined on Sep 2006
#35
as user, do:
touch /home/user/LOCKSCREENQUOTES/.test.png
chmod a+w /home/user/LOCKSCREENQUOTES/.test.png
chmod a+w /home/user/LOCKSCREENQUOTES

and btw you should normally run the script as user, not as root, iirc...
__________________
If I said something useful, please hit the 'Thanks!' link related to that post.
 

The Following User Says Thank You to aRTee For This Useful Post:
Posts: 19 | Thanked: 1 time | Joined on Nov 2011
#36
Originally Posted by aRTee View Post
as user, do:
touch /home/user/LOCKSCREENQUOTES/.test.png
chmod a+w /home/user/LOCKSCREENQUOTES/.test.png
chmod a+w /home/user/LOCKSCREENQUOTES

and btw you should normally run the script as user, not as root, iirc...
thanks to you i fix the problem
 
caco3's Avatar
Posts: 556 | Thanked: 403 times | Joined on May 2010 @ Switzerland
#37
For your information:
I succeeded to create an application which shows daily bible verses om the standbyscreen.
It does all the needed steps needed as mentioned in post #1. Uninstalling it will undo those changes again.
I will release the code once I tested it a bit more.
__________________
On N9 check out this:
CacheMe 4 the N9, a geocaching client / MiniBible, a bible viewer / TheWord brings daily bible verses onto your phone / BatteryGraph to monitor the battery drainage / doublepress2unlock to unlock your phone with a double press onto the power button / GPRS Data Usage to monitor your GPRS data usage /
and more...

On N900 check out this: SleepAnalyser to analyse your sleep movements / PasswordMaker a for a password generator
 
ejasmudar's Avatar
Posts: 800 | Thanked: 954 times | Joined on Sep 2010 @ India
#38
I've been waiting for long for LPSMagic 2.0 with plugin system and there seems to be no news on that. So tired of waiting, I're rewritten this app from the group up with a modular structure. I will release it formally when I've polished it a bit and packed it. Right now I'm uploading just the files which can be placed according to the directory structure in the archive.

Basics:

The app is named USbS (Useful Standby Screen). It can display the output of any script placed in /home/user/USbS/Scripts/. It works more or less like QBW on the n900.

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)

If the files are placed in the proper places, a new menu item will be available under Settings>Applications>USbS. This is where the behaviour of the aapp can be controlled.

When I create a deb, default values will be created, but for now, please use the following values as default.
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.

You can run the app by typing USbS.sh into the terminal (needs developer mode). Right now, I've made it not run on boot or run silently. This is so that bugs can be caught and identified.

If you're getting permission errors running USbS.sh, become root and do
Code:
chmod +x /usr/bin/USbS.sh
Do let me know what you think.

PS:dependencies are python, python-imaging and wget
Attached Files
File Type: zip USbS.zip (438.6 KB, 85 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; 05-06-2012 at 09:03 AM.
 

The Following 5 Users Say Thank You to ejasmudar For This Useful Post:
Posts: 40 | Thanked: 27 times | Joined on Feb 2012 @ Germany
#39
Sounds great and interesting, please go on.
 
Posts: 51 | Thanked: 32 times | Joined on Dec 2010
#40
and the weather will be look like? i have only text nothing else..
 
Reply

Thread Tools

 
Forum Jump


All times are GMT -4. The time now is 05:28 PM.