binding 'Prc Sc" key to a screen dump pgm?
Helmut Jarausch <[email protected]>
| Newsgroups | gmane.comp.window-managers.icewm.user |
|---|---|
| Message-ID | <1282819162.4201.0@numa-i> |
Hi, I'm trying to bind the following command to the PrintScreen (Prt Sc) button xterm -g 50x2+0-30 -hold -e 'zsh -c "echo \"pick a window - dump to ~/ Temp/yyyy-mm-dd-..png\";cd ~/Temp; scrot -s"' This command works just fine when executed from a Menu. But I tried (in .icewm/keys) : key "Print" xterm -g 50x2+0-30 -hold -e 'zsh -c "echo \"pick a window - dump to ~/Temp/yyyy-mm-dd-..png\";cd ~/Temp; scrot -s"' When Pressing the PrintScreen button I get the following message giblib error: couldn't grab keyboard:Resource temporarily unavailable What am I missing? Many thanks for a hint, Helmut. ------------------------------------------------------------------------------ Sell apps to millions through the Intel(R) Atom(Tm) Developer Program Be part of this innovative community and reach millions of netbook users worldwide. Take advantage of special opportunities to increase revenue and speed time-to-market. Join now, and jumpstart your future. http://p.sf.net/sfu/intel-atom-d2d