Re: to run a "interactive" scritp before shutting down the system [SOLVED]
El Jueves 07 Diciembre 2006 11:26, Godo escribió:
> 2.- to build a script that:
> a) run my script
> b) shutdown the system
> I would like to call to "shutdown application" that is
> called from "K menu" to save sessions, etc.
> c) and delete the shutdown option from the "K menu" (to avoid use
> it), only for one user (my user) if it is possible. But, when I edit the
> k-menu this option is not available for me (as normal user, not root).
a)
my script ;-)
b)
$ dcop ksmserver ksmserver logout 1 2 0
http://developer.kde.org/documentation/library/3.5-api/kdelibs-apidocs/kdecore/html/classKApplication.html
c)
$ kiosktool
http://extragear.kde.org/apps/kiosktool/
Best Regards.
Reply to: