Difference between revisions of "User-Interfaces"

From postmarketOS
Jump to: navigation, search
(updated UI list)
(How to choose a different UI)
Line 56: Line 56:
  
 
<pre>$ ./pmbootstrap init
 
<pre>$ ./pmbootstrap init
[19:09:14] Target device (either an existing one, or a new one for porting).
+
[13:15:24] Target device (either an existing one, or a new one for porting).
[19:09:14] Available (31): asus-flo, asus-grouper, fairphone-fp2, htc-ace, htc-bravo, huawei-angler, huawei-y530, lg-d285, lg-d855, lg-dory, lg-hammerhead, lg-lenok, lg-mako, motorola-osprey, motorola-titan, nokia-rx51, oneplus-bacon, qemu-aarch64, qemu-amd64, qemu-vexpress, samsung-i9003, samsung-i9070, samsung-i9100, samsung-i9305, samsung-maguro, samsung-n7100, sony-amami, sony-aries, sony-castor-windy, sony-yuga, t2m-flame
+
[13:15:24] Available (38): amazon-thor, asus-flo, asus-grouper, fairphone-fp2, google-glass, htc-ace, htc-bravo, huawei-angler, huawei-y530, lenovo-karate, lg-d285, lg-d855, lg-dory, lg-hammerhead, lg-lenok, lg-mako, motorola-osprey, motorola-titan, nokia-rx51, oneplus-bacon, oneplus-onyx, qemu-aarch64, qemu-amd64, qemu-vexpress, samsung-i747m, samsung-i9003, samsung-i9070, samsung-i9100, samsung-i9305, samsung-maguro, samsung-n7100, sony-amami, sony-aries, sony-castor-windy, sony-honami, sony-yuga, t2m-flame, wiko-lenny3
[19:09:14] Device [motorola-titan]:  
+
[13:15:24] Device [qemu-amd64]:  
[19:09:16] Available user interfaces (3):  
+
[13:15:25] Which mesa driver do you prefer for your Qemu device? Only select something other than the default if you are having graphical problems (such as glitches).
[19:09:16] * weston: (Wayland) Reference compositor (demo, not a phone interface)
+
[13:15:25] Mesa driver (dri-swrast/dri-virtio) [dri-swrast]:  
[19:09:16] * hildon: (X11) Lightweight GTK+2 UI (optimized for single-touch touchscreens)
+
[13:15:26] Username [user]:
[19:09:16] * xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended)
+
[13:15:27] Available user interfaces (5):
[19:09:16] * none: No graphical environment</pre>
+
[13:15:27] * hildon: (X11) Lightweight GTK+2 UI (optimized for single-touch touchscreens)
 +
[13:15:27] * xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended)
 +
[13:15:27] * luna: (Wayland) webOS UI, ported from the LuneOS project (Not working yet)
 +
[13:15:27] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma, optimized for touchscreen (COMPILING TAKES FOREVER)
 +
[13:15:27] * none: No graphical environment
 +
[13:15:27] * weston: (Wayland) Reference compositor (demo, not a phone interface)</pre>
 
<pre>$ ./pmbootstrap config ui weston</pre>
 
<pre>$ ./pmbootstrap config ui weston</pre>
  
 
[[Category:Interface]]
 
[[Category:Interface]]

Revision as of 08:18, 2 December 2017

At the moment Weston is the default UI for postmarketOS. It is simple and helps us to keep researching and developing the base of pmOS but in the future we will also support other more sophisticated and fancy User Interfaces.

Here is a list showing examples and the on-going work on this topic.

User Interfaces

Weston

Project page: https://github.com/wayland-project/weston

Default minimal interface based on XWayland. It allows developers to do "simple" things like running firefox and opening a terminal, plus testing the touchscreen and other peripherals.

Photos:

See Weston.

Plasma Mobile

Project page: https://plasma-mobile.org/

Based on KDE.

Work in Progress.

For more information, see Plasma Mobile and issues #161, #378.

Hildon

Hildon is an application framework originally developed for mobile devices (PDAs, mobile phones, etc.) running the Linux operating system as well as the Symbian operating system. It was developed by Nokia for the Maemo operating system and is now a part of GNOME. It focuses on providing a finger-friendly interface. It is primarily a set of GTK+ extensions that provide mobile-device–oriented functionality, but also provides a desktop environment that includes a task navigator for opening and switching between programs, a control panel for user settings, and status bar, task bar and home applets. It is standard on the Maemo platform used by the Nokia Internet Tablets and the Nokia N900 smartphone.

Hildon is based on GTK2 and there is a work in progress port to GTK3.

For more information, see Hildon and PR #461.

MATE

Desktop environment forked from the now-unmaintained code base of GNOME 2. See MATE.

Others

See issue #62 for more information on other UIs that could be ported to postmarketOS. Some of these are:

How to choose a different UI

You have to configure pmbootstrap before generating the system image either by pmbootstrap init or pmbootstrap config:

$ ./pmbootstrap init
[13:15:24] Target device (either an existing one, or a new one for porting).
[13:15:24] Available (38): amazon-thor, asus-flo, asus-grouper, fairphone-fp2, google-glass, htc-ace, htc-bravo, huawei-angler, huawei-y530, lenovo-karate, lg-d285, lg-d855, lg-dory, lg-hammerhead, lg-lenok, lg-mako, motorola-osprey, motorola-titan, nokia-rx51, oneplus-bacon, oneplus-onyx, qemu-aarch64, qemu-amd64, qemu-vexpress, samsung-i747m, samsung-i9003, samsung-i9070, samsung-i9100, samsung-i9305, samsung-maguro, samsung-n7100, sony-amami, sony-aries, sony-castor-windy, sony-honami, sony-yuga, t2m-flame, wiko-lenny3
[13:15:24] Device [qemu-amd64]: 
[13:15:25] Which mesa driver do you prefer for your Qemu device? Only select something other than the default if you are having graphical problems (such as glitches).
[13:15:25] Mesa driver (dri-swrast/dri-virtio) [dri-swrast]: 
[13:15:26] Username [user]: 
[13:15:27] Available user interfaces (5): 
[13:15:27] * hildon: (X11) Lightweight GTK+2 UI (optimized for single-touch touchscreens)
[13:15:27] * xfce4: (X11) Lightweight GTK+2 desktop (stylus recommended)
[13:15:27] * luna: (Wayland) webOS UI, ported from the LuneOS project (Not working yet)
[13:15:27] * plasma-mobile: (Wayland) Mobile variant of KDE Plasma, optimized for touchscreen (COMPILING TAKES FOREVER)
[13:15:27] * none: No graphical environment
[13:15:27] * weston: (Wayland) Reference compositor (demo, not a phone interface)
$ ./pmbootstrap config ui weston