Getting current Xresource value in editres

James McDonald james
Mon May 17 12:00:37 PDT 2004


OK I thought I knew how to do this but I find I can't do it now.

I want to set the default font size of my xterm I want to have it the 
same size as the "Large" option when you CTRL + right click and select 
Large from the VT Fonts popup menu in XTerm. In order to do this I 
wanted to find out what the value of the .xterm.fontMenu.font5.font: and 
include this in ~/.Xresources. Now the problem.

When I open editres choose Get Tree from the Commands Menu and click on 
my Xterm then select the Xterm --> fontMenu --> font5 widget in editres 
and choose Show Resource Box from the Commands Menu I can't seem to 
return the current value of Font5 or any other widgets value. From 
memory, in the past I was able to query the value for each item and it 
would show up in the Enter Resource Value field: ( 
http://www.jamesmcdonald.id.au/tmp/editres/ - Screenshots )

Am I halucinating? How does one query the current value of an Xresource? 
Was it another utility that I can't remember now?

Thanks
James








More information about the Linux-users mailing list