all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <znavko@tutanota.com>
To: Help Guix <help-guix@gnu.org>
Subject: Lifehack of binding key to 'show desktop' on GuixSD
Date: Tue, 2 Apr 2019 18:00:56 +0200 (CEST)	[thread overview]
Message-ID: <LbTm1wb--3-1@tutanota.com> (raw)

[-- 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 --]

                 reply	other threads:[~2019-04-02 16:01 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=LbTm1wb--3-1@tutanota.com \
    --to=znavko@tutanota.com \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.