[maemo-developers] [maemo-developers] How to lock a User in a Sandbox

From: Aki Teppo aki.teppo at iki.fi
Date: Mon Jan 23 15:14:01 EET 2006
Hi,

I'm also trying to accomplish the same thing. I want to capture the 
Home-key from application, ie prevent the system to display the desktop 
when the user presses the key.

First, I tried to remove the keysnooper installed by the Hildon framework:
http://maemo.org/lxr/source/hildon-lgpl/hildon-lgpl/hildon-app.c#297

In emulator (i386 SDK and Xephyr) removing that snooper seemed to do the 
trick, but not in the device.

Then I found this in the Hildon Navigator sources:
http://maemo.org/lxr/source/maemo-af-desktop/hildon-navigator/application-switcher.c#1669

Is there some way to prevent Navigator receiving those Home key DBus events?

Br,
Aki

Benjamin Zeller wrote:

> Hello,
>
> Hope someone can help me here.....
> Is it possible to write a programm which i can use to lock a User in a 
> Sandbox?
> The User should only be able to use a few Programms, if someone want 
> to use the full system he has to type
> a password and quit the "sandbox".
> Because of this the Programm needs to catch all Messages (the Home 
> Button Message) to prevent unauthorised access to the full system.
>
>
> How can i do this (catch the messages)?
>
>
> sorry for my bad english....
>
> greets Benjamin
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers



More information about the maemo-developers mailing list