>>>> "MU" == Michael Urman <[EMAIL PROTECTED]> writes:

[...]

MU> I tried looking for this, but i couldn't figure out the chain that would
MU> work.  Fortunately, sawmill has a named pipe:

MU>   /tmp/.sawmill-$LOGNAME/$display named pipe.

MU> This looks to be the ultimate way to find it, for sawfish.  Looks like
MU> it may be a hangover from the sawmill named days - something was missed?
MU> :)  (and yes, this is current, from today's login in my case)

MU> Is the lsof, netstat, etc. way a viable way of finding the display for a
MU> program in the general case?

Thanks, for all your answers. The postinst is now:

    if [ `pidof sawfish` ]; then
        echo
        echo "  WARNIG - WARNIG - WARNIG - WARNIG - WARNIG - WARNIG"
        echo
        echo "  You need to restart sawfish right now"
        echo "  execute 'sawfish-client -f restart' in a xterm."
        echo
        echo "  WARNIG - WARNIG - WARNIG - WARNIG - WARNIG - WARNIG"
        echo
        echo -ne "Please press <enter> to continue...\a"
        read ANSWER
    fi

Christian

Reply via email to