ubuntu touch on a lenovo yoga 3 pro
Marius mentioned the desktop version during the community update 20.
I would like to install it on my laptop (with a freshly installed xenial on it, as a starting point), but didn't find anything on the docs or elsewhere.
I added a ubports.list to /etc/apt/sources.list.d and upgraded:
sudo echo "deb http://repo.ubports.com/ xenial main" > /etc/apt/sources.list.d/ubports.list
wget -O - http://repo.ubports.com/pubkey.gpg | sudo apt-key add -
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
Can someone tell me, what else must be done?
Thanks a lot!
@hummlbach looking forward to hearing about your experience
Here are my first impressions and observations.
The following was working out of the box:
- All the special keys on the hardware keyboard
- Hardware keyboard is disabled when flipped on the back of the screen (done in hardware(?), but not the touchpad)
- touch, edge gestures
- pretty much all the manual settings
What is not yet working and what I want to fix/implement:
- Onscreen keyboard (the only thing in this list I actually expected to work, ubuntu-keyboard was missing, but after installing it, it still does not show up, not even when touching on the keyboard icon in the terminal app - any ideas?)
- Automatic screen rotation
- Automatic adaption of the brightness
- Automatic toggling of desktop mode depending on the flip state of the hardware keyboard
- browser (perhaps I was expecting that to work too ;))
- since the native screen resolution is 3200x1800, everything is displayed way too small
The first thing i wanted to fix, was the heigh dpi resolution problem. I found the solution for the unity8/mir stuff by putting 'export GRID_UNIT_PX=24' in ~/.profile and for x11 apps I added the option -dpi 42 in /usr/bin/libertine-xmir. But while the first is working as expected, the latter seems to have no effect. (tested with chromium among others) Is this a known bug? (Since I'm tried to open libreoffice, the x11 apps do not work anymore at all... reboot didn't fix it.)
@hummlbach try this:
echo "Xft.dpi:220" > ~/.local/share/libertine-container/user-data/vivid/.Xdefaults
I don't know what I've done to spoil it, but I assume it was an apt-get upgrade approximately one month ago...
Since then I'm not able to start X11-apps anymore... To figure out what is happening, I've started XMir manually and launched chromium from the console as follows:
$ Xmir -rootless :1 -mirSocket /var/run/mir_socket
glamor EGL version: 1.4 (DRI2)
glamor EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_KHR_config_attribs EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
glamor GL version: 3.0 Mesa 17.2.8
glamor GL extensions: GL_ARB_multisample GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_copy_texture GL_EXT_polygon_offset GL_EXT_subtexture GL_EXT_texture_object GL_EXT_vertex_array GL_EXT_compiled_vertex_array GL_EXT_texture GL_EXT_texture3D GL_IBM_rasterpos_clip GL_ARB_point_parameters GL_EXT_draw_range_elements GL_EXT_packed_pixels GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_separate_specular_color GL_EXT_texture_edge_clamp GL_SGIS_generate_mipmap GL_SGIS_texture_border_clamp GL_SGIS_texture_edge_clamp GL_SGIS_texture_lod GL_ARB_framebuffer_sRGB GL_ARB_multitexture GL_EXT_framebuffer_sRGB GL_IBM_multimode_draw_arrays GL_IBM_texture_mirrored_repeat GL_3DFX_texture_compression_FXT1 GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_transpose_matrix GL_EXT_blend_func_separate GL_EXT_fog_coord GL_EXT_multi_draw_arrays GL_EXT_secondary_color GL_EXT_texture_env_add GL_EXT_texture_filter_anisotropic GL_EXT_texture_lod_bias GL_INGR_blend_func_separate GL_
glamor GLSL version: 1.30
[DRI2] Setup complete
[DRI2] DRI driver: i915
[DRI2] VDPAU driver: i915
Abgebrochen (core dump written) [translated ;)]
XMir is crashing as soon as I'm trying to launch an X-application (so the last line appeared, when I've did the following):
$ export DISPLAY=:1
$ libertine-launch /usr/bin/chromium-browser
ATTENTION: default value of option force_s3tc_enable overridden by environment.
** Message: Remote error from secret service: org.freedesktop.Secret.Error.IsLocked: Cannot create an item in a locked collection
[17609:17609:0215/090149.571338:ERROR:chrome_browser_main_extra_parts_x11.cc(62)] X IO error received (X server probably went away)
(pasted:17608): Gdk-WARNING **: pasted: Fatal IO error 11 (Die Ressource ist zur Zeit nicht verfügbar) on X server :1.
[17705:17705:0215/090149.571327:ERROR:x11_util.cc(86)] X IO error received (X server probably went away)
Is this a known issue? Anyone ran into it already?