You are not logged in.

#1 2014-03-06 19:52:47

Debasish Patra
Member
Registered: 2014-03-06
Posts: 66

[Solved]Toggle button in Keyboard shortcut Xfce desktop environment

Hi Everyone,
Is it possible to toggle a particular shortcut in keyboard settings for xfce. e.g. I would like to launch xfce-appfinder with a key combination and close if I press it again.

Now I am able to launch it but it just launches again, if I press it again.

This is my first post. So if I have started this topic in the wrong category, please guide me to a proper one smile

Last edited by Debasish Patra (2014-07-30 18:04:33)


Keep Calm, And Enjoy Life smile

Offline

#2 2014-03-06 21:04:23

toz
Member
Registered: 2011-10-28
Posts: 513

Re: [Solved]Toggle button in Keyboard shortcut Xfce desktop environment

Try this shortcut command:

bash -c '[[ $(pgrep xfce4-appfinder) ]] && pkill xfce4-appfinder || xfce4-appfinder'

You can assign it to Alt+F2 and overwrite the existing one.

Offline

#3 2014-03-07 06:51:24

Debasish Patra
Member
Registered: 2014-03-06
Posts: 66

Re: [Solved]Toggle button in Keyboard shortcut Xfce desktop environment

Hey thanks Toz, that worked. Now I can have an application launcher in full screen which looks more modern on my Xfce, something like gnome smile


Keep Calm, And Enjoy Life smile

Offline

#4 2020-04-22 14:31:24

oneindelijk
Member
Registered: 2017-01-29
Posts: 15

Re: [Solved]Toggle button in Keyboard shortcut Xfce desktop environment

Nice !!
This app works for me as a start-menu replacement.
One time I'm still missing to make to make my workflow smooth, is an option to single-click to open an application (as in a regular start-menu)

Particulary nice, is that I can keep open for example the multimedia group (which I assign to a different shortcut)
This is handy when working with audio so I have quick access to all separate elements I need (qjackctl, fx windows, patchage, DAW, mixer, etc...)

Offline

Board footer

Powered by FluxBB