add the gnome-mobile UI
Gnome mobile is a fork of gnome-shell and mutter with phone specific patches to make it more usable on phones, the user interface feels quite similar to Phosh in design, a demo can be seen here: https://twitt.re/tobias_bernard/status/1564619111396773897
unfortunately it doesn't want to build yet, currently stuck getting mozjs102 to compile.
Current branch should build and function!
Known issues
- Keyboard doesn't pop up on apps like telegram desktop
- Often the application isn't correctly "shifted" to make the textbox visible (e.g. when typing in the address bar on firefox with firefox-mobile-config).
- When the application is shifted it is shifted slightly further than the keyboard height (confirmed on OnePlus 6, maybe was originally hardcoded for PinePhone?)
-
Scaling by default only goes up to 250% on op6 which is a bit smaller than preferred.the MR is now merged and this is fixed, gnome-mobile uses the same scaling algorithm as Phosh now and 300% scaling is an option. It's recommended to rungsettings set org.gnome.mutter experimental-features "['scale-monitor-framebuffer']"
to enable fractional scaling, otherwise 200% is the maximum shown
TODO
-
create postmarketos-ui-gnome-mobile -
write wiki page explaining it and it's WIP status, and a guide on installing it along side Phosh(installing side by side currently not recommended due to conflicting packages); https://wiki.postmarketos.org/wiki/Gnome_Shell_for_Mobile -
update branches once verdre removes pinephone pro specific hacks
Merge request reports
Activity
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
added category::ui label
added 5 commits
- 424acded - temp/gjs: temporarily fork to upgrade for gnome-mobile
- 9e805026 - temp/gcr-4: new aport (for gnome-mobile, will be moved to alpine)
- 9f477836 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 41aee5b8 - temp/mutter-mobile: new aport
- d86ca1ce - temp/gnome-shell-mobile: new aport
By Caleb Connolly on 2022-09-05T01:29:09
Toggle commit listadded 7 commits
- c07954f3 - samsung-p4note: fix kernel partition name
- a020b715 - temp/gjs: temporarily fork to upgrade for gnome-mobile
- 1441bc0c - temp/gcr-4: new aport (for gnome-mobile, will be moved to alpine)
- 05c2904e - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 91eacc1f - temp/mutter-mobile: new aport
- 27df322d - temp/gnome-shell-mobile: new aport
- 8af84afe - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:21:34
Toggle commit listadded 13 commits
-
8af84afe...759ae7db - 7 commits from branch
master
- cf849381 - temp/gjs: temporarily fork to upgrade for gnome-mobile
- b3895b13 - temp/gcr-4: new aport (for gnome-mobile, will be moved to alpine)
- ebd0e7d3 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 29c94a25 - temp/mutter-mobile: new aport
- 532d9d90 - temp/gnome-shell-mobile: new aport
- 75af47a4 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:21:52
Toggle commit list-
8af84afe...759ae7db - 7 commits from branch
added 13 commits
- c07954f3 - samsung-p4note: fix kernel partition name
- 37bd0822 - main/postmarketos-base: add replace for busybox-openrc (MR 3400)
- 66a38dc6 - cross/busybox-static-*: upgrade to 1.35.0-r24
- ff42e7a2 - main/postmarketos-ui-phosh: add phosh-mobile-settings to recommends (MR 3396)
- d93905dc - community/linux-pine64-pinephonepro: enable SPI flash (MR 3401)
- c802cccd - xiaomi-polaris: Make touchscreen work during boot (MR 3399)
- 1566a134 - main/postmarketos-ui-plasma-mobile: add callaudiod to properly route audio (MR 3406)
- 50bb230d - temp/gjs: temporarily fork to upgrade for gnome-mobile
- 80831fcd - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- 4784f521 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 2db43a79 - temp/mutter-mobile: new aport
- efc0cb85 - temp/gnome-shell-mobile: new aport
- ef498665 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:35:12
Toggle commit listadded 13 commits
-
ef498665...759ae7db - 7 commits from branch
master
- cfb4a198 - temp/gjs: temporarily fork to upgrade for gnome-mobile
- ce2d0d8a - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- 8ddd73e1 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 335d5350 - temp/mutter-mobile: new aport
- b9c3863d - temp/gnome-shell-mobile: new aport
- 4489415d - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:37:12
Toggle commit list-
ef498665...759ae7db - 7 commits from branch
added 13 commits
- c07954f3 - samsung-p4note: fix kernel partition name
- 3d842b10 - main/postmarketos-base: add replace for busybox-openrc (MR 3400)
- 34c87042 - cross/busybox-static-*: upgrade to 1.35.0-r24
- 238c6bff - main/postmarketos-ui-phosh: add phosh-mobile-settings to recommends (MR 3396)
- abef1053 - community/linux-pine64-pinephonepro: enable SPI flash (MR 3401)
- 89be8308 - xiaomi-polaris: Make touchscreen work during boot (MR 3399)
- bbb85a41 - main/postmarketos-ui-plasma-mobile: add callaudiod to properly route audio (MR 3406)
- 291d810b - temp/gjs: temporarily fork to upgrade for gnome-mobile
- ac70d343 - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- 50953ca3 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- f2286cbd - temp/mutter-mobile: new aport
- fae1c1db - temp/gnome-shell-mobile: new aport
- 4dcf59f9 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:47:25
Toggle commit listadded 13 commits
-
4dcf59f9...759ae7db - 7 commits from branch
master
- ef296aef - temp/gjs: temporarily fork to upgrade for gnome-mobile
- 211986eb - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- 02300d15 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 59756e83 - temp/mutter-mobile: new aport
- 0cb38298 - temp/gnome-shell-mobile: new aport
- ff4c45ec - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:47:33
Toggle commit list-
4dcf59f9...759ae7db - 7 commits from branch
added 5 commits
- 301c24eb - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- 89317205 - temp/mozjs102: new aport (for gnome-mobile, will be moved to alpine)
- 0d94592c - temp/mutter-mobile: new aport
- ba7d4d5e - temp/gnome-shell-mobile: new aport
- 83f50046 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-05T13:58:07
Toggle commit listI pushed mozjs102 to Alpine: https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/38803
It succeeds on some arches and fails on some.
By Newbyte on 2022-09-09T11:42:43
- Resolved by Administrator
Keyboard doesn't pop up on apps like telegram desktop
Most likely because telegram is an x11 app. Only way to work around that would be adding an ugly keyboard button like Phosh has, I'd prefer to avoid that.
Often the application isn't correctly "shifted" to make the textbox visible (e.g. when typing in the address bar on firefox with firefox-mobile-config).
Gtk bugs that are not fixable in mutter, I'm working on fixing it on gtk side.
When the application is shifted it is shifted slightly further than the keyboard height (confirmed on OnePlus 6, maybe was originally hardcoded for PinePhone?)
There's no hardcoding there, in theory that should work just fine, not sure what's wrong there.
By verdre on 2022-09-09T17:35:41
Edited by Ghost User
added 16 commits
-
96c66a6e...7adba98f - 11 commits from branch
master
- 8cb31c14 - temp/gjs: temporarily fork to upgrade for gnome-mobile
- 340590fb - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- e9d2d939 - temp/mutter-mobile: new aport
- 8e28f317 - temp/gnome-shell-mobile: new aport
- 794040b1 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-09T18:05:38
Toggle commit list-
96c66a6e...7adba98f - 11 commits from branch
added 5 commits
- f825627e - temp/gjs: temporarily fork to upgrade for gnome-mobile
- b71a8ff3 - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- b8ad3892 - temp/mutter-mobile: new aport
- 5067f506 - temp/gnome-shell-mobile: new aport
- 235275d9 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-09T19:32:19
Toggle commit list- Resolved by Administrator
- Resolved by Administrator
- Resolved by Administrator
installing this (for qemu) fails for me:
(016655) [13:08:56] (rootfs_qemu-amd64) % apk --no-progress add -u --virtual .pmbootstrap /mnt/pmbootstrap-packages/x86_64/postmarketos-ui-gnome-mobile-1-r0.apk /mnt/pmbootstrap-packages/x86_64/gnome-shell-mobile-43.0_beta-r0.apk /mnt/pmbootstrap-packages/x86_64/gnome-shell-mobile-schemas-43.0_beta-r0.apk /mnt/pmbootstrap-packages/x86_64/gcr4-base-3.92.0-r0.apk /mnt/pmbootstrap-packages/x86_64/gjs-1.73.2-r0.apk /mnt/pmbootstrap-packages/x86_64/mutter-mobile-43.0_beta-r0.apk (1/7) Installing polkit-openrc (121-r0) (2/7) Installing .pmbootstrap (20220909.200856) (3/7) Installing mutter-lang (42.4-r0) ERROR: mutter-lang-42.4-r0: trying to overwrite usr/share/locale/am/LC_MESSAGES/mutter.mo owned by mutter-mobile-lang-43.0_beta-r0. ERROR: mutter-lang-42.4-r0: trying to overwrite usr/share/locale/ar/LC_MESSAGES/mutter.mo owned by mutter-mobile-lang-43.0_beta-r0. ERROR: mutter-lang-42.4-r0: trying to overwrite usr/share/locale/as/LC_MESSAGES/mutter.mo owned by mutter-mobile-lang-43.0_beta-r0. ERROR: mutter-lang-42.4-r0: trying to overwrite usr/share/locale/ast/LC_MESSAGES/mutter.mo owned by mutter-mobile-lang-43.0_beta-r0. ... output truncated (4/7) Installing gnome-shell-schemas (42.4-r0) (5/7) Installing gnome-shell-lang (42.4-r0) ERROR: gnome-shell-lang-42.4-r0: trying to overwrite usr/share/locale/af/LC_MESSAGES/gnome-shell.mo owned by gnome-shell-mobile-lang-43.0_beta-r0. ERROR: gnome-shell-lang-42.4-r0: trying to overwrite usr/share/locale/an/LC_MESSAGES/gnome-shell.mo owned by gnome-shell-mobile-lang-43.0_beta-r0. ... output truncated
I proposed the following in chat, since apk seems to be getting confused with "provides=" (again...):
13:23:25 @craftyguy: Newbyte: how about using the same name as the alpine package and setting pkgver to 9999 or something? 13:24:40 @craftyguy: that would affect the 'gnome' ui, but I don't think the gnome folks are going to maintain two separate gnome-shells, right? i.e. the gnome-shell beta that supports mobile should still work on a desktop without giving some mobile interface there? 13:26:02 @craftyguy: so instead of making new packages for gnome-shell (+ deps) to use the latest version, just fork gnome-shell (+ deps) from alpine and upgrade it in pmaports. what do you think?
By clayton craft on 2022-09-09T20:35:34
- Resolved by Administrator
added 12 commits
-
235275d9...d8cb4fea - 7 commits from branch
master
- 4fe0f8a5 - temp/gjs: temporarily fork to upgrade for gnome-mobile
- 63f21855 - temp/gcr4: new aport (for gnome-mobile, will be moved to alpine)
- 341dbb87 - temp/mutter-mobile: new aport
- 49ce0baa - temp/gnome-shell-mobile: new aport
- 0a5c7823 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-12T08:11:49
Toggle commit list-
235275d9...d8cb4fea - 7 commits from branch
write wiki page explaining it and it's WIP status, and a guide on installing it along side Phosh
I'm not sure whether this will be possible since this depends on schemas from GNOME 43 and Phosh currently expects schemas from GNOME 42. It may be fine by luck.
By Newbyte on 2022-09-12T08:37:59
- Resolved by Administrator
Please re-test this.
By Newbyte on 2022-09-12T13:28:55
Edited by Ghost User
added 1 commit
- c45203e3 - main/postmarketos-ui-gnome-mobile: add missing gcr4 dep
By Caleb Connolly on 2022-09-13T14:40:42
added 1 commit
- f09d6806 - main/postmarketos-ui-gnome-mobile: add _pmb_recommends based on phosh
By Caleb Connolly on 2022-09-13T16:01:51
added 1 commit
- 2ada1d00 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-13T16:11:21
Built an image for the SHIFT6mq using this, it built fine and seems to work with the exception of the previously noted bugs:
- keyboard scaling borked in terminal
- closing the first app causes gnome to crash and be restarted by GDM, seems to not be exclusively the first app?
By Caleb Connolly on 2022-09-13T16:16:55
added 1 commit
- 7736f2a4 - main/postmarketos-ui-gnome-mobile: new aport
By Newbyte on 2022-09-13T18:38:31
- Resolved by Administrator
I've built and tested df47acc3 (it says above: added by Newbyte 14 hours ago) on the pinephone. So not the most recent one, but I guess it didn't change much since then; it had gcr4 but not yet all the _pmb_recommends.
IMHO this is good enough to be merged as initial version. Writing a wiki page sounds good, but I wouldn't block the MR over this as it's quite some effort to build all this.
I've adjusted the welcome app, please review: https://gitlab.com/postmarketOS/postmarketos-welcome/-/merge_requests/17
When I tested it, also the gnome-tour app was started. It's not adaptive yet and the pmOS welcome app shows more relevant information (-> that it's currently in prototype state, expect crashes etc.) so I'd disable that (doesn't need to be done in this MR).
By Oliver Smith on 2022-09-13T23:21:06
Edited by Ghost User