![]() |
Animated homescreen themes
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. |
Re: Animated homescreen themes
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? |
Re: Animated homescreen themes
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 |
Re: Animated homescreen themes
Quote:
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! :) |
Re: Animated homescreen themes
Try like this:
Code:
/usr/share/ambience/$(dconf read /desktop/jolla/theme/active_ambience|cut -d '/' -f5)/images/my.gif |
Re: Animated homescreen themes
Shell command from qml? Ermm.
|
Re: Animated homescreen themes
trial and error programming, lol
you still have chances to start learning qml and stuff. |
Re: Animated homescreen themes
I'd love to see this implemented on the Jolla.
I enjoyed showing peeps the N900 running a video as a homescreen backdrop. |
Re: Animated homescreen themes
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... |
Re: Animated homescreen themes
ambience.wallpaperUrl
No? |
Re: Animated homescreen themes
Quote:
Regards, |
Re: Animated homescreen themes
a script for what?
Code:
Theme.backgroundImage.substring(0, Theme.backgroundImage.lastIndexOf("/") + 1) + "animated.gif" |
Re: Animated homescreen themes
Quote:
I've solved it with QML, no need for sh. scripts or the like. Thanks again guys, Schturman, Ancelad, Coderus........ |
Re: Animated homescreen themes
so what is your final solution?
|
Re: Animated homescreen themes
Quote:
I realise animated GIFs can be quite expensive on system resources, perhaps I should poll and see who thinks the best place to have any animation on our devices. The 'solution', was so close to what I had already tried. Then Ancelad posted his idea and he wasn't far away, neither of us were. The line I needed was simply this; Code:
source: Ambience.homeWallpaperFIXED: can now switch between animated and standard ambience. -------------------------------------------------------------------------------------------------------- Doesn't play well with user created Ambience - as they reside in a different file destination, so of course they don't animate (yet) but it also seems to 'knock out' the animation function when reselecting an animated ambience after a non-animated one - much to work out!! :D more to come! |
Re: Animated homescreen themes
Quote:
Yes, you are correct, time is all I have! :) One major hurdle though and I cannot seem to solve it. Neither SailfishSDK or Qtcreator will run on my PC. It all installs no problem, but upon starting one or the other, nothing shows on the screen, but, if I look in Task Manager, the program is running!, this is weird as I have had SF-SDK running before but didn't understand it, plus I was fighting for HDD space, so it got removed. I feel I'm ready to start learning by using SDK of one sort or another, but typically, I have the hurdle of getting the fkin program to run in the first place! I'm running Windows 7 64bit Ultimate. Has anyone else experienced similar problems with SDK's..? (I know, this isn't the right place to be asking but is relevant to my creations!). |
| All times are GMT. The time now is 14:22. |
vBulletin® Version 3.8.8