nemomobile-ux / glacier-home Goto Github PK
View Code? Open in Web Editor NEWHomescreen for the Glacier UX.
License: Other
Homescreen for the Glacier UX.
License: Other
Glacier Home environment vars are loaded from /var/lib/environment/compositor/*.conf
, as in https://github.com/nemomobile-ux/glacier-home/blob/master/src/data/lipstick.service . Note that the additional EnvironmentFile directive overwrites them from /usr/share/lipstick-glacier-home-qt5/nemovars.conf
. This makes it impossible to configure to use lipstick in landscape, for example.
To resolve such hard-coded config, I propose to remove nemovars.conf
and referring to it from .service file.
Maybe bundle together glacier-theme with rest of the rpms.
when the active lipstic UX is Glacier, Andoroid applications don't start and there is not indication that they where started
Jolla 1
SailfishOS 2.0.5.6
When starting apps (VirtualBox 2020.05 release), we get the warning
qt.qpa.wayland: "wl-shell" is a deprecated shell extension, prefer using "xdg-shell-v6" or "xdg-shell" if supported by the compositor by setting the environment variable QT_WAYLAND_SHELL_INTEGRATION
This probably comes from lipstick implementation at https://git.sailfishos.org/neochapay/lipstick/blob/nemo/src/compositor/lipstickcompositor.cpp#L70 and around.
We should switch to the newer protocols. That will also allow us to use Gtk apps developed for PureOS through flatpaks, at least start them. Latter would require some work on keyboard and how to hook it to Gtk, but that is a separate issue.
SIM card is not recognized during startup, maybe write a pin query dialog like in Jolla?
I have observed that users tried to switch the home screen page using the same swipe gesture as for minimizing of the application. Allowing of that would probably improve user experience.
Hi,
I was trying to install Glacier on SF4 (following the instructions in https://nemomobile.net/installing-glacier/) on my Gemini PDA
Installation went fine, but I couldn't get past the lockscreen: whenever I tried to unlock, I could see the apps installed, but the lockscreen always "bounced" down (it came back using an animation). I could access the quick tiles in the notification centre, and turn off the device, but nothing else.
When rebooting, the device would start in the setting menu, where I could toggle most options, but after a few seconds (with varying lengths between each boots) I would be taken back to the lockscreen. Setting up a passcode was never successful, as was turning on USB debugging, which caused me to have to erase the device from recovery mode.
for some reason i cannot open lockscreen just right after install nemo mobile here the video
In main()
, we have series of variables that are hardcoded and set the environment. This should be avoided and using /var/lib/environment/nemo
instead.
Firstly I want to thank for the developers for doing such a great job with this project. The progress is really encouraging. I would love to contribute but I'm just a beginner in when it comes to coding so I will try and help in other ways.
I had a quick suggestion for an Icon theme. I found an icon theme with an open license that you can use in this project called the Meeye Icon Theme, All icons in this theme are under CC 4.0. Meeye Icon theme was created by designers who were inspired by the original Meego OS.
I also have one final suggestion, I think changing the current background theme from the blue colour to a plain black background would look amazing with this new icon theme.
Check My Repo. I extracted the icons from the apk and uploaded them onto Github. I think you will love this Icon theme.
On VirtualBox 2020.05 release, Glacier Home does not start apps when clicking on their icons. As in #133, I am getting
lipstick[330]: [D] onGestureStarted:161 - Show statusarea
instead
LocalThemeDaemonClient: Looking for assets in ("/usr/share/themes/glacier/fontawesome", "/usr/share/themes/glacier/meegotouch")
file:///usr/share/lipstick-glacier-home-qt5/qml/MainScreen.qml:90:5: Type Statusbar unavailable
Statusbar {
^
file:///usr/share/lipstick-glacier-home-qt5/qml/Statusbar.qml:37:1: module "QtFeedback" is not installed
import QtFeedback 5.0
Oct 04 15:58:16 manjaro-arm lipstick[4482]: Unable to fetch Connman services: "Rejected send message, 3 matched rules; type=\"method_call\", sender=\":1.65\" (uid=1000 pid=4482 comm=\"/usr/bin/lipstick --systemd \") interface=\"net.con"
Oct 04 15:58:16 manjaro-arm lipstick[4482]: QDBusError("org.freedesktop.DBus.Error.AccessDenied", "Rejected send message, 2 matched rules; type=\"method_call\", sender=\":1.65\" (uid=1000 pid=4482 comm=\"/usr/bin/lipstick --systemd \"))
Oct 04 15:58:16 manjaro-arm lipstick[4482]: QDBusError("org.freedesktop.DBus.Error.AccessDenied", "Rejected send message, 2 matched rules; type=\"method_call\", sender=\":1.65\" (uid=1000 pid=4482 comm=\"/usr/bin/lipstick --systemd \"))
Oct 04 15:58:16 manjaro-arm lipstick[4482]: QDBusError("org.freedesktop.DBus.Error.AccessDenied", "Rejected send message, 2 matched rules; type=\"method_call\", sender=\":1.65\" (uid=1000 pid=4482 comm=\"/usr/bin/lipstick --systemd \"))
Oct 04 15:58:16 manjaro-arm lipstick[4482]: Starting favorites query at 1063 ms
Oct 04 15:58:16 manjaro-arm lipstick[4482]: QDBusError("org.freedesktop.DBus.Error.AccessDenied", "Rejected send message, 2 matched rules; type=\"method_call\", sender=\":1.65\" (uid=1000 pid=4482 comm=\"/usr/bin/lipstick --systemd \"))```
Maybe limited to VirtualBox. On 2020.05, Glacier Home does not show lockscreen when locked. Instead, you still see it active, just cannot interact. Then, at some moment after moving and dragging a mouse, lockscreen is shown. You could unlock it and start interacting with glacier-home.
Glacier home always start in portrait mode and ignoring sensors
$ sudo journalctl | grep lipstick
nemo's password:
Feb 18 19:32:06 Sailfish systemd[1689]: Starting The lipstick UI...
Feb 18 19:32:07 Sailfish lipstick[1767]: [D] unknown:0 - EGLFS: Screen Info
Feb 18 19:32:07 Sailfish lipstick[1767]: [D] unknown:0 - - Physical size: QSizeF(68, 122)
Feb 18 19:32:07 Sailfish lipstick[1767]: [D] unknown:0 - - Screen size: QSize(1080, 1920)
Feb 18 19:32:07 Sailfish lipstick[1767]: [D] unknown:0 - - Screen depth: 32
Feb 18 19:32:07 Sailfish lipstick[1767]: library "libgui.so" wasn't loaded and RTLD_NOLOAD prevented it
Feb 18 19:32:08 Sailfish lipstick[1767]: == hwcomposer module ==
Feb 18 19:32:08 Sailfish lipstick[1767]: * Address: 0xe4ded004
Feb 18 19:32:08 Sailfish lipstick[1767]: * Module API Version: 2
Feb 18 19:32:08 Sailfish lipstick[1767]: * HAL API Version: 0
Feb 18 19:32:08 Sailfish lipstick[1767]: * Identifier: hwcomposer
Feb 18 19:32:08 Sailfish lipstick[1767]: * Name: QTI Hardware Composer Module
Feb 18 19:32:08 Sailfish lipstick[1767]: * Author: CodeAurora Forum
Feb 18 19:32:08 Sailfish lipstick[1767]: == hwcomposer module ==
Feb 18 19:32:08 Sailfish lipstick[1767]: cannot locate symbol "_ZN3sdm3Sys7access_E" referenced by "/system/vendor/lib/libsdmextension.so"...
Feb 18 19:32:08 Sailfish lipstick[1767]: cannot locate symbol "_ZN3sdm3Sys7access_E" referenced by "/system/vendor/lib/libsdmextension.so"...
Feb 18 19:32:08 Sailfish lipstick[1767]: library "libtinyxml2_1.so" not found
Feb 18 19:32:08 Sailfish lipstick[1767]: cannot locate symbol "_ZN3sdm3Sys7access_E" referenced by "/system/vendor/lib/libsdmextension.so"...
Feb 18 19:32:08 Sailfish lipstick[1767]: cannot locate symbol "_ZN3sdm3Sys7access_E" referenced by "/system/vendor/lib/libsdmextension.so"...
Feb 18 19:32:08 Sailfish lipstick[1767]: == hwcomposer device ==
Feb 18 19:32:08 Sailfish lipstick[1767]: * Version: 1050001 (interpreted as 1050001)
Feb 18 19:32:08 Sailfish lipstick[1767]: * Module: 0xe4ded004
Feb 18 19:32:08 Sailfish lipstick[1767]: == hwcomposer device ==
Feb 18 19:32:08 Sailfish lipstick[1767]: [W] unknown:0 - QEglScreen 0x773cc8
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - Hardware Compositor support is disabled
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:47 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor/ScreenGestureArea.qml:47: TypeError: Cannot read property 'window' of null
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:337 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor.qml:337: TypeError: Cannot read property 'lockscreen' of undefined
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - Height: 1920 Width: 1080
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - Scale ratio: 2.24824 Font: 2.2
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - DPI is 401.575
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - QT_QPA_EGLFS_PHYSICAL_HEIGHT is not set!
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - QT_QPA_EGLFS_PHYSICAL_WIDTH is not set!
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - Device mm sizing don`t work
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - DP scale factor is 1.5
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - Height: 1920 Width: 1080
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - Scale ratio: 2.24824 Font: 2.2
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - DPI is 401.575
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - QT_QPA_EGLFS_PHYSICAL_HEIGHT is not set!
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - QT_QPA_EGLFS_PHYSICAL_WIDTH is not set!
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - Device mm sizing don`t work
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - DP scale factor is 1.5
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString&, QObject*) Theme: glacier (hardcoded)
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString&, QObject*) "/usr/share/themes/glacier/index.theme"
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString&, QObject*) "/usr/share/themes/darko/index.theme"
Feb 18 19:32:09 Sailfish lipstick[1767]: [W] unknown:0 - MLocalThemeDaemonClient::MLocalThemeDaemonClient(const QString&, QObject*) Theme "glacier" is invalid
Feb 18 19:32:09 Sailfish lipstick[1767]: [D] unknown:0 - LocalThemeDaemonClient: Looking for assets in ("/usr/share/themes/glacier/fontawesome", "/usr/share/themes/glacier/meegotouch")
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:173 - file:///usr/share/lipstick-glacier-home-qt5/qml/MainScreen.qml:173:9: Type DeviceLockUI unavailable
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:49 - file:///usr/share/lipstick-glacier-home-qt5/qml/DeviceLockUI.qml:49:9: Cannot assign to non-existent property "onFeedback"
Feb 18 19:32:10 Sailfish lipstick[1767]: [D] onWindowAdded:401 - Compositor: Window added "Home" category:
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:42 - file:///usr/share/lipstick-glacier-home-qt5/qml/notifications/NotificationPreview.qml:42: TypeError: Cannot read property 'parent' of undefined
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:41 - file:///usr/share/lipstick-glacier-home-qt5/qml/notifications/NotificationPreview.qml:41: TypeError: Cannot read property 'parent' of undefined
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:40 - file:///usr/share/lipstick-glacier-home-qt5/qml/notifications/NotificationPreview.qml:40: TypeError: Cannot read property 'parent' of undefined
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:39 - file:///usr/share/lipstick-glacier-home-qt5/qml/notifications/NotificationPreview.qml:39: TypeError: Cannot read property 'parent' of undefined
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:38 - file:///usr/share/lipstick-glacier-home-qt5/qml/notifications/NotificationPreview.qml:38: TypeError: Cannot read property 'parent' of undefined
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:40 - file:///usr/share/lipstick-glacier-home-qt5/qml/volumecontrol/VolumeControl.qml:40: TypeError: Cannot read property of null
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:0 - QML file not found: "connectivity/VpnAgent.qml"
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:0 - QML search path: ("/usr/share/lipstick-glacier-home-qt5/qml")
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:-1 - <Unknown File>: Invalid empty URL
Feb 18 19:32:10 Sailfish lipstick[1767]: [W] unknown:0 - QEglWindow 0x887c48: 0x807f38 0x0
Feb 18 19:32:10 Sailfish systemd[1689]: Started The lipstick UI.
Feb 18 19:32:32 Sailfish lipstick[1767]: [W] unknown:396 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor.qml:396: TypeError: Type error
Feb 18 19:32:32 Sailfish lipstick[1767]: [D] unknown:0 - sleepDisplay
Feb 18 19:33:38 Sailfish lipstick[1767]: [D] unknown:0 - unsleepDisplay
Feb 18 19:33:39 Sailfish lipstick[1767]: [W] unknown:396 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor.qml:396: TypeError: Type error
Feb 18 19:33:40 Sailfish lipstick[1767]: [D] unknown:0 - sleepDisplay
Feb 18 19:33:53 Sailfish lipstick[1767]: [D] onWindowAdded:401 - Compositor: Window added "Notification" category: notification
Feb 18 19:33:53 Sailfish lipstick[1767]: [D] unknown:0 - Unknown theme image: "icon-system-usb"
Feb 18 19:33:53 Sailfish lipstick[1767]: [D] unknown:0 - Unknown theme image: "icon-system-usb"
Feb 18 19:33:53 Sailfish lipstick[1767]: [W] unknown:123 - file:///usr/share/lipstick-glacier-home-qt5/qml/notifications/NotificationPreview.qml:123:13: QML Image: Failed to get image from provider: image://theme/icon-system-usb
Feb 18 19:33:53 Sailfish mce[1518]: tklock.c: tklock_dbus_notification_beg_cb(): notification begin from name=:1.29 owner=:1.29 pid=1767 uid=100000 gid=100000 priv=0 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/input/event4 -plugin
Feb 18 19:33:53 Sailfish lipstick[1767]: [D] unknown:0 - unsleepDisplay
Feb 18 19:33:57 Sailfish mce[1518]: tklock.c: tklock_dbus_notification_beg_cb(): notification begin from name=:1.29 owner=:1.29 pid=1767 uid=100000 gid=100000 priv=0 cmd=/usr/bin/lipstick -plugin evdevtouch:/dev/input/event4 -plugin
Feb 18 19:34:00 Sailfish lipstick[1767]: [D] onWindowRemoved:463 - Compositor: Window removed "Notification" category: notification
Feb 18 19:34:00 Sailfish lipstick[1767]: [W] unknown:464 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor.qml:464: TypeError: Cannot read property 'switcher' of undefined
Feb 18 19:34:00 Sailfish lipstick[1767]: [W] unknown:29 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor/WindowWrapperBase.qml:29: TypeError: Cannot read property of null
Feb 18 19:34:00 Sailfish lipstick[1767]: [W] unknown:30 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor/WindowWrapperBase.qml:30: TypeError: Cannot read property of null
Feb 18 19:34:03 Sailfish lipstick[1767]: [W] unknown:396 - file:///usr/share/lipstick-glacier-home-qt5/qml/compositor.qml:396: TypeError: Type error
Feb 18 19:34:03 Sailfish lipstick[1767]: [D] unknown:0 - sleepDisplay
SailfishOS 2.1.3.7
After installing all updated packages, and running
systemctl-user restart lipstick.service
blank screen is shown on the phone, only power-menu works.
after re-installing lipstick-jolla-home-qt5, default Jolla home restores fine.
file:///usr/share/lipstick-glacier-home-qt5/qml/statusbar/BatteryIndicator.qml:48:5: QML Image: Cannot open: file:///usr/share/lipstick-glacier-home-qt5/qml/images/battery_grig
file:///usr/share/lipstick-glacier-home-qt5/qml/statusbar/StatusbarItem.qml:14:5: QML Image: Cannot open: file:///usr/share/lipstick-glacier-home-qt5/qml/images/battery0.png
and etc...
Glacier home always start in portrait mode and ignoring sensors
I know this is the wrongest™ place of all to post it, but crafting a virtual box image or docker container or similar to give devs a taste of the benefits engagement with this project could bring to the mobile landscape would be a cool feat.
Anyways, thx for your work Aleksi! 🖖🏻
Hi, I want to dev on this app, could U tell me how to debug it? Is it possible to debug on IDE(Sailfish os Qt creator)?
On VirtualBox 2020.05 release, Glacier Home does not allow to minimize windows by swiping from the side. If, by waiting for screen lock to appear, window is shown minimized, it is impossible to restore it. When trying to restore window by clicking on it, I am getting
lipstick[330]: [D] onGestureStarted:161 - Show statusarea
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.