Reply
Thread Tools
Aranel's Avatar
Posts: 301 | Thanked: 227 times | Joined on Nov 2009 @ Turkey
#1
Hi,

I want to create a very small app/shell script to automatically pick a random wallpaper from a given folder and set it as lockscreen wallpaper every X minutes. (Yes I know it may consume battery a bit) It has to be transparent, so when user double-taps on screen he'll see a different wallpaper if the timer reached X.

Problem is, I don't know how to change lockscreen wallpaper from outside? Is there an API call or one-liner code to change wallpaper, where should I take a look at? It'd be great if someone supplied with me the exact call/code
__________________
Maemo/MeeGo/Tizen Turkey - http://meegoturkiye.org & http://tizenturkiye.com
N900: Turkish Localization | MT Theme | VodaSMS
N9: MeeSaver
Maintaining: Audelicious | xmp

Last edited by Aranel; 2012-01-12 at 21:10.
 

The Following User Says Thank You to Aranel For This Useful Post:
Posts: 24 | Thanked: 24 times | Joined on Dec 2011
#2
gconftool --type string -s /desktop/meego/background/portrait/picture_filename /path/to/imagefile.png

should be 854x480 pixel
 

The Following User Says Thank You to kiiwii For This Useful Post:
caco3's Avatar
Posts: 560 | Thanked: 423 times | Joined on May 2010 @ Switzerland
#3
See my rotate lock screen wallpaper fix at http://www.ruinelli.ch/harmattan/rotate-lock-screen
You will have to put (replace) the file at /home/user/.wallpapers/wallpaper.png
AFAIK it only gets updated once you rotate the screen!
__________________
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
 

The Following User Says Thank You to caco3 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 07:23.