LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 09-04-2020, 04:20 PM   #1
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208
Blog Entries: 1

Rep: Reputation: Disabled
KDE: find who is capturing keys combination


I'm using Slackware 14.2, Emacs version: GNU Emacs 26.3 (build 1, i586-slackware-linux-gnu, GTK+ Version 3.18.9) of 2019-08-29.

I want to attach an action to "Super-s" key combination in Emacs:

Code:
(define-key global-map [?\s-s] (lambda () (interactive) (message "hello-world")))
A person, who suggested me this says, that it works for him on Emacs 25, Emacs 26, Emacs 27 on Apple/Mac computer. He ran Emacs -Q to disable any configs interference.

I tried the same, it didn't work. "Ctrl-h k s-s" shows nothing. The key combination must be captured by KDE window manager.

How to find who is capturing it and disable?
 
Old 09-05-2020, 07:38 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,332
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Have you checked KDE System Settings-->Customize Appearance and Behavior-->Shortcuts and Gestures-->Keyboard Shortcuts to see whether there might already by a conflicting shortcut?
 
Old 09-06-2020, 12:57 AM   #3
usr345
Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 208

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Quote:
Originally Posted by frankbell View Post
Have you checked KDE System Settings-->Customize Appearance and Behavior-->Shortcuts and Gestures-->Keyboard Shortcuts to see whether there might already by a conflicting shortcut?
I did. There is nothing there with Super key. Can you reproduce my problem on your system if you also use Slackware?

Run $ emacs -Q, then click:
  • "Ctrl-h k", then "Super-d". It says "s-d undefined".
  • "Ctrl-h k" - "Super-s". Nothing happens.
 
  


Reply

Tags
emacs, keybindings, keyboard



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
ncurses not capturing system keys Caltrop Programming 6 09-26-2017 01:15 PM
[SOLVED] Combination of find/grep/xargs results in errors brh1 Linux - General 3 06-10-2015 01:41 PM
Bind Mouse Button Combination to Keyboard Key Combination? neoAKiRAz Linux - Desktop 0 05-04-2007 12:49 PM
Anyway to assign special actions on my windows F keys or a combination? vangelis General 1 11-04-2006 07:06 PM
Capturing video with Cinelerra works, capturing video with Xawtv doesn't! seaelf Slackware 0 06-27-2004 05:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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