Re: Full screen app events

You can unlock with:

  gnome-screensaver-command --deactivate

You can do all this remotely (perhaps from the cafe owner's PC) with
something like (untested):

  system ("ssh client-pc-name DISPLAY=:0 gnome-screensaver-command --lock");
  system ("ssh client-pc-name DISPLAY=:0 gnome-screensaver-command

I guess you'd need to do the ssh as the guest user.

2011/4/22 Juan Antonio Ibañez Santorum <juanito1982 gmail com>:
> Blocking window must also have the possiblitiy to be unlocked via an admin
> password. I am very interested in blocking all keyboard shorcuts while the
> computer stay in blocked status. A don't know if a GTK app could do this
> filter operation over keyboard events...
> 2011/4/22 <jcupitt gmail com>
>> You could just lock the screen. On gnome, something like
>>  system ("gnome-screensaver-command --lock");
>> I suppose you'd want to configure it a bit to remove "Leave Message"
>> and "Switch User".
>> 2011/4/22 Juan Antonio Ibañez Santorum <juanito1982 gmail com>:
>> > Hello!
>> >    Is there any way to consume keyboard and mouse events in a GTK app? I
>> > want to develop an internet cafe app and I must 'block' the computer
>> > once
>> > the prepaid gets out using a full screen blocking window. The user must
>> > no
>> > be able to bypass the blocking window using any keyboard shortcut. Any
>> > advice on this?
>> > Regards
>> > _______________________________________________
>> > gtk-list mailing list
>> > gtk-list gnome org
>> >
>> >
>> >

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]