public inbox for gentoo-desktop@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alex Efros <powerman@powerman.name>
To: gentoo-desktop@lists.gentoo.org
Subject: Re: [gentoo-desktop] Help troubleshooting keyboard shortcut
Date: Sat, 2 Jun 2012 09:05:09 +0300	[thread overview]
Message-ID: <20120602060509.GD25247@home.power> (raw)
In-Reply-To: <CAPi0psuiJBo2MK4mD=_iowFRYAhr1uhmsSS587++ycLa15TzrQ@mail.gmail.com>

Hi!

On Fri, Jun 01, 2012 at 07:08:27PM -0700, Chris Stankevitz wrote:
> Can someone recommend an approach to identify the culprit?

Create a script like ~/bin/loghotkey:
    #!/bin/sh
    echo pressed >> /tmp/hotkey.log
and run this script instead of browser on same hotkey. After each hot key
press check is new line appended to /tmp/hotkey.log.

If it is added, then your keyboard is ok, and it's probably browser fail
to start occasionally. In this case you can modify this script like:
    #!/bin/sh
    echo starting browser >> /tmp/hotkey.log
    /path/to/your/browser >> /tmp/hotkey.log 2>&1
    echo exiting browser  >> /tmp/hotkey.log
and check what's going on.

If it's not added, then problem can be with your keyboard. In this case
you can try using some other completely different hotkey (like ctrl+a
instead of win+b) and see is that helps. Also, you can try to use xkbevd,
xkbwatch, and other similar tools to trace keyboard events. And, finally,
try another keyboard.

-- 
			WBR, Alex.



  reply	other threads:[~2012-06-02  9:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-02  2:08 [gentoo-desktop] Help troubleshooting keyboard shortcut Chris Stankevitz
2012-06-02  6:05 ` Alex Efros [this message]
2012-06-05  7:34 ` Yohan Pereira
2012-06-05 10:31   ` [gentoo-desktop] " Duncan
2012-06-05 14:10     ` Yohan Pereira
2012-06-09 18:28   ` [gentoo-desktop] " Chris Stankevitz

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=20120602060509.GD25247@home.power \
    --to=powerman@powerman.name \
    --cc=gentoo-desktop@lists.gentoo.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox