[nylug-talk] cron or at with xmms

Luis Murillo lmurillo at codebeta.net
Wed Dec 13 08:12:01 EST 2006


I've done this before, I actually used it as my alarm clock ;)

You gotta set the DISPLAY variable like Henning mentioned, I did that like this:

DISPLAY=:0.0 xmms -p

-LM

On 12/13/06, Henning Follmann <hfollmann at itcfollmann.com> wrote:
>
> On Dec 13, 2006, at 6:21 AM, ksdfkw9 wrote:
>
> > Does anybody know why xmms doesn't work with cron or at?
> > There always seems to be something else you can use, so it isn't a
> > big problem, but I'm puzzled as to why.
> > Commentary on the web tends to say "You can't do it, but it isn't
> > simple to say why."
> > Anyone up for a potentially non-simple explanation?
>
>
> xmms requires a running X server. With cron or at you never know if X
> is running or not.
> And you don't know if the environment variables are set (e.g. $DISPLAY).
>
>
> Henning
>
> --
> Henning Follmann      | hfollmann at itcfollmann.com
> it consultant         | http://www.itcfollmann.com
>
>
> _____________________________________________________________________________
> Hire expert Linux talent by posting jobs here :: http://jobs.nylug.org
> The nylug-talk mailing list is at nylug-talk at nylug.org
> The list archive is at http://nylug.org/pipermail/nylug-talk
> To subscribe or unsubscribe: http://nylug.org/mailman/listinfo/nylug-talk
>


-- 

Luis Murillo
lmurillo at codebeta.net

http://www.codebeta.net


More information about the nylug-talk mailing list