Today scope without showing day scope
-
@Gerd, @darkeye I have forked and built the Day Scope now using the original launchpad version.
A click package which works for myself can be found with the changed code on my personal Github repo https://github.com/mharrend/ubuntu-touch-day-scope.Unfortunately, the moon phase indication is not working any longer since an external API was used for this functionality which requires a fee-based license.
@darkeye Feel free to fork my repository to the official UBPorts repository.
Maybe, we could use another API provider for the moon phase like http://www.farmsense.net/api/astro-widgets/ or we should remove the moon phase indication. -
@marcokarlo Thankss!
-
@marcokarlo Thanks! I`ll have a look
-
BTW Does anybody knows which scopes are already migrated to UBPorts / openStore?
When I was switching to UBPorts, the most scopes I had to install from the old Ubuntu store and if I remember correctly, this store will be closed at some point of time, so we would loose the possibility to install scopes.Is there some work ongoing to port some scopes to UBPorts? I would be willing to help with this task.
Looking on the following page it seems that the Todays scope uses the following scopes in the same order if installed:
- Day scope (now forked by myself)
- Weather channel scope (part of the Ubuntu REST scopes)
- Holidays scope ( relies on fee-based web api, maybe can be rewritten using Python holidays module, part of Canonical scopes)
- Event scope ( has its own repo)
- Tasks scope ( part of the task app)
- Contacts scope (not sure, where code is, maybe aggregation of Calls and message scope?)
- Fitbit scope (low on my own priority list)
- News scope (aggregator scope, part of Canonical scopes)
- Twitter scope (part of Canonical scopes)
So it seems IMHO necessary to port some of the Canonical scopes and Ubuntu REST scopes together with the Event Scope at least to UBPorts to keep the basic scope functionality.
Does it make sense to fork the corresponding launchpad repositories to the UBPort project (All code seems to be using GNU GPLv3)?
-
@marcokarlo well I dont know of any scopes that we transferred to our Github, and from the core team no one is working on scopes right now, so you can fill in this position
@sverzegnassi had a cool idea how to continue with a new "meta-scope" concept since in general UBports does not want to continue the current scope concept on the long run for various reasons. Maybe you can take a look at his screenshots (were they put only on Telegram Stefano? =)).
For the present of course we can transfer/maintain/integrate the most important "system" scopes. So yes, please go ahead, write me a PM with a list of Launchpad branches that you need.
BR
-
@marcokarlo: Thank you very much for providing the click package. I will try to install it after re-reading the "how-to-install click-packages".
-
@Flohack Did you mean this?
It's just an early exploration done through a QML mockup, the UX design is currently the same used for scopes.
Conceptually, it should work as a JSON documents aggregator. Apps would be able to update their data in background, using the new account-polld service, or during app execution, and the homescreen would fetch those new data once they become available.
This way the homescreen would work like a sort of Google Now clone, without sending user's infos here and there. Everything relies on the availability of those data locally.
What it would get lost is the ability to perform per-scope and remote searches, however it would enforce a proper model where advanced features are provided by apps only. In any case, we could add a search bar in a different tab in order to allow online searches via Google, DuckDuckGo, etc. anytime.
This would be available for all the third party apps that'd like to use it, with the only limitation that their "homescreen widget" could expire if their data are not up-to-date.
A few integration cases I will probably take in account are: Apps, Events, Weather, News (e.g. Morning Digest, Afternoon Edition), Bookmarks, Contacts, Documents, Books, IM apps (e.g. for latest conversations list), Notes/Tasks, World Clock and Spotify playlists.
Of course, this is just an idea that hasn't been validated yet. Nothing has been decided yet.
-
@Gerd I installed the click package: sudo click install-local --allow-untrusted com.canonical.scopes.day_1.5.2_armhf.click but could not find a today scope, did also a reboot. Anything I am missing?
-
@sverzegnassi If you work on the weather one, please add C not only F to the settings
-
@cherrie Just installed the the click-package that marcokarlo provided. Rebooted the phone and: tadaaa, the day is back on the screen.
I copied the package into the download-folder on the phone, then used phablet-shell with this command: "pkcon install-local --allow-untrusted Downloads/com.canonical.scopes.day_1.5.2_armhf.click" (Command provided here: http://daniel-beck.org/howto-install-click-packages/).
Many, many thanks to marcokarlo!
-
@marcokarlo Do you want to put this thingie maybe in the openstore?
BR
-
@Flohack Good idea, as it is much easier to get it into your phone.
-
@Gerd Tried again this: pkcon install-local --allow-untrusted Downloads/com.canonical.scopes.day_1.5.2_armhf.click
It says: Installing files, Finished, Installing files, Starting, Finished, then the unity bar shows up shortly and the end I get: Installed com.canonical.scopes.day-1.5.2.armhf (installed: click,removable=1,app_name=day) summary goes here
Did I reboot, but still no day/today scope
-
@cherrie Did you try searching for it in the dash main window?
-
@Flohack I searched in the main window (Apps upper corner left) nothing; I looked under Manage, where the other scopes are, but nothing. I tried to remove it and reinstall it again. Nothing
phablet@ubuntu-phablet:~$ click list | grep day
com.canonical.scopes.day 1.5.2phablet@ubuntu-phablet:~$ ps auxww | grep scope
phablet 3374 0.8 0.7 384764 7476 ? Ssl 21:56 0:01 /usr/lib/arm-linux-gnueabihf/unity-scopes/smartscopesproxy upstart
phablet 3441 0.1 0.7 352096 7304 ? Ssl 21:56 0:00 /usr/lib/arm-linux-gnueabihf/unity-scopes/scoperegistry
phablet 6393 0.0 0.0 4848 676 pts/18 S+ 21:59 0:00 grep --color=auto scopeDo I need to install other scopes, because they are needed for the today scope?
-
-
@cherrie Ssorry if I miss understand but the click package only adds the missing day panel to the Today scope that is available in the Ubuntu app store, along with the task, events and news scopes etc that show up in it.
Ijust followed the instructions above and downloaded the click via the browser into the downloads folder and then ran the install command and all worked great or to put it another way as above tadaa! -
@Lakota Thanks a lot:
So it needs 2 things:- Install Today Scope from Ubuntu Store
- Install click package from Github repo https://github.com/mharrend/ubuntu-touch-day-scope using this command:
pkcon install-local --allow-untrusted Downloads/com.canonical.scopes.day_1.5.2_armhf.click - Reboot phone
- Add Today Scope by pulling in Apps Window the Window on top, locate Today, enable and drag to the top of the Scope list.
-
Yes thats what I did first install today scope from app store move to where you want it. Use the browser to find the click package download it to down loads folder and install with the command and thats should do it after a reboot.
-
@cherrie I have the "Today scope" from the Ubuntu Store installed on my OPO with UBPorts. The only element I haven't been able to add is the Day info, showing date + sunrise/sunset time, I think that was only made available on the official Ubuntu devices like Bq and Meizu, but I am not sure.
Does your Today scope include this or is the same that was found in the Ubuntu Store?
Thanks!
Tomas