Re: terminate opie

From: Cameron McCormack <clm.a.t.csse.monash.edu.au>
Date: Sat May 18 2002 - 11:45:19 EDT

ljp:
> try this in a script or from a commandline:
> qcop QPE/System "shutdown()'

I've now got a script that works to shut down opie apps before X gets
started. I had to use the quit() function to kill the opie apps that
were running, then /etc/init.d/qpe stop to actually kill the qpe
process.

Now to getting the menu item working. I made a .desktop file in
$QTDIR/apps which contains this:

  [Desktop Entry]
  Type=Application
  Exec=/root/bin/switch2x
  Icon=Shutdown
  Name=Switch to X

but this doesn't work when I tap the menu item. Am I allowed to put an
explicit program filename in that Exec line? Or does it have to be the
name of an actual Application?

Thanks,

Cameron

-- 
Cameron McCormack
  // clm@csse.monash.edu.au
  // http://www.csse.monash.edu.au/~clm/
  // icq 26955922
Received on Sat May 18 15:45:21 2002

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:50:05 EDT