shift_caps_switch doesn't work in Ubuntu 18.04

Bug #1799390 reported by Yuriy Vidineev on 2018-10-23
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-settings-daemon (Ubuntu)
Undecided
Unassigned

Bug Description

setxkbmap -layout us,ru -option grp:shift_caps_switch #nor CapsLock, neither Shift+CapsLock does nothing
I've tried to set it via Gnome Tweak Tools and DConf editor - it doesn't work as well.

While only one cups switch works

setxkbmap -query
rules: evdev
model: pc105
layout: us,ru,us
variant: ,,
options: grp:caps_toggle

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: x11-xkb-utils 7.7+3ubuntu0.18.04.1
ProcVersionSignature: Ubuntu 4.15.0-38.41-generic 4.15.18
Uname: Linux 4.15.0-38-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.4
Architecture: amd64
BootLog: Error: [Errno 13] Permission denied: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Tue Oct 23 02:22:25 2018
DistUpgraded: Fresh install
DistroCodename: bionic
DistroVariant: ubuntu
EcryptfsInUse: Yes
GraphicsCard:
 Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: Dell HD Graphics 620 [1028:075b]
InstallationDate: Installed on 2018-10-23 (0 days ago)
InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 (20180725)
Lsusb:
 Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
 Bus 001 Device 003: ID 0c45:670c Microdia
 Bus 001 Device 002: ID 8087:0a2a Intel Corp.
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
MachineType: Dell Inc. XPS 13 9360
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-4.15.0-38-generic root=UUID=f79f9409-625c-4f78-83af-cf2cf7928690 ro quiet splash vt.handoff=1
SourcePackage: x11-xkb-utils
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/09/2018
dmi.bios.vendor: Dell Inc.
dmi.bios.version: 2.9.0
dmi.board.name: 0839Y6
dmi.board.vendor: Dell Inc.
dmi.board.version: A00
dmi.chassis.type: 9
dmi.chassis.vendor: Dell Inc.
dmi.modalias: dmi:bvnDellInc.:bvr2.9.0:bd07/09/2018:svnDellInc.:pnXPS139360:pvr:rvnDellInc.:rn0839Y6:rvrA00:cvnDellInc.:ct9:cvr:
dmi.product.family: XPS
dmi.product.name: XPS 13 9360
dmi.sys.vendor: Dell Inc.
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.91-2
version.libgl1-mesa-dri: libgl1-mesa-dri 18.0.5-0ubuntu0~18.04.1
version.libgl1-mesa-glx: libgl1-mesa-glx 18.0.5-0ubuntu0~18.04.1
version.xserver-xorg-core: xserver-xorg-core 2:1.19.6-1ubuntu4
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:18.0.1-1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20171229-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.15-2

Yuriy Vidineev (adeptg) wrote :
Yuriy Vidineev (adeptg) wrote :

Just tested liveusb with ubuntu 18.10 - bug can be reproduced there as well

Yuriy Vidineev (adeptg) wrote :

Tested with Fedora 29 liveusb - the same bug
KDE Neon 20181011 User - no such bug. Looks like it's something in Gnome

Timo Aaltonen (tjaalton) wrote :

I think you need to set these via the gnome config, otherwise g-s-d will reset the settings

affects: x11-xkb-utils (Ubuntu) → gnome-settings-daemon (Ubuntu)
Yuriy Vidineev (adeptg) wrote :

Yes, I've set it via Gnome Tweak Tools - it just doesn't work.
I've found similar bug report for elementary OS: https://github.com/elementary/switchboard-plug-keyboard/issues/75

Most interesting answer is:

This method is not available because Gnome components doesn't support it (you can see all available methods here https://github.com/GNOME/mutter/blob/master/src/core/keybindings.c, using "g_str_equal (iso_next_group_option" phrase in the search).

For this reason, I think it's upstream issue.

Launchpad Details: #LPC Maxim Taranov - 2016-11-26 07:35:06 +0000

So looks like it's an upstream issue

Launchpad Janitor (janitor) wrote :

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

Changed in gnome-settings-daemon (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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