[Testing] X11(simple desktop) + Chromium(web browser) in a simple installer for Stretch

#340

This desktop implementation will never provide a good browser based streaming video viewing experience since it won’t be able to leverage hardware decoding of the video. Sorry to disappoint you. You should wait for v18 to officially arrive for OSMC or install the v18 test builds and the necessary addons for viewing netflix if that is your intention.

KODI + Web Page
#341

@joakim_s

Hopefully the PI4 will have a much smoother browsing expereince :slightly_smiling_face:

#342

The installer now also installs a “virtual mouse & keyboard” controlled via the official OMC-remote. The Arrow-keys move the pointer, Play-key is left click, Stop-key is right click and Home-key gives a on-screen keyboard.

Hope this helps someone.

1 Like
#343

Just an FYI, I just installed this. I had to make some changes in the scripts to get it to work on Leia 18.3.

install_x11.sh:
sudo apt-get -y install lxde-core xserver-xorg xinit fbi libinput-dev xwit xdotool x11-utills xvkbd
Has 2 “l”'s in utills, should be 1 “l” (utils)
sudo apt-get -y install lxde-core xserver-xorg xinit fbi libinput-dev xwit xdotool x11-utils xvkbd

This one is cosmetic:
dialog --title “Installation finished!” --msgbox “\nThank you for using my installer\n” 11 70
Finished had 2 “n”'s (finnished). Should be finished

x_init.sh:
sudo systemctl stop eventlircdw
Has a “w” at the end of eventlircdw that needs to be removed (eventlicrd)
sudo systemctl stop eventlircd

sudo systemctl start eventlircdw
sudo systemctl start eventlircd

Even so, it is working great. I’ve been wanting to do something like this for a long time.

Great Work!!!

#344

@saruk Thanks for reporting the problems. Corrected and updated Github

#345

Hello @joakim_s
Is there some way how to temporary switch off the function of “virtual mouse & keyboard”?
If I wan´t use lxterminal, the arrow keys still move with mouse and not with the cursor in terminal window.
Is there possible some CTRL+ something which switch off this function?

Thanks Jan

#346

Not easily, will have to think about a solution for that. Will try to look into that this weekend. Like an on/of for the virtual mouse driver… I’m guessing you are using a keyboard and the new OSMC-remote mouse is hindering you?

1 Like
#347

Thank you very much
You are the best
:smile:

Edit:
I have Rpi3 and Rpi3+ with your desktop - one have wireless keyboard and mouse and TV remote by Panasonic. The second is connected to FHD monitor, wired mouse and keyboard only. Arrows on keyboard moving with mouse pointer not cursor and is very difficult move to the end of edited file in lxterminal (nano).
I think the function is good - if you have not connected mouse or keyboard.
It can be possible to detect mouse or keyboard during start and switch this function On or Off depend this detection?

#348

Detecting isn’t posible, as it’s implemented now, but in order for you to remove the “virtual mouse keyboard” do this:

nano ~/.config/openbox/lxde-rc.xml

remove these lines:

> 
> <!-- Control MOUSE via OSMC-remote with XWIT -->
> 
>   <!-- Keybinding for MOUSE CONTROL LEFT-->
>   <keybind key="Left">
>    <action name="Execute">
>          <command>xwit -root -rwarp -5 0</command>
>    </action>
>   </keybind>
> 
>   <!-- Keybinding for MOUSE CONTROL RIGHT-->
>   <keybind key="Right">
>    <action name="Execute">
>          <command>xwit -root -rwarp 5 0</command>
>    </action>
>   </keybind>
> 
>   <!-- Keybinding for MOUSE CONTROL UP-->
>   <keybind key="Up">
>    <action name="Execute">
>          <command>xwit -root -rwarp 0 -5</command>
>    </action>
>   </keybind>
> 
>   <!-- Keybinding for MOUSE CONTROL DOWN-->
> 
>   <keybind key="Down">
>    <action name="Execute">
>             <command>xwit -root -rwarp 0 5</command>
>    </action>
>   </keybind>
> 
>   <!-- Keybinding c for MOUSE CONTROL RIGHT CLICK-->
>   <keybind key="Cancel">
>    <action name="Execute">
>          <command>xdotool click 3</command>
>    </action>
>   </keybind>
> 
>   <!-- Keybinding for MOUSE CONTROL LEFT CLICK-->
>   <keybind key="XF86AudioPlay">
>    <action name="Execute">
>          <command>xdotool click 1</command>
>    </action>
>   </keybind>
>   <!-- Keybinding for i CONTROL Xvkbd-->
>   <keybind key="Home">
>    <action name="Execute">
>          <command>~/x11-start/virtualkeyboard-toogle.sh</command>
>    </action>
>   </keybind>
>  <!-- End of OSMC-remote config -->
#349

It is working in my case. Thank you very much
I mean in future version detection in starting script and selection of correct config file to using? It will be possible?
Jan

#350

@JanS I did a switch now, you’ll be asked every boot if you want keep VirtualMouse enabled or enable it if disabled. Rather annoying, but it’s easy to turn back on with the remote if you are out traveling without mouse/keyboard. And it’s rather simple to remove the autostart of the script, if you get tired of it.

I’ve added the needed files in the installer, if you want it without reinstalling the zip-file from github just shoot me a pm and i’ll give you step by step instructions to get the switch up and running.

#351

Thank you so much
I will test it today evening, Reinstall is good way to updating.
Jan

#352

Hello
I installed your script on 2 RPi, but I didn´t see any asking box - working like before
On one RPI I have after installation this message:

Vybírá se dosud nevybraný balík x11-utils.
Připravuje se nahrazení …/25-x11-utils_7.7+3+b1_armhf.deb …
Rozbaluje se x11-utils (7.7+3+b1) …
Vybírá se dosud nevybraný balík xbitmaps.
Připravuje se nahrazení …/26-xbitmaps_1.1.1-2_all.deb …
Rozbaluje se xbitmaps (1.1.1-2) …
Vybírá se dosud nevybraný balík xterm.
Připravuje se nahrazení …/27-xterm_327-2_armhf.deb …
Rozbaluje se xterm (327-2) …
Vybírá se dosud nevybraný balík xvkbd.
Připravuje se nahrazení …/28-xvkbd_3.3-1+b1_armhf.deb …
Rozbaluje se xvkbd (3.3-1+b1) …
Vybírá se dosud nevybraný balík xwit.
Připravuje se nahrazení …/29-xwit_3.4-15+b1_armhf.deb …
Rozbaluje se xwit (3.4-15+b1) …
Vybírá se dosud nevybraný balík zenity-common.
Připravuje se nahrazení …/30-zenity-common_3.22.0-1_all.deb …
Rozbaluje se zenity-common (3.22.0-1) …
Vybírá se dosud nevybraný balík zenity.
Připravuje se nahrazení …/31-zenity_3.22.0-1+b1_armhf.deb …
Rozbaluje se zenity (3.22.0-1+b1) …
Vybírá se dosud nevybraný balík libxdo3:armhf.
Připravuje se nahrazení …/32-libxdo3_1%3a3.20160805.1-3_armhf.deb …
Rozbaluje se libxdo3:armhf (1:3.20160805.1-3) …
Vybírá se dosud nevybraný balík xdotool.
Připravuje se nahrazení …/33-xdotool_1%3a3.20160805.1-3_armhf.deb …
Rozbaluje se xdotool (1:3.20160805.1-3) …
Nastavuje se balík libnotify4:armhf (0.7.7-2) …
Nastavuje se balík libsecret-common (0.18.5-3.1) …
Nastavuje se balík libgstreamer1.0-0:armhf (1.10.4-1) …
Setcap worked! gst-ptp-helper is not suid!
Nastavuje se balík libharfbuzz-icu0:armhf (1.4.2-1) …
Zpracovávají se spouštěče pro balík mime-support (3.60) …
Nastavuje se balík iso-codes (3.75-1) …
Nastavuje se balík libaspell15:armhf (0.60.7~20110707-3+b2) …
Nastavuje se balík xbitmaps (1.1.1-2) …
Nastavuje se balík emacsen-common (2.0.8) …
Nastavuje se balík xwit (3.4-15+b1) …
Nastavuje se balík libutempter0:armhf (1.1.6-3) …
Nastavuje se balík libhyphen0:armhf (2.8.8-5) …
Nastavuje se balík xaw3dg:armhf (1.5+E-18.2) …
Nastavuje se balík libxxf86dga1:armhf (2:1.1.4-1+b3) …
Zpracovávají se spouštěče pro balík libc-bin (2.24-11+deb9u4) …
Nastavuje se balík libtext-iconv-perl (1.7-5+b4) …
Nastavuje se balík zenity-common (3.22.0-1) …
Nastavuje se balík libxcb-shape0:armhf (1.12-1) …
Nastavuje se balík libxv1:armhf (2:1.0.11-1) …
Nastavuje se balík libjavascriptcoregtk-4.0-18:armhf (2.18.6-1~deb9u1) …
Nastavuje se balík libxdo3:armhf (1:3.20160805.1-3) …
Nastavuje se balík liborc-0.4-0:armhf (1:0.4.26-2) …
Zpracovávají se spouštěče pro balík hicolor-icon-theme (0.15-1) …
Nastavuje se balík libsecret-1-0:armhf (0.18.5-3.1) …
Nastavuje se balík libgles2-mesa:armhf (13.0.6-1+b2) …
Nastavuje se balík libhunspell-1.4-0:armhf (1.4.1-2+b2) …
Nastavuje se balík libgstreamer-plugins-base1.0-0:armhf (1.10.4-1+deb9u1) …
Nastavuje se balík xvkbd (3.3-1+b1) …
Nastavuje se balík dictionaries-common (1.27.2) …
Nastavuje se balík x11-utils (7.7+3+b1) …
Nastavuje se balík xdotool (1:3.20160805.1-3) …
Nastavuje se balík xterm (327-2) …
Nastavuje se balík aspell (0.60.7~20110707-3+b2) …
Nastavuje se balík aspell-en (2016.11.20-0-0.1) …
Nastavuje se balík libenchant1c2a:armhf (1.6.0-11+b1) …
Nastavuje se balík libwebkit2gtk-4.0-37:armhf (2.18.6-1~deb9u1) …
Nastavuje se balík zenity (3.22.0-1+b1) …
Zpracovávají se spouštěče pro balík libc-bin (2.24-11+deb9u4) …
Zpracovávají se spouštěče pro balík dictionaries-common (1.27.2) …
aspell-autobuildhash: processing: en [en-common].
aspell-autobuildhash: processing: en [en-variant_0].
aspell-autobuildhash: processing: en [en-variant_1].
aspell-autobuildhash: processing: en [en-variant_2].
aspell-autobuildhash: processing: en [en-w_accents-only].
aspell-autobuildhash: processing: en [en-wo_accents-only].
aspell-autobuildhash: processing: en [en_AU-variant_0].
aspell-autobuildhash: processing: en [en_AU-variant_1].
aspell-autobuildhash: processing: en [en_AU-w_accents-only].
aspell-autobuildhash: processing: en [en_AU-wo_accents-only].
aspell-autobuildhash: processing: en [en_CA-variant_0].
aspell-autobuildhash: processing: en [en_CA-variant_1].
aspell-autobuildhash: processing: en [en_CA-w_accents-only].
aspell-autobuildhash: processing: en [en_CA-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only].
aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only].
aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-variant_0].
aspell-autobuildhash: processing: en [en_GB-variant_1].
aspell-autobuildhash: processing: en [en_US-w_accents-only].
aspell-autobuildhash: processing: en [en_US-wo_accents-only].
–2019-10-02 07:01:56-- http://launchpadlibrarian.net/380369885/chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb
Překládám launchpadlibrarian.net (launchpadlibrarian.net)… 91.189.89.228, 91.189.89.229, 2001:67c:1560:8003::8007, …
Navazuje se spojení s launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 960016 (938K) [application/x-debian-package]
Ukládám do: „chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.2“

chromium-codecs-ffm 100%[===================>] 937,52K 4,55MB/s in 0,2s

2019-10-02 07:01:56 (4,55 MB/s) – „chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.2“ uloženo [960016/960016]

–2019-10-02 07:01:56-- http://launchpadlibrarian.net/380369879/chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb
Překládám launchpadlibrarian.net (launchpadlibrarian.net)… 91.189.89.229, 91.189.89.228, 2001:67c:1560:8003::8008, …
Navazuje se spojení s launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:80… spojeno.
HTTP požadavek odeslán, program čeká na odpověď… 200 OK
Délka: 46827006 (45M) [application/x-debian-package]
Ukládám do: „chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.2“

chromium-browser_68 100%[===================>] 44,66M 8,45MB/s in 5,7s

2019-10-02 07:02:02 (7,88 MB/s) – „chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.2“ uloženo [46827006/46827006]

(Načítá se databáze … nyní je nainstalováno 52748 souborů a adresářů.)
Připravuje se nahrazení chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb …
Rozbaluje se chromium-codecs-ffmpeg-extra (68.0.3440.75-0ubuntu0.16.04.1) přes (68.0.3440.75-0ubuntu0.16.04.1) …
Nastavuje se balík chromium-codecs-ffmpeg-extra (68.0.3440.75-0ubuntu0.16.04.1) …
(Načítá se databáze … nyní je nainstalováno 52748 souborů a adresářů.)
Připravuje se nahrazení chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb …
Rozbaluje se chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) přes (68.0.3440.75-0ubuntu0.16.04.1) …
Nastavuje se balík chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) …
Zpracovávají se spouštěče pro balík hicolor-icon-theme (0.15-1) …
Zpracovávají se spouštěče pro balík mime-support (3.60) …
Načítají se seznamy balíků… Hotovo
Vytváří se strom závislostí
Načítají se stavové informace… Hotovo
0 aktualizováno, 0 nově instalováno, 0 k odstranění a 3 neaktualizováno.
(Načítá se databáze … nyní je nainstalováno 52748 souborů a adresářů.)
Připravuje se nahrazení chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb …
Rozbaluje se chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) přes (68.0.3440.75-0ubuntu0.16.04.1) …
Nastavuje se balík chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) …
Zpracovávají se spouštěče pro balík hicolor-icon-theme (0.15-1) …
Zpracovávají se spouštěče pro balík mime-support (3.60) …

lqqqqqqqqqqqqqqqqqqqqqqqDownload and installqqqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                    x
x Downloading launcher and installing                                x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj













lqqqqqqqqqqqqqqqqqqqqqqqqPost setup tweaksqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                    x
x Changeing default background in X11 and updating Kodi addons       x
x to reflect X11 launcher                                            x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

ln: pevný odkaz ‘/etc/alternatives/desktop-background’ nebylo možné vytvořit: Soubor již existuje
Sending action: UpdateLocalAddons

lqqqqqqqqqqqqqqqqqqqqqqInstallation finished!qqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                    x
x Thank you for using my installer                                   x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x                             <Budiž>                                x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Synchronizing state of lightdm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable lightdm
osmc@osmc2:~$

On second I have this:
Unpacking libjavascriptcoregtk-4.0-18:armhf (2.18.6-1~deb9u1) …
Selecting previously unselected package libnotify4:armhf.
Preparing to unpack …/15-libnotify4_0.7.7-2_armhf.deb …
Unpacking libnotify4:armhf (0.7.7-2) …
Selecting previously unselected package libsecret-common.
Preparing to unpack …/16-libsecret-common_0.18.5-3.1_all.deb …
Unpacking libsecret-common (0.18.5-3.1) …
Selecting previously unselected package libsecret-1-0:armhf.
Preparing to unpack …/17-libsecret-1-0_0.18.5-3.1_armhf.deb …
Unpacking libsecret-1-0:armhf (0.18.5-3.1) …
Selecting previously unselected package libutempter0:armhf.
Preparing to unpack …/18-libutempter0_1.1.6-3_armhf.deb …
Unpacking libutempter0:armhf (1.1.6-3) …
Selecting previously unselected package libwebkit2gtk-4.0-37:armhf.
Preparing to unpack …/19-libwebkit2gtk-4.0-37_2.18.6-1~deb9u1_armhf.deb …
Unpacking libwebkit2gtk-4.0-37:armhf (2.18.6-1~deb9u1) …
Selecting previously unselected package xbitmaps.
Preparing to unpack …/20-xbitmaps_1.1.1-2_all.deb …
Unpacking xbitmaps (1.1.1-2) …
Selecting previously unselected package xterm.
Preparing to unpack …/21-xterm_327-2_armhf.deb …
Unpacking xterm (327-2) …
Selecting previously unselected package zenity-common.
Preparing to unpack …/22-zenity-common_3.22.0-1_all.deb …
Unpacking zenity-common (3.22.0-1) …
Selecting previously unselected package zenity.
Preparing to unpack …/23-zenity_3.22.0-1+b1_armhf.deb …
Unpacking zenity (3.22.0-1+b1) …
Setting up libnotify4:armhf (0.7.7-2) …
Setting up libsecret-common (0.18.5-3.1) …
Setting up libgstreamer1.0-0:armhf (1.10.4-1) …
Setcap worked! gst-ptp-helper is not suid!
Setting up libharfbuzz-icu0:armhf (1.4.2-1) …
Processing triggers for mime-support (3.60) …
Setting up iso-codes (3.75-1) …
Setting up libaspell15:armhf (0.60.7~20110707-3+b2) …
Setting up xbitmaps (1.1.1-2) …
Setting up emacsen-common (2.0.8) …
Setting up libutempter0:armhf (1.1.6-3) …
Setting up libhyphen0:armhf (2.8.8-5) …
Processing triggers for libc-bin (2.24-11+deb9u4) …
Setting up zenity-common (3.22.0-1) …
Setting up libjavascriptcoregtk-4.0-18:armhf (2.18.6-1~deb9u1) …
Setting up liborc-0.4-0:armhf (1:0.4.26-2) …
Processing triggers for hicolor-icon-theme (0.15-1) …
Setting up libsecret-1-0:armhf (0.18.5-3.1) …
Setting up libgles2-mesa:armhf (13.0.6-1+b2) …
Setting up libhunspell-1.4-0:armhf (1.4.1-2+b2) …
Setting up libgstreamer-plugins-base1.0-0:armhf (1.10.4-1+deb9u1) …
Setting up dictionaries-common (1.27.2) …
Setting up xterm (327-2) …
Setting up aspell (0.60.7~20110707-3+b2) …
Setting up aspell-en (2016.11.20-0-0.1) …
Setting up libenchant1c2a:armhf (1.6.0-11+b1) …
Setting up libwebkit2gtk-4.0-37:armhf (2.18.6-1~deb9u1) …
Setting up zenity (3.22.0-1+b1) …
Processing triggers for libc-bin (2.24-11+deb9u4) …
Processing triggers for dictionaries-common (1.27.2) …
aspell-autobuildhash: processing: en [en-common].
aspell-autobuildhash: processing: en [en-variant_0].
aspell-autobuildhash: processing: en [en-variant_1].
aspell-autobuildhash: processing: en [en-variant_2].
aspell-autobuildhash: processing: en [en-w_accents-only].
aspell-autobuildhash: processing: en [en-wo_accents-only].
aspell-autobuildhash: processing: en [en_AU-variant_0].
aspell-autobuildhash: processing: en [en_AU-variant_1].
aspell-autobuildhash: processing: en [en_AU-w_accents-only].
aspell-autobuildhash: processing: en [en_AU-wo_accents-only].
aspell-autobuildhash: processing: en [en_CA-variant_0].
aspell-autobuildhash: processing: en [en_CA-variant_1].
aspell-autobuildhash: processing: en [en_CA-w_accents-only].
aspell-autobuildhash: processing: en [en_CA-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-ise-w_accents-only].
aspell-autobuildhash: processing: en [en_GB-ise-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-ize-w_accents-only].
aspell-autobuildhash: processing: en [en_GB-ize-wo_accents-only].
aspell-autobuildhash: processing: en [en_GB-variant_0].
aspell-autobuildhash: processing: en [en_GB-variant_1].
aspell-autobuildhash: processing: en [en_US-w_accents-only].
aspell-autobuildhash: processing: en [en_US-wo_accents-only].
–2019-10-02 07:03:28-- http://launchpadlibrarian.net/380369885/chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)… 91.189.89.229, 91.189.89.228, 2001:67c:1560:8003::8008, …
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.229|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 960016 (938K) [application/x-debian-package]
Saving to: ‘chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.1’

chromium-codecs-ffm 100%[===================>] 937.52K 3.24MB/s in 0.3s

2019-10-02 07:03:29 (3.24 MB/s) - ‘chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.1’ saved [960016/960016]

–2019-10-02 07:03:29-- http://launchpadlibrarian.net/380369879/chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb
Resolving launchpadlibrarian.net (launchpadlibrarian.net)… 91.189.89.228, 91.189.89.229, 2001:67c:1560:8003::8007, …
Connecting to launchpadlibrarian.net (launchpadlibrarian.net)|91.189.89.228|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 46827006 (45M) [application/x-debian-package]
Saving to: ‘chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.1’

chromium-browser_68 100%[===================>] 44.66M 5.30MB/s in 8.2s

2019-10-02 07:03:37 (5.42 MB/s) - ‘chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb.1’ saved [46827006/46827006]

(Reading database … 52905 files and directories currently installed.)
Preparing to unpack chromium-codecs-ffmpeg-extra_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb …
Unpacking chromium-codecs-ffmpeg-extra (68.0.3440.75-0ubuntu0.16.04.1) over (68.0.3440.75-0ubuntu0.16.04.1) …
Setting up chromium-codecs-ffmpeg-extra (68.0.3440.75-0ubuntu0.16.04.1) …
(Reading database … 52905 files and directories currently installed.)
Preparing to unpack chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb …
Unpacking chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) over (68.0.3440.75-0ubuntu0.16.04.1) …
Setting up chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) …
Processing triggers for hicolor-icon-theme (0.15-1) …
Processing triggers for mime-support (3.60) …
Reading package lists… Done
Building dependency tree
Reading state information… Done
0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
(Reading database … 52905 files and directories currently installed.)
Preparing to unpack chromium-browser_68.0.3440.75-0ubuntu0.16.04.1_armhf.deb …
Unpacking chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) over (68.0.3440.75-0ubuntu0.16.04.1) …
Setting up chromium-browser (68.0.3440.75-0ubuntu0.16.04.1) …
Processing triggers for hicolor-icon-theme (0.15-1) …
Processing triggers for mime-support (3.60) …

lqqqqqqqqqqqqqqqqqqqqqqqDownload and installqqqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                    x
x Downloading launcher and installing                                x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj













lqqqqqqqqqqqqqqqqqqqqqqqqPost setup tweaksqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                    x
x Changeing default background in X11 and updating Kodi addons       x
x to reflect X11 launcher                                            x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

rm: cannot remove ‘/usr/share/applications/kodi.desktop’: No such file or directory
rm: cannot remove ‘/usr/share/xsessions/kodi.desktop’: No such file or directory
ln: failed to create hard link ‘/etc/alternatives/desktop-background’: File exists
Sending action: UpdateLocalAddons

lqqqqqqqqqqqqqqqqqqqqqqInstallation finished!qqqqqqqqqqqqqqqqqqqqqqqqk
x                                                                    x
x Thank you for using my installer                                   x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
x                                                                    x
tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x                             <  OK  >                               x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Synchronizing state of lightdm.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable lightdm
insserv: warning: current start runlevel(s) (empty) of script lightdm' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of scriptlightdm’ overrides LSB defaults (0 1 6).
insserv: warning: current start runlevel(s) (empty) of script lightdm' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of scriptlightdm’ overrides LSB defaults (0 1 6).

Something goes wrong and no asking anywhere.
I just reinstall your script - no any uninstal

#353

Guess i’ll have to check the install on a new device too. Must have missed something, or the seesion id for autostart isn’t general but uniqe for each installation.

The second pi was a reinstall right? The error mesaages about lightdm is because to old installation allready disabled lightdm. The same on the other error messages i saw from instaallation 2.

PS. I think i know what the problem was, forgot to set executable bit for the switch script, will try on my new system.

#354

@JanS try this

chmod +x /home/osmc/x11-start/vmkd-switcher.sh

should make it all work, i forgot to chmod it in the installer script.

#355

Hello Joakim_s
It working only on one of my RPi - it is RPi with only mouse and keyboard
I´m not sure the exact reason why not working on second.
On this RPi when I switch On your addon the TV switch off and after TV switch ON I see the asking window, but it does not matter what I select - the movement od mouse by remote arrow is not working.
Maybe the reason is the language - this RPi is in czech, or switch TV OFF during startup of x11 (I have adjusted switch off TV when starting screensaver), or my editing of file lxde-rc.xml according your first sugestion (but now in the file lxde-rx.xml is already added keybinding for mouse )
I will make some test tomorow and let you know.
If you have some idea for test, please let me know

Thanks for your help
Jan

#356

Well fiirst of all, if you want to disabled the “remote mouse”, you will need a real mouse or a keyboard. Real mouse to leftclick on the no button or keyboard to press ALT+n for no button. Doing with arrowkeys and enter wont work if the remote mouse is enabled (due to it stealing arrow keys )

The window for enabled/disable “remote mouse” is very similar so you almost have to read what it says. Yes is always the default action, and enter (ok button or the remote) will trigger yes. And yes is always enable/keep the remote enabled

#357

I just did a clean install and it worked out of the box after I had corrected the installer on github.

It puts up a dialog asking if you wanna keep the “remote mouse” enabled. Once i tried to disabled it, on the next start it asked me if I wanted to enable the “remote mouse” again.

So it should work, if I doesn’t for you I’m confused and really don’t know what the problem is.

#358

Unfortunately my installation of osmc with this problem suddenly got damaged and I had to reinstall it so the problem was solved by this clean install.
Now it is working
Thanks for your help
Jan

#359

For those that dont want the “Switch-dialog” popping up every start of Xwindows, you can do this:

nano ~/.config/lxsession/LXDE/autostart

and remove the line: @/home/osmc/x11-start/vmkd-switcher.sh