Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
What happened to keyboard shortcuts? [SOLVED]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 162
Location: Canyon Lake, Texas

PostPosted: Tue Sep 03, 2024 12:11 pm    Post subject: What happened to keyboard shortcuts? [SOLVED] Reply with quote

Since the upgrade to qt6, none of the keyboard shortcuts are working. Why?
_________________
David Bryant
Canyon Lake, Texas


Last edited by davidbryant on Thu Sep 05, 2024 3:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
Chiitoo
Administrator
Administrator


Joined: 28 Feb 2010
Posts: 2729
Location: Here and Away Again

PostPosted: Wed Sep 04, 2024 7:07 pm    Post subject: Reply with quote

Which desktop environment and window manager are you using?

With LXQt and KWin for example, '/usr/libexec/kglobalacceld' will no longer be automagically started, which KWin uses for global shortcuts.
_________________
Kindest of regardses.
Back to top
View user's profile Send private message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 162
Location: Canyon Lake, Texas

PostPosted: Thu Sep 05, 2024 11:38 am    Post subject: Reply with quote

Chiitoo wrote:
Which desktop environment and window manager are you using?

With LXQt and KWin for example, '/usr/libexec/kglobalacceld' will no longer be automagically started, which KWin uses for global shortcuts.


Thanks for the hint. I'm running the KDE desktop, with X11. I'll add that progran to autostart and see if it helps.
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 162
Location: Canyon Lake, Texas

PostPosted: Thu Sep 05, 2024 12:42 pm    Post subject: Reply with quote

Well, that didn't work. I tried adding /usr/libexec/kglobalacceld in system settings --> system --> autostart, and rebooted my system, but still no keyboard shortcuts. In fact, "kglobalacceld" does not appear to be running.
Code:
david@localhost ~ $ ps aux | grep kglob*
david     2377  0.0  0.1 227556 24960 ?        Sl   07:00   0:00 /home/david/kde/usr/bin/kglobalaccel5
david     4472  0.0  0.0   6556  2176 pts/1    S+   07:11   0:00 grep --color=auto kglob*

If I try to start it, it doesn't run.
Code:
david@localhost ~ $ /usr/libexec/kglobalacceld
david@localhost ~ $ ps aux | grep kglob*
david     2377  0.0  0.1 227556 24960 ?        Sl   07:00   0:00 /home/david/kde/usr/bin/kglobalaccel5
david     4944  0.0  0.0   6556  2176 pts/1    S+   07:29   0:00 grep --color=auto kglob*

What if I kill the kglobalaccel5 process? That might work.
Code:
localhost ~ # kill 2377
david@localhost ~ $ /usr/libexec/kglobalacceld

(in a new tab)
david@localhost ~ $ ps aux | grep kglob*
david     5081  0.1  0.2 247848 34016 pts/1    Sl+  07:34   0:00 /usr/libexec/kglobalacceld
david     5101  0.0  0.0   6556  2160 pts/3    S+   07:35   0:00 grep --color=auto kglob*

What do you know! Now my keyboard shortcuts are working. If I can just suppress kglobalaccel5 I may be in business. Thanks, Chiitoo.
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9272

PostPosted: Thu Sep 05, 2024 12:55 pm    Post subject: Reply with quote

What's that?
Code:
/home/david/kde/usr/bin/kglobalaccel5

You're having a local KDE Frameworks build in use?
Back to top
View user's profile Send private message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 162
Location: Canyon Lake, Texas

PostPosted: Thu Sep 05, 2024 1:16 pm    Post subject: Reply with quote

asturm wrote:
What's that?
Code:
/home/david/kde/usr/bin/kglobalaccel5

You're having a local KDE Frameworks build in use?


Well, I'm not trying to use it. I played around with building some KDE apps from the KDE repos a while ago, but that stuff is only supposed to be used when I say "kdesrc-run". Or so I thought. I'll dig through the list of what's actually running just to be sure. To be safe, I changed my .bashrc file to leave the kde executables out of the PATH. But I don't understand how or why the boot process would be looking at my user .bashrc file.
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Thu Sep 05, 2024 7:17 pm    Post subject: Reply with quote

Don't know if related, but ctrl-esc no longer brings up the process window here ....
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9272

PostPosted: Thu Sep 05, 2024 7:29 pm    Post subject: Reply with quote

Meta+Esc
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Thu Sep 05, 2024 7:43 pm    Post subject: Reply with quote

What is Meta?

I tried all the keys along the bottom of the keyboard.

I have the left Win key set as Compose.

Thanks, Ian
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 9272

PostPosted: Thu Sep 05, 2024 7:53 pm    Post subject: Reply with quote

Win key = Meta key
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Fri Sep 06, 2024 4:53 am    Post subject: Reply with quote

Are you saying that the decades-old shortcut of ctrl-esc has now been replaced with meta-esc?

Why on earth would they break userspace like that?

It reminds me of the KDE dev who decided to disable the leave menu on right-click on desktop because "you can use alt-ctrl-del"(which is what he does..)

Enough people complained.
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
iandoug
l33t
l33t


Joined: 11 Feb 2005
Posts: 849
Location: Cape Town, South Africa

PostPosted: Sat Sep 07, 2024 5:54 am    Post subject: Reply with quote

asturm wrote:
Win key = Meta key


So I try to set ctrl+esc to launch system monitor like it has always done, but KDE says,

"Shortcut Ctrl+Esc is already assigned to the common File action 'Close'.
Do you want to reassign it?"

AFAIK, ctrl+w is Close File ... am I losing my mind or have default bindings been changed?
_________________
Asus X570-PRO, Ryzen 7 5800X, GeForce GTX 1650, 32 GB RAM | Asus Sabertooth P990, AMD FX-8150, GeForce GTX 560, 16GB Ram
Back to top
View user's profile Send private message
davidbryant
Apprentice
Apprentice


Joined: 11 Jun 2020
Posts: 162
Location: Canyon Lake, Texas

PostPosted: Sun Sep 08, 2024 2:04 pm    Post subject: Reply with quote

iandoug wrote:


"Shortcut Ctrl+Esc is already assigned to the common File action 'Close'.
Do you want to reassign it?"

AFAIK, ctrl+w is Close File ... am I losing my mind or have default bindings been changed?


You're not losing your mind. There are global shortcuts and local shortcuts. You can modify global shortcuts in the System Settings --> Keyboard --> Shortcuts dialog. Global shortcuts should work almost everywhere. For example, I use F12 to open a terminal window (Yakuake) whenever I need one.

Local shortcuts only work in individual programs. They have higher priority than global shortcuts. The only local shortcuts active at a point in time are the shortcuts associated with the active application, i.e., the window that has the cursor's focus. There is no easy way to reassign local shortcuts, except by changing the source code and recompiling / relinking the program.

Ctrl+w is the local shortcut for "close file" in many KDE apps (e.g., Okular, Kate). OTOH, some KDE programs do not have a "close file" function. For instance, in KMail, Ctrl+q is the "quit" command; it closes KMail, and removes the KMail icon from the system tray, if that icon is enaabled.

You shouldn't worry about warning messages when reassigning global shortcuts. You should feel free to tailor the shortcuts any way you like.
_________________
David Bryant
Canyon Lake, Texas
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum