LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-01-2020, 09:50 PM   #1
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 713

Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Keyboard shortcut for run/show/cycle [or hide] in KDE 5


I'm testing out KDE 5 from ktown, really quite nice so far, I'm impressed. In awesomewm though I had keybindings for specific programs that would (a) run the program if it wasn't loaded, (b) switch to that window if it is already running but not focussed, or if it already has focus (c) cycle through other windows of the same application (if there are any). Actually for some programs I want (c) to be "hide the window if it has focus" instead of cycling.

Anyone have a nice solution for that kind of thing in KDE? I could probably do it with xbindkeys and some scripting stuff, but am wondering if there's an easier way.
 
Old 04-02-2020, 02:41 AM   #2
shruggy
Senior Member
 
Registered: Mar 2020
Posts: 1,139

Rep: Reputation: Disabled
I'm not using KDE, but its documentation lists Custom Shortcuts among System Settings modules.
 
Old 04-02-2020, 05:33 AM   #3
chrisretusn
Senior Member
 
Registered: Dec 2005
Location: Philippines
Distribution: Slackware64-current
Posts: 1,240

Rep: Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518Reputation: 518
I use Plasma 5 (ktown) I don't use shortcuts though.

DuckDuckGo was my friend.

Here are two links that may help.

How To Customize Keyboard Shortcuts On KDE Plasma 5

Custom Shortcuts
 
1 members found this post helpful.
Old 04-02-2020, 06:48 AM   #4
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,366

Rep: Reputation: Disabled
Two darn fine Links, thanks chrisretusn .
 
Old 04-02-2020, 01:23 PM   #5
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 713

Original Poster
Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Thanks for the links, although I do know about the custom keyboard shortcuts settings window. I was just wondering if anyone had a concrete solution to what I was asking for, if not that's no problem, I will work something out (probably with custom shortcuts and a shell script).
 
Old 04-03-2020, 07:41 AM   #6
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,366

Rep: Reputation: Disabled
Okay, please post your solution in any case right here .
 
Old 04-03-2020, 11:36 AM   #7
drgibbon
Member
 
Registered: Nov 2014
Distribution: Slackware64 -current
Posts: 713

Original Poster
Rep: Reputation: 457Reputation: 457Reputation: 457Reputation: 457Reputation: 457
Quote:
Originally Posted by JZL240I-U View Post
Okay, please post your solution in any case right here .
Will do I imagine custom keyboard shortcuts triggering a shell script with something like xdotool could do it.
 
Old 04-03-2020, 11:48 AM   #8
JZL240I-U
Senior Member
 
Registered: Apr 2003
Location: Germany
Distribution: openSuSE Tumbleweed-KDE, Mint 18.3+19.3, MX-18, Mandrake
Posts: 4,366

Rep: Reputation: Disabled
Thanks in advance, I am always looking forward to learn something .
 
  


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
Hide encfs file-systems from being show in file manager. I tried using 99-hide-disks angel'le Linux - General 0 02-18-2013 04:44 AM
Hide keyboard shortcut underlines? TuxSurfer Linux Mint 1 10-02-2012 07:07 AM
Keyboard Shortcut to Cycle through Windows? legolas52 Linux - Newbie 2 06-23-2011 05:10 AM
[KDE]Shortcut Icons smaller, Shortcut And Tray icons on 2 lines xeross Linux - Newbie 2 04-10-2008 10:20 AM
KDE -- hide and unhide menu, shortcut key? theMonkeY Linux - Software 1 10-04-2004 09:08 AM

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

All times are GMT -5. The time now is 08:52 PM.

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