How to shutdown on app close
Shahar Dag
dag at cs.technion.ac.il
Tue Jul 28 06:06:13 UTC 2009
Hello
if your application is a C program use system (see man system).
check if other languages has a method to execute a shell command
good luck
Shahar
----- Original Message -----
From: Liam Proven
To: Ubuntu user technical support,not for general discussions
Sent: Monday, July 27, 2009 4:52 PM
Subject: Re: How to shutdown on app close
2009/7/27 Chris Jones <jonesc at hep.phy.cam.ac.uk>:
>
>> Cheers, but I don't want to restrict their access - I just don't want
>> to have to teach them to shut down from GNOME.
>>
>> And I wouldn't wish KDE on anyone any more, I'm afraid. :¬) Not since
>> v1, anyway...
>
>
> Ok. Officially confused. You said "will run a single full-screen app,
> all the time, and nothing else" - Not sure what your definition of
> 'restrict their access' is, but that sounds pretty restrictive to me ;)
Well, basically, that single app is a VERY simplified desktop and
email client. But if my users get more competent, I'm perfectly happy
for them to go play with GNOME itself and Firefox etc.
But my simplified front-end app has a "quit" button and I want that to
close the PC down.
Seems fairly simple to me, to be honest...
--
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lproven at cix.co.uk • GMail/GoogleTalk/Orkut: lproven at gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
MSN: lproven at hotmail.com • ICQ: 73187508
--
ubuntu-users mailing list
ubuntu-users at lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090728/7ddc1ad4/attachment.html>
More information about the ubuntu-users
mailing list