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

Re: xmodmap again - not solved after all



Anthony Campbell <ac@acampbell.org.uk>:
>  On 27 Sep 2007, s. keeling wrote:
> > Mumia W.. <paduille.4061.mumia.w+nospam@earthlink.net>:
> > >  On 09/25/2007 09:25 AM, Anthony Campbell wrote:
> > > > I've twice thought I'd solved this one but no. To recap: my .xinitrc
> > > > contains the line: "xmodmap ~/.Xmodmap". which has worked for many
> > > > months or even years. In the last couple of weeks the command is not
> > > 
> > >  Try this in your .bashrc:
> > > 
> > >  if [ -n "$DISPLAY" ]; then
> > 
> >    usermodmap=$HOME/.Xmodmap
> >    if [ -f $usermodmap ]; then
> >      /usr/bin/xmodmap $usermodmap
> >    else
> 
>  Unfortunately, neither of these works for me. The problem appears to be
>  that $DISPLAY is not set. I have tried setting various values for it

If you've been expecting this to work for the console, that's your
error.  X Window defines the DISPLAY variable.  If you're not running
X, xmodmap is irrelevant.  Xmodmap is an X application.


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)    http://blinkynet.net/comp/uip5.html      Linux Counter #80292
- -    http://www.faqs.org/rfcs/rfc1855.html    Please, don't Cc: me.



Reply to: