Keyboard layout change on hotkeys press instead of release and do not work well with shortcuts (reopen)

Bug #1683383 reported by Lastique
504
This bug affects 98 people
Affects Status Importance Assigned to Milestone
X.Org X server
New
Unknown
xorg (Debian)
New
Unknown
xorg-server (Ubuntu)
Confirmed
Wishlist
Unassigned

Bug Description

From duplicate bug 1720364 report.

Steps to reproduce:
1. Install ubuntu-mate-desktop on Ubuntu 16.04 LTS with HWE (Xorg 1.19.5), or 17.10 or 18.04 LTS.
2. Set-up two keyboard layouts - English and Russian
3. Set <Ctrl+Shift> as keyboard layout switcher in mate-control-center
4. Try to use shortcuts starting from <Ctrl+Shift>:
4.1. Open Firefox, open new tab, go to some site in it, close tab, try to click <Ctrl+Shift+T> to restore closed tab.
4.2. Open mate-terminal, try to open new tab with <Ctrl+Shift+T>, or copy (<Ctrl+Shift+C>), or paste (<Ctrl+Shift+V>).
4.3. Open pluma, write some text, try to navigate in it with <Ctrl+Shift+arrow>.

Expected results:
<Ctrl+Shift> switches keyboard layout, shortcuts starting from <Ctrl+Shift+...> work normally.

Actual results:
<Ctrl+Shift> switches keyboard layout, shortcuts starting from <Ctrl+Shift+...> do not work.

Notes:
1. Ubuntu 16.04 LTS (Xorg 1.18.4) with Marco and Compton work normally with <Ctrl+Shift> keyboard layout switcher.
2. This problem was discovered before on 13.10, 14.04 and other modern versions with GNOME desktop (Metacity and Compiz) - see bug 1245473.

---------------------------
Original description below:

This is a reopen of bug #36812, which has reappeared in Kubuntu 17.04 Zesty Zapus.

This is a bug about shortcuts mapped to combinations which include each other.

For example, if we have Ctrl+Shift (for keyboard layout) and Ctrl+Shift+N (to open a new terminal), then we are practically unable to use the second shortcut; this is what happens:
Ctrl press (nothing happens)
Shift press (keyboard layout change)
N (a simple N appears, since a shortcut has already fired)

The expected behavior is to fire shortcuts on the release (not on press) of the special keys (ctrl,shift,alt, etc) which is also how Windows behave. This is a serious problem for bilingual layouts, typically using Alt+Shift or Ctrl+Shift for keyboard layout change.

Apparently, the bug has reappeared after the patch that used to fix the problem (208_switch_on_release.diff) has been removed from X.Org 1.19 packages. There is an updated patch in the upstream ticket https://bugs.freedesktop.org/show_bug.cgi?id=865 (link to the attachment: https://bugs.freedesktop.org/attachment.cgi?id=129861).

ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: xserver-xorg-core 2:1.19.3-1ubuntu1
Uname: Linux 4.9.0-22.1-liquorix-amd64 x86_64
NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
ApportVersion: 2.20.4-0ubuntu4
Architecture: amd64
CurrentDesktop: KDE
Date: Mon Apr 17 17:46:35 2017
InstallationDate: Installed on 2015-05-01 (716 days ago)
InstallationMedia: Kubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: xorg-server
UpgradeStatus: Upgraded to zesty on 2017-04-16 (1 days ago)

Revision history for this message
Lastique (andysem) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in xorg-server (Ubuntu):
status: New → Confirmed
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

And if you had a look at the upstream bug you'd see that the patch doesn't work. It needs to get upstream first anyway.

Revision history for this message
Alex Ee (bibi4k0) wrote :

I had the same problem.

Revision history for this message
tlk (sarcasticskull) wrote :

Timo Aaltonen (tjaalton) wrote 10 hours ago: #3

And if you had a look at the upstream bug you'd see that the patch doesn't work. It needs to get upstream first anyway.
-------------------------------
1) It's just one (incomplete) report that it doesn't. I'll try the patch myself soon.
2) The previous patch wasn't in upstream either, yet Ubuntu maintainers did absolutely right to accept it IMO.
3) AFAIK Xorg people rejected this change outright (that is? after some prolonged explanaitons what the actual problem was - shows that they just don't have the issue thus don't care too much).
3) Yet people shouldn't be held hostage because the proposed behavior breaks the XKB spec - without (? AFAIK) a single confirmed case of it breaking any real world X client.

Revision history for this message
Lastique (andysem) wrote :

> And if you had a look at the upstream bug you'd see that the patch doesn't work.

I can see that someone reported it to not work for one-key combinations (e.g. Ctrl). I believe, the previous patch that was removed had the same limitation, and it was "good enough".

We need to see if it works for two-key combinations (e.g. Ctrl+Alt or Alt+Shift).

> It needs to get upstream first anyway.

It's unlikely to be accepted into XKb for the same reasons as the previous patch. This ticket is a request to add the patch to Ubuntu packages because this is a real problem that affects people.

Revision history for this message
MKorvin (guitarmaster-play) wrote :

Same problem, waiting for fix.

Revision history for this message
flux242 (flux242) wrote :

please apply the old patch. Let the 17.04 work as the 16.10. Screw the upstream because it could take ages for them to decide

Revision history for this message
tlk (sarcasticskull) wrote :

Thats the problem - the old patch doesn't work for the newer Xorg server.

AFAIU the upstream won't accept this anyway.
Thus it's the matter of testing the patch and getting it into Ubuntu. AFAIK Ubuntu was the only major distro that applied the old patch. Was yet another reason to use it.

Revision history for this message
MKorvin (guitarmaster-play) wrote :

I have arch linux installed on another PC and Xorg server from https://aur.archlinux.org/packages/xorg-server-bug865/ works fine for me. Sources of applied patch are attached, is it possible to get it from there?

Revision history for this message
ainur (ainureg) wrote :

I have it since yesterday, when i decided to update x-server packages

404 sudo apt-get install xserver-xorg-core xserver-xorg-input-evdev xserver-xorg-input-libinput xserver-xorg-input-synaptics xserver-xorg-input-wacom xserver-xorg-video-amdgpu xserver-xorg-video-ati xserver-xorg-video-fbdev xserver-xorg-video-intel xserver-xorg-video-mach64 xserver-xorg-video-neomagic xserver-xorg-video-nouveau xserver-xorg-video-openchrome xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident xserver-xorg-video-vesa xserver-xorg-video-vmware
  405 sudo apt-get install xserver-xorg-input-evdev

Revision history for this message
Andrey Vetlugin (antrew) wrote :

This annoying bug takes my linux user experience 15 years back to 2002. Is there a way to make Ubuntu great again? Are there any known workarounds for this bug?

Revision history for this message
Vavooon (vavooon) wrote :

Meanwhile I can suggest a partial workaround for the problem:
You can map layout switching to LEFT Ctrl+Shift and right keys will be available for using with shortcuts.

Revision history for this message
tlk (sarcasticskull) wrote :

Not exactly a bug, it's just how it works by default and that is what the xkb specs supposedly say. So this behavior dates way back certainly more that 15 yrs ))
And the fix was incorporated by Ubuntu only a couple of yrs ago certainly not in 2002 )))

The 'workaround' suggested above is what I use btw. And what have used on other distros.

Revision history for this message
kolya (mar-kolya) wrote :

That patch that fixes the problem has been applied in Ubuntu for way more than 'couple of years'

Unfortunately using right keys for modifiers doesn't work well with people who use 10 finger typing - they are used to press certain keys with certain fingers - to speed up their typing, and using wrong hand slows things down and leads to errors. Some modifier-heavy apps - like Emacs become very inconvenient if used with wrong modifier keys.

Revision history for this message
tlk (sarcasticskull) wrote :

well yeah more than a couple. I actually remember when I got fed up with this and went looking on the net what can be done and later found out that Ubuntu would accept the patch - I was on another distro then. just don't remember when exactly.

I do the 10 fingers typing but even if you don't it's annoying.

Revision history for this message
ainur (ainureg) wrote :

btw

here is solution
i can translate if anyone wants
https://habrahabr.ru/post/87408/

Revision history for this message
tlk (sarcasticskull) wrote :

сАлюшн пересобрать руками с патчем? хабра такая хабра.

Timo Aaltonen (tjaalton)
Changed in xorg-server (Ubuntu):
importance: Undecided → Wishlist
Changed in xorg-server:
importance: Unknown → High
status: Unknown → In Progress
Revision history for this message
Artem Kovalov (artemkovalov) wrote :

Пересобрать таки помогло) Аж выдохнул. Жаль, что мейнтейнеры ppa не обновляют оперативно билды для свежих релизов.

Revision history for this message
Anton Petrusevich (apetr) wrote :

Please return the patch back!

Revision history for this message
Igor Kostromin (elw00d) wrote :

manual patching recipe (thx Artem Kovalov) for Ubuntu 16.04.3

https://gist.github.com/elw00d/0826917118d58e81843e2d11bc6cf885

I uploaded deb to https://www.sendspace.com/file/av86cf

Revision history for this message
Pavel (spvkgn) wrote :

I uploaded xorg-server 1.19.3 packages for 17.04 with included patch from https://bugs.freedesktop.org/show_bug.cgi?id=865 to PPA ppa:spvkgn/xorg-patches

Revision history for this message
Pavel (spvkgn) wrote :
Revision history for this message
Jacob Becker (jabecker) wrote :

I uploaded xorg-server 1.19.3 packages for 16.04.3 i386 with included patch from https://bugs.freedesktop.org/show_bug.cgi?id=865 to https://drive.google.com/open?id=0B_avx7RnFL6Ub1hESFZLT21iaG8

Revision history for this message
Jacob Becker (jabecker) wrote :

Here's my script based on the gist mentioned on comment #21
https://github.com/plastikat/patch-xkb-layout-switch

It tries to be generic. It uses a separate configuration file for each platform, which means it is extensible. It is still apt-based, though.

Revision history for this message
Vitaliy (velnik) wrote :

I had the same problem.
Ubuntu Mate 16.04.3 LTS

Revision history for this message
A (zorn-v) wrote :

My script based on Jacob's one.
https://gist.github.com/zorn-v/df0dccd14af81e017fbe8a4e1523ddf5

It removes all packages installed for build (with prompt).
Patch downdload commented out.

Bolow this line is the cry of the soul
====================================
It is IDIOTISM. It's need to recompile WHOLE X.ORG for simple behavior whose should be in some config at least.

Many dislikes and curse to upstream mainteiners. AFAIK this bug since 200X. THIS IS SHAME.

You can put your important opinion in the...
Yes, I don't respect you as you don't respect users (and distro mainteiners) of your lib.

Revision history for this message
A (zorn-v) wrote :

Also works on 17.10 BTW.

Revision history for this message
A (zorn-v) wrote :

Now I understand why "libs" like wayland appears. X.org SUCKS.

Changed in xorg-server:
status: In Progress → Confirmed
Revision history for this message
V-ctor (radioengineer) wrote :
Download full text (4.2 KiB)

How to make it works on 17.10?
There is no package xserver-xorg-core-hwe-xxx.
I did this:
1. sudo apt install devscripts
2. apt-get build-dep xorg-server
3. apt source xserver-xorg-core
4. wget https://bugs.freedesktop.org/attachment.cgi?id=129861
5 cd xkb
6. patch < attachment.cgi?id=129861
7. debuild -us -uc

and got:

# Make sure Xvfb at least starts up
PATH=debian/tmp/main/usr/bin/:/bin:/usr/bin \
  debian/tmp/main/usr/bin/xvfb-run -s "-screen 0 1280x1024x24 -nolisten tcp -noreset" true
install debian/local/xvfb-run.1 debian/tmp/main/usr/share/man/man1
make[1]: выход из каталога «/home/victor/Developing/XServer/xorg-server-1.19.5»
   debian/rules override_dh_install
make[1]: вход в каталог «/home/victor/Developing/XServer/xorg-server-1.19.5»
# dh_install --fail-missing
dh_install --list-missing
dh_install: Please use dh_missing --list-missing/--fail-missing instead
dh_install: This feature will be removed in compat 11.
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 1: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/lib/xorg/modules: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 2: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/bin/Xorg: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 3: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/bin/X: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 4: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/share/man/man1/Xorg.1: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 5: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/share/man/man4: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 6: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/share/man/man5/xorg.conf.5: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 7: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/share/man/man5/xorg.conf.d.5: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 8: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/bin/cvt: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 9: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/bin/gtf: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 10: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: main/usr/share/man/man1/cvt.1: not found
/home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-core.install: 11: /home/victor/Developing/XServer/xorg-server-1.19.5/debian/xserver-xorg-cor...

Read more...

Revision history for this message
Norbert (nrbrtx) wrote :

This bug is a duplicate of well known bug 1245473 .

tags: added: artful xenial
removed: amd64 third-party-packages
tags: added: bionic
Revision history for this message
Sebastian Bär (sebastian-ubuntu-one) wrote :

In case you don't need to switch between keyboard layouts, you can get some shortcuts working again if you use the "Tweaks" tool for Gnome.

  sudo apt install gnome-tweak-tool

Then

1. Open "Tweaks"
2. Select the tab "Keyboard & Mouse"
3. Click "Additional Layout Options"
4. Disable entries in the "Switching to another layout" dialog

In my case this gave me back the "ALT + SHIFT" combinations which are essential in the Eclipse IDE for refactoring.

201 comments hidden view all 273 comments
Revision history for this message
In , Daniel Stone (daniels) wrote :

(In reply to Kovács Viktor from comment #181)
> Sorry, on newer Linux you can set up hot key combination for that problem as
> graphical UI settings, older Linux versions will not be updated. May I close
> It?

Please do not close this bug. If you do not want to receive any further updates on it, you can unsubscribe by removing yourself from the Cc list.

Revision history for this message
In , Mim-t (mim-t) wrote :

(In reply to Alex Efros from comment #186)
> (In reply to k0fe from comment #185)
> > (In reply to Alex Efros from comment #184)
> > > There is a patch, working good enough for years without creating any new
> > > (practical) issues. In comment #161 is was proposed to make it configurable
> > > option to make everyone happy and let users choose between using compliant
> > > protocol or working hotkeys.
> >
> > Where is the link to the patch? Where is the instruction like how to apply
> > this patch? And how can this comment be used by an ordinary user (without
> > knowledge of programming) to solve this problem?
>
> As an ordinary Gentoo Linux user, I:
> - download patch attached to this issue named "The same patch, but based on
> 1.19.1 (fixed)" into directory /etc/portage/patches/x11-base/xorg-server/
> - run `emerge xorg-server` to reinstall Xorg with this patch applied
> - restart X to enjoy working hotkeys :)
>
> If users of other Linux distributions have issues with this - probably they
> just didn't use "newer Linux". </sarcasm>
I'd like to thank you! And great thanks to kyak for the patch!
I confirm that it works for me on "older" Gentoo and xorg-server 1.9.5.

Revision history for this message
In , Ztirfe Elgnid (z-figura12) wrote :

There seems to have been a proposed protocol extension (comment #159 etc.) Can anyone shed light, for the outside user, as to the current status of this proposal? Thanks.

Alex (alexvaa)
Changed in xorg-server (Ubuntu):
assignee: nobody → Alex (alexvaa)
Revision history for this message
In , Wettstae (wettstae) wrote :

(In reply to Zebediah Figura from comment #189)
> Can anyone shed light, for the outside user, as to the current status of
> this proposal? Thanks.
No news since. Apart from the formal proposal, there are some old patches for its implementation:
https://lists.x.org/archives/xorg-devel/2012-November/034427.html
https://lists.x.org/archives/xorg-devel/2012-November/034430.html
https://lists.x.org/archives/xorg-devel/2012-November/034429.html
https://lists.x.org/archives/xorg-devel/2012-November/034431.html
https://lists.x.org/archives/xorg-devel/2012-November/034428.html

Revision history for this message
In , Daniel Stone (daniels) wrote :

(In reply to Andreas Wettstein from comment #190)
> No news since. Apart from the formal proposal, there are some old patches
> for its implementation:
> https://lists.x.org/archives/xorg-devel/2012-November/034427.html
> https://lists.x.org/archives/xorg-devel/2012-November/034430.html
> https://lists.x.org/archives/xorg-devel/2012-November/034429.html
> https://lists.x.org/archives/xorg-devel/2012-November/034431.html
> https://lists.x.org/archives/xorg-devel/2012-November/034428.html

Here's what I think we would need to do in order to not break old clients:
https://lists.freedesktop.org/archives/xorg-devel/2013-January/035049.html

Another, probably better, way to do it would be to define a new flag like XkbSA_HasGroupFlags inside the XkbModAction flags field when group_flags and group_XXX are valid rather than potentially garbage. That would avoid the whole version-negotiation nightmare, as nothing appears to be too picky about extra flags being defined.

Five years later, it would also be good to have support inside libxkbcommon (which has a pretty decent test suite) and xcb-proto for the flags.

204 comments hidden view all 273 comments
Revision history for this message
Raycho Raykov (raycho-raykov) wrote :

I patched my Lubuntu 16.04 with the mentioned upward patch few hours ago and everything starts working perfectly. I also tested Linux Mint 18.3 with Cinnamon and everything works as expected without any patches. The problem exists in Ubuntu MATE 16.04 too. All these are 64 bit versions. The patch is created correctly: when I released first button from the sequence, the sequence is executed. This way when I switching locales and keep Shift pressed (I'm using Alt+Shift) I can start writing with capital letter. I hope this information is helpful.

205 comments hidden view all 273 comments
Revision history for this message
In , Beaux-monde-s (beaux-monde-s) wrote :

(In reply to Alex Efros from comment #184)
> There is a patch, working good enough for years without creating any new
> (practical) issues. In comment #161 is was proposed to make it configurable
> option to make everyone happy and let users choose between using compliant
> protocol or working hotkeys.

(In reply to Aliaksei Urbanski from comment #188)
> I'd like to thank you! And great thanks to kyak for the patch!
> I confirm that it works for me on "older" Gentoo and xorg-server 1.9.5.

I could to say, that this patch does not work exactly as expected. See, please, my comment #146 for explanation. So I think, this thread could not be closed.

Revision history for this message
In , David-cortes-rivera (david-cortes-rivera) wrote :

Another user here voting for this bug to get patched OFFICIALLY from upstream.

Revision history for this message
In , Norbert (nrbrtx) wrote :

Did you changed your opinion after for years of not fixing this bug?

Users still need this functionality (see https://community.ubuntu.com/t/keyboard-layout-switching-problems-and-poll/2876 and https://askubuntu.com/q/1009352/66509 as examples).

Revision history for this message
In , Norbert (nrbrtx) wrote :

All current Ubuntu versions are affected and RHEL too. And nobody cares.

14 years of doing nothing. My congratulations!

Revision history for this message
In , Daniel Stone (daniels) wrote :

(In reply to Daniel Stone from comment #191)
> Another, probably better, way to do it would be to define a new flag like
> XkbSA_HasGroupFlags inside the XkbModAction flags field when group_flags and
> group_XXX are valid rather than potentially garbage. That would avoid the
> whole version-negotiation nightmare, as nothing appears to be too picky
> about extra flags being defined.
>
> Five years later, it would also be good to have support inside libxkbcommon
> (which has a pretty decent test suite) and xcb-proto for the flags.

This comment lays out the best way forward for anyone interested to fix this bug. It shouldn't be too difficult, but personally I haven't worked on X11 for quite some time.

Revision history for this message
In , Norbert (nrbrtx) wrote :

Just tested simple idea on Ubuntu 16.04.4 LTS with MATE DE.
Out-the-box it has Xorg 1.18.4 which perfectly allow user to set for example <Ctrl+Shift> keyboard shortcut for keyboard layout switching.
But when I install HWE on 16.04 LTS I get newer Xorg 1.19.5.

Debian 8 (Xorg 1.16.4) and 9 (Xorg 1.19.2) have this problem too (see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=891915 ).

So versions 1.16.4, 1.19.2 and 1.19.5 should be patched to bring <Ctrl+Shift> keyboard shortcut functionality back.

209 comments hidden view all 273 comments
Revision history for this message
Norbert (nrbrtx) wrote :

From duplicate bug 1720364 report.

Steps to reproduce:
1. Install ubuntu-mate-desktop on Ubuntu 16.04 LTS with HWE (Xorg 1.19.5), or 17.10 or 18.04 LTS.
2. Set-up two keyboard layouts - English and Russian
3. Set <Ctrl+Shift> as keyboard layout switcher
4. Try to use shortcuts starting from <Ctrl+Shift>:
4.1. Open Firefox, open new tab, go to some site in it, close tab, try to click <Ctrl+Shift+T> to restore closed tab.
4.2. Open mate-terminal, try to open new tab with <Ctrl+Shift+T>, or copy (<Ctrl+Shift+C>), or paste (<Ctrl+Shift+V>).
4.3. Open pluma, write some text, try to navigate in it with <Ctrl+Shift+arrow>.

Expected results:
<Ctrl+Shift> switches keyboard layout, shortcuts starting from <Ctrl+Shift+...> work normally.

Actual results:
<Ctrl+Shift> switches keyboard layout, shortcuts starting from <Ctrl+Shift+...> do not work.

Notes:
1. Ubuntu 16.04 LTS (Xorg 1.18.4) with Marco and Compton work normally with <Ctrl+Shift> keyboard layout switcher.
2. This problem was discovered before on 13.10, 14.04 and other modern versions with GNOME desktop (Metacity and Compiz) - see bug 1245473.

tags: removed: zesty
description: updated
description: updated
Changed in xorg (Debian):
status: Unknown → New
Revision history for this message
A (zorn-v) wrote :

https://gist.github.com/zorn-v/df0dccd14af81e017fbe8a4e1523ddf5

There is a script I run if x.org updated.
Fuck X.Org contributors and FUCK they minds.

209 comments hidden view all 273 comments
Revision history for this message
In , Kovács Viktor (kovacs.viktor.developer) wrote :

Did somebody tested Russian rulemak keyboard layout? It is between the extra layouts. It is based on russian layout with latin letters. I' m not a russian man, but I think, just testing first is a good idea!

Revision history for this message
In , 7-andrew-0 (7-andrew-0) wrote :

Viktor, could you please elaborate how exactly that may be useful here?

I would also like to ask you to make sure you contribute useful content to this discussion, or if you cannot, resist from posting. I don’t think it helps anyone to to support flamewars in this bug report, or even make the discussion longer than necessary.

209 comments hidden view all 273 comments
Revision history for this message
Norbert (nrbrtx) wrote :

I attached patch from ArchLinux AUR (https://aur.archlinux.org/packages/xorg-server-bug865/, https://aur.archlinux.org/cgit/aur.git/tree/freedesktop-bug-865.patch?h=xorg-server-bug865 ). This patch is stable and reliable. ArchLinux users are happy with it.

It fixes current bug on Ubuntu Bionic Beaver 18.04 LTS.
I have tested it with <Ctrl+Shift> keyboard layout switcher on GNOME (DESKTOP_SESSION="ubuntu") and MATE desktop (DESKTOP_SESSION="mate").

Please kindly review it and consider applying it before official final release of 18.04 LTS.
I'm ready to test proposed packages which (I hope) you would create.
As the result Ubuntu users will be as happy as ArchLinux's users.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch for Bionic Beaver 18.04 LTS, it fixes the problem" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Anton V Zharnikov (antonprogz) wrote :

This helped me:

https://gist.github.com/elw00d/0826917118d58e81843e2d11bc6cf885

Be aware of xserver version numbers.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

@Norbert

Can you make ppa with the patch so that everyone test it easily?

Revision history for this message
Norbert (nrbrtx) wrote :

@khurshid-alam

I can't determine how many users want to have this bug fixed. So we can start with the complete working instruction:

1. Set Ctrl+Shift keyboard layout switcher on Ubuntu 18.04 LTS
2. Ensure that Ctrl+Shift+ interference exists
3. Enable "deb-src" sources (via `software-properties-gtk`), then apply the patch

cd ~/Downloads
apt-get source xserver-xorg-core
cd xorg-server-1.19.6/
wget https://aur.archlinux.org/cgit/aur.git/plain/freedesktop-bug-865.patch?h=xorg-server-bug865 -O freedesktop-bug-865.patch
patch xkb/xkbActions.c < freedesktop-bug-865.patch

sudo apt-get install devscripts
sudo apt-get build-dep xserver-xorg-core
debuild -uc -us
sudo dpkg -i ../x*.deb

4. Reboot and test again.

206 comments hidden view all 273 comments
Revision history for this message
Elad Hen (eladhen2) wrote :

@Norbert
Is there a way to apply this patch to debian stretch (xorg 1.19.2)?

Revision history for this message
In , Norbert (nrbrtx) wrote :

FYI the bug may be temporarily fixed on Ubuntu 16.04 LTS (with HWE), Ubuntu 18.04 LTS (and Mint 19) using packages from my PPA ( https://launchpad.net/~nrbrtx/+archive/ubuntu/xorg-hotkeys or " ppa:nrbrtx/xorg-hotkeys " ). It contains patched Xorg (with patch from kyak - https://aur.archlinux.org/packages/xorg-server-bug865/ ). Thank you very much again, kyak!

And it is unbelievable that we need to patch core graphical system component by ourselves to use traditional keyboard shortcuts ...

Revision history for this message
Snaker (snaker.me) wrote :

@Norbert
I have the same problem on Ubuntu 18.04 LTS with GNOME.
I tried your instruction from #40 without any success. Do you have an idea how to make it work?

P.S. How can I roll back changes?

Revision history for this message
Snaker (snaker.me) wrote :

@Norbert
Update:
After cleaning up changes and applying your ppa:nrbrtx/xorg-hotkeys it fixes the issue partially - it still change input language on key press, but allow to use shortcuts <Ctrl+Shift+...> (with changing language in the process).

Revision history for this message
In , Gitlab-migration (gitlab-migration) wrote :

-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/258.

Changed in xorg-server:
status: Confirmed → Unknown
Revision history for this message
In , Idawallace89 (idawallace89) wrote :

Thanks for providing here attachments of Linux given and Assignee by Xorg Project Team.

Ida,
As an assignment writer, give assistance with psychology homework - http://www.assignmenthelpfolks.com/psychology/ at all university levels at Assignment Help Folks in Australia.

Revision history for this message
Shegon (shegon) wrote :

Yes, I confirm the bug.

Norbert (nrbrtx)
tags: added: cosmic disco eoan
removed: artful
Revision history for this message
In , Alex-wilson (alex-wilson) wrote :

I like the helpful info you supply to your articles. I’ll bookmark your blog and take a look at once more here frequently. I am somewhat sure I will be told plenty of new stuff right right here! Good luck for the following!

https://www.writecdr.com/ipenz-ka02-new-zealand-skilled-migration/
https://www.writecdr.com/acs-rpl-report-samples/

Revision history for this message
In , Olivia-jackson (olivia-jackson) wrote :

An extensive yet tactical take on your Career Episodes can help represent everything that makes you an asset to the Engineers Australia. Career Episodes can open those closed doors comfortably. They demonstrate the key skills, the experience, and the expertise you bring along in your engineering domain. Every one of the three episodes is required to touch base on unique projects and experiences, and your role, and strategies. At CDRReport, we have that expertise to make your Career Episodes sound valid and convincing.
https://www.cdrreport.org/cpd-examples-samples/
https://www.cdrreport.org/how-to-create-a-perfect-resume-for-engineers-australia/

Revision history for this message
In , Castro8583bennett (castro8583bennett) wrote :

Hi! I have the same issue i would like to know the solution

Castro B,
gratisdatingsite.nl

Revision history for this message
In , Andre Klapper (a9016009) wrote :

<email address hidden>: Why did you reopen this task without any comment explaining the reason? See comment 201?

Revision history for this message
In , Ooliviagreen (ooliviagreen) wrote :

Looking for a great sample of the philosophical essay? Try reading the Epiphenomenal Qualia Essay sample. Epiphenomenalism and the knowledge argument are distinctly consistent. However, the knowledge-gained argument negates the principle of epiphenomenalism: https://primeessays.com/samples/philosophy/epiphenomenal-qualia.html

Revision history for this message
In , Annb5792 (annb5792) wrote :

Need some additional help with your essays Barely manage to complete all assignments in time? Stop worrying and contact the team of professional writers of the great essays and get rid of all tasks! https://great-essays.com/article/classification-and-division-essays/

5 comments hidden view all 273 comments
Revision history for this message
In , Omar8star (omar8star) wrote :
tags: removed: cosmic
4 comments hidden view all 273 comments
Revision history for this message
Oded Arbel (oded-geek) wrote :

Daniel, I understand from your change that you think this bug does not affect cosmic?

Revision history for this message
A (zorn-v) wrote :

Its not a bug, its a feature... of X server ))

DAMN, the little patch and so many bustles

One more time (how long wait about wayland for nvidia on KDE ? :))

https://gist.github.com/zorn-v/df0dccd14af81e017fbe8a4e1523ddf5

Revision history for this message
Vlad Orlov (monsta) wrote :

Cosmic is EOL since July 18, therefore the tag is removed

https://lists.ubuntu.com/archives/ubuntu-security-announce/2019-July/004996.html

Revision history for this message
Norbert (nrbrtx) wrote :

Just a silent reminder: I have created a PPA ( https://launchpad.net/~nrbrtx/+archive/ubuntu/xorg-hotkeys ) with patched packages for Ubuntu 16.04 LTS (xenial, with HWE) and upwards (including upcoming 19.10), use its description for instructions.

Revision history for this message
Oded Arbel (oded-geek) wrote :

Norbert: and it is working great! I wish Canonical would just pick it up.

1 comments hidden view all 273 comments
Revision history for this message
In , Bestcdrwriting (bestcdrwriting) wrote :

At Best CDR Writing, we are providing you the best CDR and RPL reports atan affordablr cost. We will deliver you 100% pilagarism free and best quality work.
https://bestcdrwriting.com/

Revision history for this message
In , Amr-b (amr-b) wrote :
Revision history for this message
In , Andreagonzalez4254 (andreagonzalez4254) wrote :

Found your post interesting to read. I cant wait to see your post soon. Good Luck for the upcoming update. This article is really very interesting and effective.
Best Places to Order Personal and Business Checks Online - https://the-balance-54.webself.net/blog/2019/12/03/best-places-to-order-personal-and-business-checks-online

Revision history for this message
In , Andreagonzalez4254 (andreagonzalez4254) wrote :

Found your post interesting to read. I cant wait to see your post soon. Good Luck with the upcoming update. This article is really very interesting and effective. take a look at the link here for Best Places to Order Personal and Business Checks Online - https://the-balance-54.webself.net/blog/2019/12/03/best-places-to-order-personal-and-business-checks-online

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Is there a reason this bug is open when bug 36812 is also reopened?

Revision history for this message
Jacob Becker (jabecker) wrote :

To whom it may concern, I have uploaded xorg-server 1.20.8 packages for Ubuntu 18.04.5 amd64 (with the patch from https://bugs.freedesktop.org/show_bug.cgi?id=865 applied) to https://drive.google.com/drive/folders/1s4NavrQ4LBrafbTBd3ASRZ22vK7Nblvc?usp=sharing

Generally, to get the topic issue fixed, you need to install only one of the packages: xserver-xorg-core-hwe-18.04_1.20.8-2ubuntu2.2~18.04.1_amd64.deb

To apply the patch and build the binaries and packages, I used my script mentioned in comment #25.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Please propose any fixes on the Gitlab site and link them to:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/258

tags: removed: disco eoan
Changed in xorg-server:
importance: High → Unknown
Norbert (nrbrtx)
tags: added: focal hirsute impish jammy
removed: xenial
Changed in xorg-server (Ubuntu):
assignee: Alex (alexvaa) → nobody
tags: removed: hirsute
Changed in xorg-server:
status: Unknown → New
tags: removed: impish
Norbert (nrbrtx)
tags: added: kinetic
Displaying first 40 and last 40 comments. View all 273 comments or add a comment.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.