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

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 -->

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

@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.

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

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

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.

@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.

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

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

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.

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

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

Hey @joakim_s,

I’m looking for a way to use my OSMC box for video conferencing. Would your install enable me to use WebRTC service like meet.jit.si? Thanks for your help!

Andreas

Sorry for the late reply, real life does mess with my computer time lately. In short you got the answer in the other thread, I would think most of it work until you come to the client video bits in chromium, when there is no hardware acceleration in Chromium video isn’t going to be smooth what ever you do. :frowning:

Hope you find a solution for you

Thanks for your clarification! I’ll abandon the Chrome idea then for the time being. :-/ I’ll let you know (probably best in the other thread then) if I find a working solution!

Hello. I have a question
Does VPN work in this launcher? I configured VPN in OSMС, passed through a proxy, but internet traffic on browser does not go through a proxy? On SSH “netstat -lntp” in KODI I see my proxy IP. But in “terminal” inside your launcher “netstat -lntp” command doesn’t show my proxy IP. How can I customize this? (sorry for my English)

Hey @joakim_s first of all thank you for this, it’s a great tool.

Hopefully a simple question, I just want to know the add-on ID. I want to run it from the main menu and I can’t figure out how to find out the ID I need to put in the action for the menu item.

Thanks!

Hi

You find it where you find it for all other plugins, in the plugins addon.xml, in this case the file is located here:
/home/osmc/.kodi/addons/plugin.program.x11-launcher/addon.xml

<addon id=“plugin.program.x11-launcher”

Thanks so much, I asked elsewhere how to find an add-on ID but got a fairly unsatisfactory answer. Thanks so much this will help for other things too!

Thanks to your awesome installer I (X11-firsttimer) managed to get a desktop environment on my Vero 4K (I want to use my old Vero 4K as an RDP-client with Remmina when working in home office, which works quite well so far).

Unfortunately I cannot get it to work in UHD resolution (3840x2160), neither on my 4K Monitor nor on my 4K TV. I am aware of the 4k@60Hz-over-HDMI-problem, but 4k@60Hz works fine when I connect my windows-laptop to the displays with the very same HDMI-cable. My laptop has HDMI 2.0, and so has Vero 4K, so it should work from the hardware-side, shouldn’t it?

What I tried, was to reconfigure /etc/X11/xorg.conf and added a modeline for 4k-resolution, but it seems that the file is not interpreted at all when starting up x-server. Whenever I tried to apply the new mode to xrandr (--newmode, --addmode, --output --mode) it gives me a “screen cannot be larger than 1920x1080”-error.

I am stuck here, as all tutorials either refer to a full-feature-ubuntu (which seems a bit more convenient than the LXDE-solution) or get a really verbose output after running xrandr -q - but in my case this brings up only these lines:
Screen 0: minimum 1920 x 1080, current 1920 x 1080, maximum 1920 x 1080
default connected 1920x1080+0+0 0mm x 0mm
1920x1080 0.00*

Could anyone help me or point me in a promising direction? As far as I understand my new mode added in xorg.conf should be listed when running -q - or am I wrong?