LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 01-17-2022, 11:16 AM   #1
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
raspberry pi 4 with touchscreen: how to show a keyboard at first login?


According this post, I installed a keyboard on the 7 inch touchscreen
https://pimylifeup.com/raspberry-pi-...#comment-79558
Works.

Now, for having the keyboard at login, I included (according
https://raspberrypi.stackexchange.co...hen-logging-in )
in
Code:
/etc/lightdm/lightdm-gtk-greeter.conf
the command to start the virtual keyboard during login:

Code:
keyboard=matchbox-keyboard --focus &
but no keyboard appear.
Any hint/suggestion what should be done better?
 
Old 01-17-2022, 01:38 PM   #2
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,118
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
On Icewm I would have

Code:
prog keyboard=matchbox-keyboard --focus &
and flux box would have

Code:
[exec] keyboard=matchbox-keyboard --focus &
Probably won't help in your case but I figured I'd throw it out there.
 
Old 01-17-2022, 01:40 PM   #3
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,118
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Code:
which keyboard
I'd also check the full path with the command
 
Old 01-18-2022, 07:17 AM   #4
dburke8088
LQ Newbie
 
Registered: Jan 2021
Location: South East USA
Distribution: Ubuntu 20.04
Posts: 4

Rep: Reputation: Disabled
onboard

install onboard, add to launch app.
 
Old 01-18-2022, 01:03 PM   #5
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
I tried several things:
- onboard activated with xdm (instead of lightdm)
- onboard in lightdm
whatever.. the first login screen dont show any button/icon to activate any virtual keyboard.
It ok for me for now: I will go into the login with my bluetooth keyboard then start to use the keyboard on the screen after the first login. It means only somebody with the predefined bluetooth keyboard will be able to log in and to use the touchscreen. But fo far, I am the only one using that touchscreen on the raspberry pi4 = why should I use a mechanical keyboard only in the first login phase.
It would have been 100% good, a mechanical keyboard free (blootooth or usb) use of the touchscreen from boot till shutdown would have been possible.

However, any solution is welcome (not a nogo situation for me; I can live with it).

gdm3 https://raspberrypi.stackexchange.co...ng-touchscreen show the keyboard; but after the login, the screen stay dark.
So, lets go back to lightdm.

Last edited by floppy_stuttgart; 01-18-2022 at 01:23 PM.
 
Old 01-18-2022, 01:43 PM   #6
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,118
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Have you tried after keyboard installs

Code:
sudo apt-get install --reinstall xserver-xorg-input-all
Just another poke and hope.
 
Old 01-19-2022, 12:55 PM   #7
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Quote:
Originally Posted by rokytnji View Post
Have you tried after keyboard installs

Code:
sudo apt-get install --reinstall xserver-xorg-input-all
Just another poke and hope.
Thanks. I have done it. No success.
In fact, its going black because the error is seen in dmesg "v3d fec00000.v3d: MMU error from client CLE (4) at 0x2921040, pte invalid"
Seems to be a widespreaded error.
So, lets go back to lightdm.

Last edited by floppy_stuttgart; 01-19-2022 at 01:11 PM.
 
Old 01-19-2022, 02:20 PM   #8
rokytnji
LQ Veteran
 
Registered: Mar 2008
Location: Waaaaay out West Texas
Distribution: antiX 23, MX 23
Posts: 7,118
Blog Entries: 21

Rep: Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474Reputation: 3474
Quote:
So, lets go back to lightdm.
Good Luck

Found this also

Quote:
When you boot up Ubuntu desktop, the boot procedure ends with launch of a display manager (or login manager) with Greeter interface, where you type in your login info. By default, Ubuntu desktop uses LightDM with Unity Greeter interface. Without a hardware keyboard, you cannot enter username and password at the login screen.

To be able to launch a virtual keyboard at the login screen, install GTK+ Greeter, which comes with on-screen keyboard support.
From

https://www.xmodulo.com/onscreen-vir...ard-linux.html

Last edited by rokytnji; 01-19-2022 at 02:26 PM.
 
1 members found this post helpful.
Old 01-20-2022, 03:11 AM   #9
floppy_stuttgart
Senior Member
 
Registered: Nov 2010
Location: EU mainland
Distribution: Debian like
Posts: 1,155

Original Poster
Blog Entries: 5

Rep: Reputation: 107Reputation: 107
Haha. Well done.

My findings:

- the GTK+ Greeter from the indicated link above was installed on my pi4

Quote:
sudo nano /etc/lightdm/lightdm-gtk-greeter.conf
Quote:
..
[greeter]
keyboard=onboard
keyboard-position=0 70%;100% 30%
..
- by reading the link above "click on a human symbol icon on the top right corner. You will see On Screen Keyboard menu option as follows."
then, yes, the on-board screen was already there, hidden behind the human symbol icon (in lxde).

Remark: lxde works; not raspberrypi-ui-mods https://raspberrytips.com/upgrade-ra...te-to-desktop/

CLOSED. THANKS.

Last edited by floppy_stuttgart; 01-20-2022 at 04:38 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
3.0 touchscreen works. 5.0 upgrade touchscreen does not work Stonetablet Bodhi 4 12-08-2019 09:39 AM
Dual head setup with one touchscreen stretching over non-touchscreen display gutaker Linux - Hardware 0 03-13-2012 04:06 PM
looking for touchscreen drivers for mandriva 2008, touchscreen working with windows inder_18nec Linux - Software 3 02-20-2010 05:11 PM
Touchscreen Drivers - Toughbook CF-19 w/Red Hat 5.3 (Fujitsu USB Touchscreen) bsheridan Linux - Laptop and Netbook 0 11-17-2009 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 03:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration