[openbox] Openbox and gnome-panel-screenshot

Richard Black therblack at hotmail.com
Thu May 20 08:59:47 EDT 2004


> > Hi
> >
> > I am to set up openbox to execute gnome-panel-screenshot when I 
press print
> > screen and "gnome-panel-screenshot --window" when I hit 
Alt print screen
> > (i.e. like metacity does).  I have  tried adding following [and 
several
> > varients] to my config file:
> >
> > but neither works.  Any suggestions?
>
>Run xev and see what name it gives you when you press the key, that's 
the
>name you want to put in. If it says something like NoSym you have to
>fiddle a bit with xmodmap.
>
&gt

Got idea, but...

When I hit Alt-Print I got:

KeyPress event, serial 29, synthetic NO, window 0x5000001,
    root 0x40, subw 0x0, time 89327762, (80,90), root:(140,465),
    state 0x0, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyPress event, serial 29, synthetic NO, window 0x5000001,
    root 0x40, subw 0x0, time 89329664, (80,90), root:(140,465),
    state 0x8, keycode 111 (keysym 0xff15, Sys_Req), same_screen YES,
    XLookupString gives 0 bytes:  ""

and for just Print, I got

KeyPress event, serial 24, synthetic NO, window 0x5000001,
    root 0x40, subw 0x0, time 89309548, (524,100), root:(584,475),
    state 0x0, keycode 111 (keysym 0xff61, Print), same_screen YES,
    XLookupString gives 0 bytes:  ""


Both of these cases should have triggered somethink with my previoius set 
up...

thanks for your suggestion though

Richard

_________________________________________________________________
MSN Premium: Up to 11 personalized e-mail addresses and 2 months FREE*   
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http://hotmail.com/enca&HL=Market_MSNIS_Taglines




More information about the openbox mailing list