Port-hpcsh archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Xhpc, xmodmap and Xresources

On Wed, Mar 30, 2005 at 16:08:16 +0200, Martin Carpenter wrote:

> But I still can't seem to get EuroSign or pound keysyms to appear.
> (I'm assuming this the best approach?).  EuroSign is recognised by
> xmodmap, but nothing appears when I try the key combination in
> xterm.  And none of pound, Pound, Lslash, lslash are recognized by
> xmodmap?

Do you have LC_CTYPE set to locale that has those chars (8859-1, or
8859-15 for Euro)?  Xterm is picky about that (e.g. xterm will refuse
to input cyrillic if xterm's locale is not one that supports

Lslash is Polish (8859-2), so don't use that, that's a wrong character
for a pound sign.  The correct name is "sterling" (hint, take a look
at /usr/X11R6/include/X11/keysymdef.h, xmodmap recognizes those names
sans XK_ prefix).

> I've always found Xresouces a little baffling, but I really can't
> get anywhere on this system.  I have XENVIRONMENT set and
> exported. ~/.Xresources contains a couple of simple lines (to set
> XTerm.foreground and XTerm.background), and I've even made symlinks
> from ~/.Xdefaults and ~/.Xdefaults-`hostname` to this file. 

.Xdefaults is a wrong file.  That's the "last resort" file that
applications use, and Xt reads it directly.  So, e.g., you cannot use
cpp in Xdefaults.

> I can see from the output of "ls -ltu" after running startx that
> this file is being read, but it doesn't seem to have any effect.
> Similarly, "xrdb -merge $HOME/.Xresources" in ~/.xinitrc doesn't
> make any difference. Does anyone have any clues to offer?

Just in case, what does xrdb -query show?  Are you sure you are
setting the right resources?

SY, Uwe
uwe%ptc.spbu.ru@localhost                         |       Zu Grunde kommen
http://www.ptc.spbu.ru/~uwe/            |       Ist zu Grunde gehen

Home | Main Index | Thread Index | Old Index