[PLUG] Information sources on .Xresources and .Xdefaults

Kyle Accardi sandbox at pacifier.com
Tue Oct 7 21:03:01 UTC 2003


Brian Derr wrote:
> On Thu, Sep 11, 2003 at 11:52:41AM -0700, Kyle Accardi wrote:
> 
>>There is a tool (I can't remember the name) that will you use to click on 
>>parts of a running X app and it will spit out the property so you can stick 
>>it in your .Xresources.
> 
> 
> I'm a little late coming into this thread but I believe you might be
> able to get the info you want from `xwininfo'.  Give it a try!  :-)

That looks like window manager data, but not application properties.  Stuff 
in .Xresources is like,

!# NEdit
NEdit*text.Translations: #override\n\
Shift<Btn4Down>,<Btn4Up>: scroll_up(1)\n\
Shift<Btn5Down>,<Btn5Up>: scroll_down(1)\n\
Ctrl<Btn4Down>,<Btn4Up>: previous_page()\n\
Ctrl<Btn5Down>,<Btn5Up>: next_page(1)\n\
     <Btn4Down>,<Btn4Up>: scroll_up(3)\n\
     <Btn5Down>,<Btn5Up>: scroll_down(3)\n
NEdit*text.selectBackground: IndianRed1


Pretty sure case matters too.  Nice programs document this stuff.  Bad 
programs need to be punished.

--
Kyle Accardi





More information about the PLUG mailing list