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

Re: Find the display



On Thu, Aug 10, 2000 at 11:39:49PM +0200, Christian Marillat wrote:
> # restart sawfish
>     if [ `pidof sawfish` ]; then
>        sawfish-client -display :0.0 -f restart
>     fi

This is completely broken because you cannot be sure
the user is on :0.0 -- perhaps they are not even on the console.
X is a network protocol, after all.


Hamish
-- 
Hamish Moffatt VK3SB <hamish@debian.org> <hamish@cloud.net.au>



Reply to: