LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-03-2019, 03:08 AM   #1
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Rep: Reputation: 15
Changing to non-latin input language breaks keyboard shortcuts


Changing language to a non-latin language appears to disable keyboard shortcuts. I've dug around an saw this bug reported several times

https://bugs.documentfoundation.org/...i?id=41169#c39
https://bugs.launchpad.net/unity/+bug/1226962

its marked as resolved/Fix Released (atleast for libreoffice) but I still get this issue. and I also get this issue on Firefox,IceCat,mousepad,Thunar and many others) strangely it doesn't seem to effect all programs as atom seems to work fine.

another, possibly related, issue is that on some programs the change language shortcut doesn't work. For example when I am working on Thunar and I do the change language shortcut it appears as if it doesn't register it however, the second I focus on another tab which doesn't have this issue (like IceCat) then it switches the languages as if the command is queued and waiting for a window focus switch.

Running Debian buster (XFCE install, replaced with Awesome WM) tested with both Russian and Hebrew keyboard layouts
 
Old 05-03-2019, 08:06 AM   #2
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
off the top of my head.
System keyboard is set to Hebrew.
Firefox is set to take latin (US_eng) for example.

so would this not automatically cause issues from the start?
The software is expecting the lang it was set to receive and the keyboard is set to give anything but that same lang.

Thereby causing a commination breakdown

(I do not play around with this, so I am just making a logical speculation).

Last edited by BW-userx; 05-03-2019 at 08:08 AM.
 
Old 05-03-2019, 10:31 AM   #3
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I'm using Xfce and I've just tried my shortcuts with the Greek keyboard and they work perfectly, and so do things like Ctrl-x in LibreOffice. They should be responding to the key code but in your cases they are reading the character code.

The programs are obviously dependent on the window manager for their input, so I'd suspect Awesome. Try switching back to Xfce and see if that solves it. Personally, I'd never use a simple window manager for a multiple keyboard driver system: Icewm isn't up to it, for example.
 
Old 05-04-2019, 03:05 PM   #4
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DavidMcCann View Post
I'm using Xfce and I've just tried my shortcuts with the Greek keyboard and they work perfectly, and so do things like Ctrl-x in LibreOffice. They should be responding to the key code but in your cases they are reading the character code.

The programs are obviously dependent on the window manager for their input, so I'd suspect Awesome. Try switching back to Xfce and see if that solves it. Personally, I'd never use a simple window manager for a multiple keyboard driver system: Icewm isn't up to it, for example.
I'm on xfce right now, tried libreffice and it still wont recognize shortcuts. same for IceCat, trying to do CTRL+A right now and it wont register unless I switch back to English.

Quote:
Originally Posted by BW-userx View Post
off the top of my head.
System keyboard is set to Hebrew.
Firefox is set to take latin (US_eng) for example.

so would this not automatically cause issues from the start?
The software is expecting the lang it was set to receive and the keyboard is set to give anything but that same lang.

Thereby causing a commination breakdown

(I do not play around with this, so I am just making a logical speculation).
How would I fix it then?
 
Old 05-04-2019, 03:37 PM   #5
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: Somewhere in my head.
Distribution: Slackware (15 current), Slack15, Ubuntu studio, MX Linux, FreeBSD 13.1, WIn10
Posts: 10,342

Rep: Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242Reputation: 2242
Quote:
Originally Posted by 2Pacalypse View Post
I'm on xfce right now, tried libreffice and it still wont recognize shortcuts. same for IceCat, trying to do CTRL+A right now and it wont register unless I switch back to English.



How would I fix it then?
(I do not play around with this, so I am just making a logical speculation).
 
Old 05-05-2019, 11:00 AM   #6
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
This is very strange! Try running the command-line tool xev, which reports the results of key presses. If I run xev and switch to Greek, then pressing the "a" key alone will show it as an alpha, but pressing it with Ctrl will show it as "a". What happes on your system?
 
Old 05-05-2019, 12:13 PM   #7
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
when I installed Greek it did give me Greek_alpha for the a key a but turned it into simple a with the CTRL modifier.

but I dont speak Greek, I need Hebrew and xev gives me hebrew_shin, even with the CTRL modifier.
 
Old 05-06-2019, 11:15 AM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
Well, that's interesting. Greek works and Hebrew doesn't. So, what about Russian? I suspect that will work, since it looks like the problem is in the code that handles complex fonts. The old bug reports show that there was a problem with GTK — one says that Russian was OK but not Hebrew — so it looks like the problem has come back. You might have to replace Buster's GTK version 3.24 with Stretch's 3.22.
 
Old 05-13-2019, 10:58 AM   #9
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by DavidMcCann View Post
Well, that's interesting. Greek works and Hebrew doesn't. So, what about Russian? I suspect that will work
yes. it worked. I made a mistake on my first test since the switching language doesn't work on some windows and appearently xev is one of them.

Quote:
Originally Posted by DavidMcCann View Post
since it looks like the problem is in the code that handles complex fonts. The old bug reports show that there was a problem with GTK — one says that Russian was OK but not Hebrew — so it looks like the problem has come back. You might have to replace Buster's GTK version 3.24 with Stretch's 3.22.
I downgraded to GTK 3.22 and the problem persists.
 
Old 05-14-2019, 10:51 AM   #10
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Debian
Posts: 6,137

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I've just installed a Hebrew keyboard driver and I have the same problem as in xev but not in LibreOffice. I'm sorry to say I give up! The only thing I can think of is that some programs are using GTK2 and some GTK3 and only one has the bug, but that's just a guess and not a solution.
 
1 members found this post helpful.
Old 05-14-2019, 05:31 PM   #11
2Pacalypse
Member
 
Registered: Nov 2006
Posts: 112

Original Poster
Rep: Reputation: 15
I decided to give up aswell. I switched to Mint today and both problems are gone. thanks for trying though
 
  


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
Changing the input language doesn't actually change the language 2Pacalypse Linux - Newbie 1 04-24-2019 02:53 PM
Repeated "input: AT Translated Set 2 keyboard as /class/input/input" messages AcerKev Mandriva 2 09-16-2007 08:35 AM
Latin Language Support in Ubuntu moo-cow Ubuntu 1 10-04-2006 08:35 AM
FOSS translation tools? English to Spanish, Spanish to Latin, Latin to Icelandic, etc brynjarh Linux - Software 0 06-19-2006 12:34 AM
Modifier keys + non-latin keyboard layouts angryziber Linux - Hardware 0 10-08-2003 02:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:46 PM.

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