Kung Fu Kung Fu

Fujian White Crane Kung Fu

Zope Zope

What I have and am doing with Zope

Photos Photos

Photoalbum, both old and new.

Receptsamlingen Receptsamlingen

In Swedish only. About my "Collection of Recipes" website.

Contact me Contact me

My contact details and how to contact me.

  Mobile version of this page Mobile version of this page


 

Make your settings in .Xdefaults come true

xjed, xdefaults, xemacs, externaleditor, geometry, xrdb, jed

16th of November 2004

I've been trying to use Xjed recently instead of XEmacs because XEmacs took more than 3 seconds some times to start. If I have to start the editor many times in the day this really matters; and this happens when I use the ExternalEditor for Zope.

Now, to set how big the window should be or how it should look you edit the $HOME/.Xdefaults file. Mine now looks like this:

 xjed*Geometry: 90x45+150+50

This means, 90 columns and 45 rows starting in the cartesian corner (150,50). There are loads more settings worth considering.

Now the trick I learned today after googling some mailinglists was how to make these settings stick. Just changing the .Xdefaults file doesn't cut the mustard. No, here's the command:

 xrdb -merge $HOME/.Xdefaults

The man page on Xrdb reads:

"Xrdb is used to get or set the contents of the RESOURCE_MANAGER property on the root window of screen 0, or the SCREEN_RESOURCES property on the root window of any or all screens, or every- thing combined."


Comment

Harry - 29th November 2005  [«« Reply to this]
Thanks peter!
That's been driving me nuts.
 
Name:
Email:
hide my email address.

Your email address will be encoded to prevent email-extraction spiders from reading it so you won't get spammed if you decide to show your email address.