guysoft / FullPageOS

A raspberrypi distro to display a full page browser on boot
GNU General Public License v3.0
3.82k stars 232 forks source link

Virtual Keyboard? #139

Open Morphy99 opened 7 years ago

Morphy99 commented 7 years ago

How do I enable a virtual keyboard for my touchscreen display?

I've installed matchbox-keyboard and ran it as a daemon however it's not appearing?

guysoft commented 7 years ago

Well, for a start running DISPLAY=:0 matchbox-keyboard from ssh works. Running it as demon does not. You could add it to the scripts/run_onepageos script. Or scripts/start_gui in the nightly builds

guysoft commented 6 years ago

Closing if no answer

Morphy99 commented 6 years ago

Sorry haven't had time to test as yet as my touchscreen is with a friend.

remi-grumeau commented 6 years ago

What about adding an extension for that?

https://chrome.google.com/webstore/detail/virtual-keyboard/pflmllfnnabikmfkkaddkoolinlfninn

Remi

Le 11 août 2017 à 19:00, Morphy99 notifications@github.com a écrit :

Sorry haven't had time to test as yet as my touchscreen is with a friend.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

davidus-sk commented 6 years ago

Did anyone find a solution? The chrome extension quoted above does not work with dropdown/search/filter input fields; when you type, nothing shows up and no filtering happens. The matchbox keyboard inserted into any of the files mentioned by @guysoft creates a tiny, almost unusable keyboard at the bottom of the screen. Funnily enough, when I run the matchbox command by hand after the web app loads then the keyboard loads up fine with the correct size.

Ideal solution would be an onscreen keyboard which appears only when an input field is activated by touch (like the mentioned extension, but working on all types of input fields).

nextlevelkid commented 6 years ago

Is there anyway i can add the virtual-keyboard extension from chromium and have it start on boot. ? It seems theres ways to call download extension with --apps-gallery-url or with somehow loading the ID of the extension and or the dir of the extension.. Can this be done somehow in i got matchbox running inserting it into but it makes the browser page small because it takes up part of the layout on the screen. Matchbox doesnt seem to have a auto-hide feature and florence doesnt seem to want to work well. its buggy and doesnt pop up over the top of the fullscreen chromium. any solution for that would at least be a start. It seems possibly --kiosk is not allowing anything to pop up over the top of browser window? (* i got florence virtual keyboard working (behind chromium) by making a keyboard.sh script and adding it to the run_fullpageos file. ) but again its really clunky and glitchy So overall it would seem like best idea to get the onboard chromium --virtual-keyboard and --float-virtual-keyboard working somehow and or be able to have the virtual keyboard from webstore preloaded and activated in chromium as an extension. Then it seems there wouldnt need to be any hacks to make keyboard work. just inside already running chromium. lastly is there a refresh command thats suggested so browser updates its cache on a more frequent basis?

Any feedback or thoughts would be greatly appreciated. i really want to use this setup for our kiosk. Great works on this btw. it seems to be a perfect solution for us. Hope to get this solved.

heres my setup in

chromium-browser --kiosk --touch-events=enabled --virtual-keyboard --disable-pinch --noerrdialogs --disable-session-crashed-bubble --app=$(head -n 1 /boot/fullpageos.txt)

I referred to link below for list of chromium commands: https://peter.sh/experiments/chromium-command-line-switches/

Linkek commented 9 months ago

I had the same issues. So I created this project to be able to trigger matchbox-keyboard from a Chrome extension.

https://github.com/Linkek/keyboardTriggerServer

Thought some people might think it's somewhat useful.