Reply
Thread Tools
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#1
Update: Re: I'm not entirely happy with patching 'compositor.qml'.......

So, I've worked out how to get away from patching, thanks to a hint from Schturman!

I'm thinking now it should be a switch in Settings, perhaps on the Ambience menu? or an entry of it's own, or perhaps in Display Settings?, any input or ideas appreciated!

Just in case any are wondering about animated ambience, there are a few caveats with my findings/creation so far, the main one being, I still haven't worked out a way to make ambience from a gif in Gallery - it just doesn't work, yet.

So, it's back to end users relying on creations from those who can make ambience (RPM) containing suitable gifs, in which case, I have no problem taking requests and I would also continually point others to Schturman's guide on Ambience & RPM, so they can create their own and more.

more to come, for those interested!

Any input is appreciated

Regards,
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
The two examples created are uploaded to Openrepos,
animated-matrix-code-theme & animated-cannabis-leaf-theme

I'm totally open to suggestions as to how to make this application better and more user friendly, just like changing current ambience.
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..

Last edited by Markkyboy; 2016-05-06 at 23:45.
 

The Following 11 Users Say Thank You to Markkyboy For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#2
Okay, perhaps that idea was not so good, sooooo, instead, I've moved the 'operation' to the lockscreen to see how that works out - and it works quite as expected.

My problem currently is; I'm inserting the full path to the ambience images directory (usr/share/ambience/ambience-blah/images/my.gif) - which is too specific and will only work for the one ambience - how can I shorten that path/URL so ANY ambience that contains a GIF can read via the path/url.........make sense?

I've tried many variations, similar to this kind (which of course points to 'themes') "image://themes/icon-m-blah.png" which is kind of what I need, but I haven't 'stumbled across' of found what I'm looking for via other forums........."ambience://current/wallpaper/''" - something like that maybe?....

Any ideas guys?
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 

The Following User Says Thank You to Markkyboy For This Useful Post:
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#3
if you use script, to detect what cuttent ambience folder you can use this command as USER:
Code:
dconf read /desktop/jolla/theme/active_ambience|cut -d '/' -f5
 

The Following User Says Thank You to Schturman For This Useful Post:
Markkyboy's Avatar
Posts: 433 | Thanked: 727 times | Joined on Oct 2012 @ Costa Blanca, Espaņa
#4
Originally Posted by Schturman View Post
if you use script, to detect what cuttent ambience folder you can use this command as USER:
Code:
dconf read /desktop/jolla/theme/active_ambience|cut -d '/' -f5
Thanks Schturman, it looks like I may have to go down that route by using a script with dconf.

I did try inserting similar code (as above) into LockScreen.qml, but of course, it won't read anything unless the url is absolute, it seems. I could be wrong.

Thanks for replying!
__________________
..oO(Don't just sit there standing around, pick up a shovel and sweep up!)Oo..
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#5
Try like this:
Code:
/usr/share/ambience/$(dconf read /desktop/jolla/theme/active_ambience|cut -d '/' -f5)/images/my.gif
Probably also will not work...
 
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#6
Shell command from qml? Ermm.
 

The Following 2 Users Say Thank You to Ancelad For This Useful Post:
coderus's Avatar
Posts: 6,436 | Thanked: 12,699 times | Joined on Nov 2011 @ Ängelholm, Sweden
#7
trial and error programming, lol
you still have chances to start learning qml and stuff.
__________________
Telegram | Openrepos | GitHub | Revolut donations
 

The Following User Says Thank You to coderus For This Useful Post:
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#8
I'd love to see this implemented on the Jolla.
I enjoyed showing peeps the N900 running a video as a homescreen backdrop.
__________________
Mick has just punched the cr@p out of the "Unlike" button on the Official Nokia Facebook Page.
 
Schturman's Avatar
Posts: 5,339 | Thanked: 4,133 times | Joined on Jan 2010 @ Israel
#9
Markkyboy, just use command in the script...
You also can run your script from qml... Cteate setting with button to run your script that will do correct changes to qml...
It's a little bit complicated, but possible...
 

The Following User Says Thank You to Schturman For This Useful Post:
Ancelad's Avatar
Posts: 1,552 | Thanked: 3,108 times | Joined on Jun 2012 @ Russia, 96
#10
ambience.wallpaperUrl

No?
 

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


 
Forum Jump


All times are GMT. The time now is 19:41.