This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Linux Mint KDE 16 - Copy & paste shortcuts stopped working

Tags: None
(comma "," separated)
starriol
Registered Member
Posts
3
Karma
0
Completely weird problem here. The primary keyboard shortcuts don't work. The secondary DO work. I can also copy & paste using mouse but who does that???
It worked until it stopped, I don't know what changed.

The primary (CTRL+C/X/V) are configured as the defaults.

I have a shortcut for a show desktop widget set to META + D, that doesn't work either. Copy & pasting works on Chromium, but not on Kate text editor, Dolphin, even on Yakuake
(the terminal manager, there the shortcuts have an added shift, like CTRL + SHIFT + V)

Any ideas?
Thanks.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Odd. Can you please try to use the options from the Edit menu in Kate to perform copy/paste operations to see if that works?


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
starriol
Registered Member
Posts
3
Karma
0
Yes!
That's the weirdest thing, using the menus I can do it.
I can right click on a file, use cut and then right click to paste it.
But most key combinations don't work.
Ctrl + Z, to undo, doesn't work either, for example.
starriol
Registered Member
Posts
3
Karma
0
OK, this is SO weird.
I had 2 layout languages. Russian was the default (I'm learning the language and for the on screen keyboard to work, I need to keep it as default).
Latin american Spanish, the secondary.

Most of the time I use it in Spanish.
So, the error was present when using it in Spanish.

I just had the crazy idea that maybe it was using the keys in Russian for the system commands.
I deleted Russian and now it's working!!!

Should I report a bug? I mean, if the text is entered in a language but the system commands in other, it sounds like a bug to me, it drove me completely crazy!
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you were able to type successfully using the Spanish layout, then it is likely that it was active. The only way to tell what is happening exactly would be to restore the broken configuration and observe the output of "xev" while pressing the various shortcut keys.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Heiko Tietze
Registered Member
Posts
593
Karma
0
OS
My meta key doesn't work anymore too. I used it with tab to switch between activities, and ignored the problem for a while. So it might be relevant since may.
xev reports nothing when I press meta, windows, or menu. G1..G9 works, it is a Logitech G15, configured as Logitech via G1-daemon but the issue remains with any other generic layout. I'm not sure but perhaps the same problem exists with my notebook, I'll check it tomorrow. (works well). Any idea how to proceed?

xev | grep -A2 --line-buffered '^KeyRelease' | sed -n '/keycode /s/^.*keycode \([0-9]*\).* (.*, \(.*\)).*$/\1 \2/p' wrote:36 Return
37 Control_L
64 Alt_L
65 space
108 ISO_Level3_Shift
105 Control_R

xev plus Tab down/up and Meta+Tab down/up wrote:KeyPress event, serial 40, synthetic NO, window 0x6a00001,
root 0x268, subw 0x6a00002, time 16459106, (42,19), root:(1677,72),
state 0x10, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XmbLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x6a00001,
root 0x268, subw 0x6a00002, time 16459202, (42,19), root:(1677,72),
state 0x10, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False

KeyPress event, serial 40, synthetic NO, window 0x6a00001,
root 0x268, subw 0x6a00002, time 16462226, (42,19), root:(1677,72),
state 0x10, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XmbLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False

KeyRelease event, serial 40, synthetic NO, window 0x6a00001,
root 0x268, subw 0x6a00002, time 16462290, (42,19), root:(1677,72),
state 0x10, keycode 23 (keysym 0xff09, Tab), same_screen YES,
XLookupString gives 1 bytes: (09) " "
XFilterEvent returns: False

journalctl --since today -x |grep G15 wrote:Jun 03 19:13:18 Sonne kernel: input: G15 Gaming Keyboard as /devices/pci0000:00/0000:00:1d.2/usb6/6-1/6-1.1/6-1.1:1.0/0003:046D:C226.0002/input/input15
Jun 03 19:13:18 Sonne kernel: hid-generic 0003:046D:C226.0002: input,hidraw1: USB HID v1.10 Keyboard [G15 Gaming Keyboard] on usb-0000:00:1d.2-1.1/input0
Jun 03 19:13:18 Sonne kernel: input: G15 Gaming Keyboard as /devices/pci0000:00/0000:00:1d.2/usb6/6-1/6-1.1/6-1.1:1.1/0003:046D:C226.0003/input/input16
Jun 03 19:13:18 Sonne kernel: hid-generic 0003:046D:C226.0003: input,hiddev0,hidraw2: USB HID v1.10 Device [G15 Gaming Keyboard] on usb-0000:00:1d.2-1.1/input1
Jun 03 19:13:18 Sonne kernel: input: G15 GamePanel LCD as /devices/pci0000:00/0000:00:1d.2/usb6/6-1/6-1.4/6-1.4:1.0/0003:046D:C227.0004/input/input17
Jun 03 19:13:18 Sonne kernel: hid-generic 0003:046D:C227.0004: input,hiddev0,hidraw3: USB HID v1.11 Keypad [G15 GamePanel LCD] on usb-0000:00:1d.2-1.4/input0
Jun 03 19:13:18 Sonne systemd[1]: Starting Logitech G15 Support Daemon...
Jun 03 19:13:19 Sonne systemd[1]: Started Logitech G15 Support Daemon.
Jun 03 19:13:19 Sonne systemd[1]: Stopping Logitech G15 Support Daemon...
Jun 03 19:13:19 Sonne systemd[1]: Starting Logitech G15 Support Daemon...
Jun 03 19:13:20 Sonne systemd[1]: Started Logitech G15 Support Daemon.
Jun 03 19:13:20 Sonne kernel: input: G15 Extra Keys as /devices/virtual/input/input18

Maybe not relevant for the keyboard layout but just in case...
/etc/systemd/system/multi-user.target.wants/g15daemon.service wrote:[Unit]
Description=Logitech G15 Support Daemon
Documentation=man:g15daemon(1)

[Service]
Type=forking
PIDFile=/run/g15daemon.pid
ExecStart=/usr/bin/g15daemon

[Install]
WantedBy=multi-user.target

sudo systemctl status g15daemon wrote:● g15daemon.service - Logitech G15 Support Daemon
Loaded: loaded (/usr/lib/systemd/system/g15daemon.service; enabled)
Active: active (running) since Di 2014-06-03 19:13:20 CEST; 4h 43min ago
Docs: man:g15daemon(1)
Process: 427 ExecStart=/usr/bin/g15daemon (code=exited, status=0/SUCCESS)
Main PID: 505 (g15daemon)
CGroup: /system.slice/g15daemon.service
└─505 /usr/bin/g15daemon

Jun 03 19:13:20 Sonne g15daemon[505]: Booting plugin "Linux UINPUT Keyboard Output"
Jun 03 19:13:20 Sonne g15daemon[505]: Plugin "Linux UINPUT Keyboard Output" boot successful.
Jun 03 19:13:20 Sonne g15daemon[505]: Booting plugin "Clock"
Jun 03 19:13:20 Sonne g15daemon[505]: Plugin "Clock" boot successful.
Jun 03 19:13:20 Sonne g15daemon[505]: Booting plugin "LCDServer"
Jun 03 19:13:20 Sonne g15daemon[505]: Plugin "LCDServer" boot successful.

And last but not least to have the display working even after hibernate:
/etc/udev/rules.d wrote:ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c226", RUN+="/usr/local/bin/start_g15"

/usr/local/bin wrote:systemctl restart g15daemon


Linux version 3.14.4-1-ARCH (nobody@var-lib-archbuild-testing-x86_64-tobias) (gcc version 4.9.0 20140507 (prerelease) (GCC) ) #1 SMP PREEMPT Tue May 13 16:41:39 CEST
2014
KDE 4.13.1

PS: It was just the joystick switch of the keyboard that disables all Windows keys. That's really embarrassing for me ;-).

Last edited by Heiko Tietze on Sat Jul 19, 2014 10:32 am, edited 1 time in total.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If it doesn't prevent you from using the device, could you try temporarily disabling the G15 daemon just to ensure it isn't the cause of the issue?
Also, check for any remnant xbindkeys scripts which could potentially be causing this.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]