LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 04-26-2020, 03:59 AM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Rep: Reputation: Disabled
keyboard gets key stuck in Wayland but not in Xorg?


I gave a try Sway on my Arch system on my Laptop, Lenovo Ideapad G40-80. I normally use Arch + Awesome on it. It works great. Everything perfect. Keyboard is working perfect.

But today I tried Sway WM and found the keyboard is getting some keys stuck and some keys are not printing any character. I quit Sway and edit some text file in tty then the keyboard is working perfect in tty.

So, the keyboard is working fine in Xorg and TTY. But it is getting troubles in Wayland.

I found similar issue online here https://gitlab.gnome.org/GNOME/mutter/issues/532

But I don't find any solution. And I am not sure it is about hardware or software (Wayland).

Please.....
Thanks in advance.
 
Old 04-26-2020, 05:05 AM   #2
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,858

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
I can only recommend filing a bug report for such an issue
https://github.com/swaywm/sway/issues
 
Old 05-16-2020, 03:53 AM   #3
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 177

Original Poster
Rep: Reputation: Disabled
Hi Sorry for late come back here. I found my solution myself.

The problem was that I was starting sway in ~/.xinitrc file. The file is only used for Xorg window manager. To start Wayland window manager like sway, just type its name at tty prompt after login.

I don't use display manager. Start computer, login at tty and then type "sway". That's it.
 
Old 05-16-2020, 04:21 AM   #4
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,858

Rep: Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151Reputation: 1151
Thanks for the update.
 
  


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
[SOLVED] Volume function keys (from laptop, external keyboard works) get stuck in X11/Wayland (but seem to work with kernel) Stefan42 Linux - Laptop and Netbook 8 03-29-2019 09:20 AM
Wayland: Inaccessible and restrictive by design? (Aka, Wayland won't get out of my way and I don't want it in my future.) CajunCoder Linux - General 2 09-04-2017 12:32 PM
Does gnome-flashback session use wayland? Do all gtk3 apps use wayland? rubankumars Linux - Desktop 1 08-08-2017 04:13 AM
LXer: Mutter Wayland 3.11.2 Now Syncs Keymap from X.Org to Wayland LXer Syndicated Linux News 0 12-04-2013 02:15 AM
Future !X ? Wayland : X - what is wayland? serafean Linux - General 5 03-04-2011 11:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 06:22 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