all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Lifehack of binding key to 'show desktop' on GuixSD
@ 2019-04-02 16:00 znavko
  0 siblings, 0 replies; only message in thread
From: znavko @ 2019-04-02 16:00 UTC (permalink / raw)
  To: Help Guix

[-- Attachment #1: Type: text/plain, Size: 1183 bytes --]

Hello! I am using GuixSD and Xfce4 desktop environment.
There is shortcut on my panel that shows desktop: http://0x0.st/zPx4.png <http://0x0.st/zPx4.png>

How to bind keyboard key to minimize all windows and show desktop?
By default there is such key bind: Ctrl + Alt + D  -- this shows desktop on Xfce4.
But I want to use just only one button - Menu - this is extra button between Ctrl and Alt in the right side, cause I do not use it at all.
I install wmctrl
$ guix package -i wmctrl

according to the manual https://linux.die.net/man/1/wmctrl <https://linux.die.net/man/1/wmctrl> need to use command
$ wmctrl -k on

To bind a key to this command I open on Xfce4: Menu -> Settings -> Keyboard. 
(or also you can open settings from terminal: `xfce4-settings-manager` and choose Keyboard menu)
'Application Shortcuts' tab there and add command 'wmctrl -k on' and press 'Menu' when it asks to press.

I've got this line: http://0x0.st/zPxx.png <http://0x0.st/zPxx.png>

Now it works permanently.

Also I usually change keyboard layout selection button to left Menu button.

There is also xdotool in guix that might be helpful for tasks like this.

znavko.


[-- Attachment #2: Type: text/html, Size: 2569 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-02 16:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-02 16:00 Lifehack of binding key to 'show desktop' on GuixSD znavko

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.