On Sat, Aug 30, 2008 at 09:06:32PM +0200, Alexis Huxley wrote: > If /usr/games is not in the $PATH, as it is not for root, then xfce4-tips > does not work.
> If root logs in to a newly installed machine then xfce4-tips runs > automatically and it is somewhat disconcerting to have a blank tip > window displayed. > Running xfce4-tips from a terminal shows the problem: > sh: fortune: command not found > Shouldn't xfce4-tips explicity either set the PATH or call > /usr/games/fortune rather than just fortune when its calling a program > that may very well not be in the user's $PATH? Whilst I can see your point, the correct solution would really be not to run X as root which is never a good idea. If you need to run a graphical program as root (which I wouldn't recommend) then you could use sudo from a normal session. Nevertheless, improving xfce4-tips to call /usr/games/fortune instead would indeed be better. Simon. -- * "Emergency! Emergency! There's an emergency going on!" - Holly * | | * * Brought to you by the letter O and the number 16 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]