Re: getting 'Delete' to forward-delete - oops
Re: getting 'Delete' to forward-delete - oops
- Subject: Re: getting 'Delete' to forward-delete - oops
- From: email@hidden (Dushan Mitrovich)
- Date: Thu, 03 Apr 2008 13:01:20 -0700
In my earlier message I wrote:
> Harald Hanche-Olsen <email@hidden> wrote:
> > In .Xmodmap in your home directory:
> >
> > keysym BackSpace = Delete
>
> My config seems to be a bit different. Neither '.Xmodmap' nor
> '.Xresources' exist anywhere on my system as hidden files. But they do
> as regular files:
> Xmodmap: in /usr/X11R6/bin
> Xresources: in /etc/X11/xdm
>
> Does this make any difference?
>
> When I use either Terminal or X11's xterm, go to the /usr/X11R6/bin
> directory and type:
>
> ./xmodmap -e "keysym BackSpace = Delete"
> I get
> xmodmap: unable to open display ''
>
> If I set the display to X11 and repeat the command, I get:
>
> export DISPLAY='x11'
> ./xmodmap -e "keysym BackSpace = Delete"
> xmodmap: unable to open display 'x11'
I found one error I made: it should be DISPLAY=:0. After that the command
worked.
> > In .Xresources in your home directory:
> >
> > XTerm.vt100.faceName: Bitstream Vera Sans Mono
> > XTerm.vt100.faceSize: 9
> >
> > change to suit your needs. These are my values; perhaps you don't even
> > have that font.
>
> I added these (using Monaco 12 pt) near the bottom of the file after all
> the 'xlogin' lines, saved it, then tried to start X11. I got the X11 menu
> at the top of the screen, but no xterm window. Nor could I get such a
> window by invoking either Cmd-N under X11's Applications, nor invoking
> gnuplot which usually opens an xterm window along with its own. I'll try
> a logout/login and see if that helps.
I discovered that while I had exited xterm, I hadn't actually Quit the app.
It was still sitting in the Dock. After I did Quit, an xterm would appear
when I started X11 or gnuplot.
But after a logout/login, neither of the changes took effect. Any
suggestions what I might be doing wrong?
I do notice, tho, that the gnuplot window has - and always had - a diffe-
rent font and size than the xterm window. But in neither one does the
Delete key do a forward delete.
- Dushan
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden