matchbox-keyboard | Matchbox-keyboard | Keyboard library
kandi X-RAY | matchbox-keyboard Summary
kandi X-RAY | matchbox-keyboard Summary
matchbox-keyboard is an on screen 'virtual' or 'software' keyboard. it will hopefully work well on various touchscreen devices from mobile phones to tablet pcs running x windows. it aims to 'just work' supporting localised, easy to write xml layout configuration files. it’s made available under the lgpl. i wrote 'xkbd' a few years back which tried to do the same thing. it was the first xlib app i wrote and the first bit of c id coded in quite a few years. it was a mess but basically worked, though with a few problems. matchbox-keyboard is my much promised rewrite. the code is cleaner and it hopefully addresses much of the previous short comings of xkbd. do the usual autotool jig of ./configure, make, make install. ( if building from svn you’ll need to run ./autogen.sh before this). matchbox-keyboard needs xlibs, xft, libfakekey and expat to build - the configure script will detect these. also optionally there is experimental cairo support for rendering the keys and example embeddeding code. and start typing. the config file will be selected based on locale setting and supplied variant name. the onlu current option is -xid, used for embedding ( see below ). the following environmental variables are also used, if
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of matchbox-keyboard
matchbox-keyboard Key Features
matchbox-keyboard Examples and Code Snippets
Community Discussions
Trending Discussions on matchbox-keyboard
QUESTION
I´ve built an web application and I am running that on a Raspberry Pi with Raspbian in KIOSK Mode. (10" touchscreen as well)
The idea is that it will be wall mounted with no keyboard or mouse attached to it. But the problem I have now is that I need some kind of virtual keyboard to either always show or only show on input focused.
I have tried with Matchbox-keyboard and I have changed the layout so it fit my needs, but when I try to run it in autostart it will only startup in a tiny tiny size in the corner.
I've also tried to manually start the keyboard and then start the browser in fullscreen but they do not want to play with each other.
So basicly I am wondering if anyone have any smart solution to fix my problem or if you can just recommend some other keyboard that might work.
Best Regards,
Daniel
...ANSWER
Answered 2017-Jul-27 at 07:51Are you using -d option of matchboard-keyboard ....
mine working fine I am running chromium inside nodm matchbox-window-manage over x11 here is my xsession file I Have to change layout of keyboard like we have in most android...
QUESTION
Apologies if this has been asked before, but I couldn't find a clear answer. I'm writing a GUI to control a motor from a raspberry pi, and it's on a touchscreen. I've written some code which opens the built in matchbox keyboard when the Entry widget comes into focus, but this halts my entire tkinter window in the background, meaning that the user cannot see what they are entering appear in the Entry until they have closed the keyboard, and also that the screen often tears and looks horrible when it hangs in the background. Is there anyway to run this command:
def createNumpad(event=none):
os.system('matchbox-keyboard numpad')
so that the tkinter window doesn't freeze while the keypad is open? Thanks!
ANSWER
Answered 2019-Jul-30 at 15:05This is the relevant code from a SO answer changed to fit Tkinter:
QUESTION
I have created an sh file:
...ANSWER
Answered 2018-Apr-04 at 11:46The script executes both commands sequentially and waits each time until the command returns.
You could change it to:
QUESTION
What I'm trying to do is when a user (via a touchscreen) clicks on an editable QEditLine I want it to show the Matchbox-Keyboard for user input. When it is not clicked do not show the keyboard.
I've gone through the C documentation, and a few C examples, but I'm lost as too make the jump to Python. I see people mentioning setting the "focus" can someone explain this too me?
...ANSWER
Answered 2018-Mar-15 at 19:11import sys
import os
from PyQt5.QtWidgets import QApplication, QFileDialog, QSlider, QComboBox, QCheckBox, QWidget, QMainWindow, QPushButton, QLabel, QGridLayout, QGroupBox, QRadioButton, QMessageBox, QLineEdit
from PyQt5.QtGui import QIcon, QPixmap
from PyQt5.QtCore import pyqtSlot, Qt
class App(QMainWindow):
def __init__(self):
super().__init__()
self.title = 'GUI TESTS'
self.left = 0
self.top = 0
self.width = 800
self.height = 400
self.statusBarMessage = "GUI TEST"
self.currentSprite = 'TEST.png'
self.btn1Active = False
self.btn2Active = False
self.btn3Active = False
self.btn4Active = False
self.btn5Active = False
self.btn6Active = False
self.btn7Active = False
self.btn8Active = False
self.saveLocationDir = ""
self.initUI()
def initUI(self):
self.setWindowTitle(self.title)
self.setGeometry(self.left, self.top, self.width, self.height)
self.statusBar().showMessage(self.statusBarMessage)
self.userNameLabel = QLabel(self)
self.userNameLabel.move(0,125)
self.userNameLabel.setText("What is your name?")
self.userNameLabel.resize(120,20)
self.nameInput = QLineEdit(self)
self.nameInput.move(0,145)
self.nameInput.resize(200,32)
self.nameInput.setEchoMode(0)
self.nameInput.mousePressEvent=self.showKeyboard
@pyqtSlot()
def showKeyboard(self,event):
if event.button() == QtCore.Qt.LeftButton:
QtWidgets.QLineEdit.mousePressEvent(self, event)
command = "matchbox-keyboard"
os.system(command)
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install matchbox-keyboard
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page