Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Bob Harris <nospam.News.Bob@remove.Smith-Harris.us>
Subject: Re: shell error
Date: Thu, 29 Sep 2005 23:57:57 GMT	[thread overview]
Message-ID: <nospam.News.Bob-D235D1.19580429092005@news.verizon.net> (raw)
In-Reply-To: 433c0237$0$6347$4fafbaef@reader2.news.tin.it

In article <433c0237$0$6347$4fafbaef@reader2.news.tin.it>,
 "fabrizio" <fabrizio.imperio@alice.it> wrote:

> Dear users,
> I need to configure the keyboard map as italian key map
> so I put in:
> 
> /etc/profile        the string
> xmodmap /usr/lib/X11/keymaps/<italian_keyboard_map>
> 
> When I log in as root all is ok
> but when I change user with:
> 
> su - <user>
> 
> it show me the following error:
> 
> -sh: xmodmap not found
> 
> even if xmodmap is in the <user> PATH.
> 
> Someone knows why?
> 
> thanks,
> Fabrzio 

But it is not in the users path until after the user's .profile 
runs runs which should be after /etc/profile runs.

Just modify the xmodmap command to include the full path to the 
command and then you are not dependent on path info


  reply	other threads:[~2005-09-29 23:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-09-29 15:02 shell error fabrizio
2005-09-29 23:57 ` Bob Harris [this message]
2005-09-30  6:49   ` fabrizio
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox