LinuxQuestions.org
Visit Jeremy's Blog.
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 04-10-2022, 01:58 PM   #1
ras_t110e5
LQ Newbie
 
Registered: Apr 2022
Posts: 3

Rep: Reputation: 0
Question How can I diagnose why my ctrl+z shortcut is not working?


Hi everyone,

I can not for the life of me find why something as simple like creating a shortcut is not working.
I'm using Manjaro with KDE Plasma as a DE, I've configured it completely for my linking and im just noticing this is not working, the undo (ctrl+z) is not working in libre office, google docs or any other app.
I've checked my settings shortcuts and under common actions 'Undo' is correctly mapped to ctrl+z but in my kglobalshortcutsrc I cant find it. I've rebooted several times, rollback to default my shortcuts, check that my keyboard is correctly mapped and is actually sending a ctrl+z. I don't know if I have an app that is overwriting my settings or what, but I don't know how to troubleshoot how my shortcuts are captured and executed. Could someone guide me a little bit?

Thanks,
Regards.
 
Old 04-10-2022, 04:38 PM   #2
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,102
Blog Entries: 6

Rep: Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822Reputation: 1822
https://wiki.archlinux.org/title/KDE
https://www.addictivetips.com/ubuntu...-kde-plasma-5/
 
Old 04-11-2022, 08:40 AM   #3
ras_t110e5
LQ Newbie
 
Registered: Apr 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Read those pages, I reset the shortcut. Still no luck, I also tried to set other listed shortcut schemas in system->shortcut settings. I checked with 'xev' if the key events where correct, and they are. So its an issue with KDE, I believe its related to having an 'Undo' shortcut when is really not necessary given that most apps take ctrl+z as their own undo shortcut, but I cant find how to remove this KDE Common Actions shortcut.
 
Old 04-11-2022, 10:14 AM   #4
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by ras_t110e5 View Post
I believe its related to having an 'Undo' shortcut when is really not necessary given that most apps take ctrl+z as their own undo shortcut, but I cant find how to remove this KDE Common Actions shortcut.
Are you saying there's a global Ctrl-z shortcut? No, that really shouldn't be there. It will mask the common Ctrl-z used in text editors etc., as you experienced.
I hope you can find a way to remove it.
 
Old 04-11-2022, 11:15 PM   #5
enigma9o7
Senior Member
 
Registered: Jul 2018
Location: Silicon Valley
Distribution: Bodhi Linux
Posts: 1,388

Rep: Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560Reputation: 560
I tested with it assigned in Plasma (as it is by default) and ctrl+z still works in Libre Office and terminal. I don't think plasma's defaults block anything.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2022-04-11 21-15-00.jpg
Views:	17
Size:	160.3 KB
ID:	38758  
 
Old 04-14-2022, 11:00 PM   #6
ras_t110e5
LQ Newbie
 
Registered: Apr 2022
Posts: 3

Original Poster
Rep: Reputation: 0
Ok, progress. I was able to find where the Undo shortcut is stored in file, is under .config/khotkeysrc in that file I found "Undo[$d]" no idea what the $d means in this file or even what syntax this file needs to follow. While tinkering in that file I created a custom shortcut to test the syntax and set the trigger to 'Ctrl+z' it prompts me if I want to reassing it form Edit->Undo I put yes, then I go back to Edit->Undo and re set Ctrl+z there. And magically for some reason it works. For some reason I need to set it to a custom shortcut then re set it, it only works with custom shortcuts. The "fix" only works until I logout or restart though, but its some progress.

Also while trying to fix this I noticed the shortcut for me x11 widget stopped activating by pressing Meta, that was a quick fix though, as I just added it manually under kglobalshortcutsrc.

I'll keep checking what is happening with ctrl+z.
 
Old 04-15-2022, 01:07 AM   #7
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by enigma9o7 View Post
I tested with it assigned in Plasma (as it is by default) and ctrl+z still works in Libre Office and terminal.
Well then it isn't truly global. Maybe just in the context of Plasma software.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Ctrl+Alt+F3 not working. window without border: how to restore back ? using the Window Operations Menu () keyboard shortcut ?? andrewysk Linux - Newbie 4 03-02-2021 05:44 PM
Ctrl+c and ctrl+v and ctrl+a dont work fine after install Nvidia drivers eros1989 Linux - Software 5 03-05-2019 07:00 AM
How to disable Ctrl+C, Ctrl+V, Ctrl+X in rdesktop? Aswathy Linux - Newbie 1 01-19-2011 06:22 PM
Recognizing ctrl+c,ctrl+l,ctrl+d in C programs leonardo6023 Programming 1 08-19-2009 09:23 AM
VLC ctrl+H minimal view shortcut is not working wanas Linux - Software 0 08-11-2009 01:21 AM

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

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