Re: [dev] kiosk mode for surf

From: Christoph Lohmann <20h_AT_r-36.net>
Date: Sat, 09 Mar 2013 09:05:52 +0100

Greetings.

On Sat, 09 Mar 2013 09:05:52 +0100 Christian Hesse <list_AT_eworm.de> wrote:
> Nick <suckless-dev_AT_njw.me.uk> on Fri, 2013/03/08 17:39:
> > On Fri, Mar 08, 2013 at 06:23:45PM +0100, Christian Hesse wrote:
> > > I need a web browser that has no extras but shows a website. Additionally
> > > it may not accept any key stokes. So I added kiosk mode to surf which can
> > > be enable with parameter '-k'. This simply disables callback for key
> > > input.
> >
> > I thought "kiosk mode" often meant something more like you weren't
> > able to switch application / affect the underlying operating system,
> > rather than basically disabling the keyboard.
>
> Well, yes. But that is ensured by other components, e.g. the window manager
> does not accept any key strokes, Xorg does not allow to switch to vt, login
> manager is configured for auto-login - at the same time all system accounts
> are locked...
> So last part is to lock down the browser itself. We have to make sure that
> the user has to use the website's navigation, etc...
>
> Name this feature whatever you like, I would be fine if it is not called
> kiosk mode. ;)
>
> > Regardless, I reckon this is a specific enough usecase that it
> > should be configured through config.h, not as a command line
> > argument.
>
> That means I have to maintain my own package with this feature enabled...
> Any chance to make you rethink about it? :D
>
> It's not a lot of overhead and having this upstream makes it easier for me.
> Additionally this may bring more users to surf. (Have you tries disabling key
> stokes in other browsers? That's real pain.)

I will only add it, if you provide a wiki page for surf how to really
set up this »kiosk mode« in some Linux distribution so other people can
reuse it. Adding the patch is the same level as finding on your own how
to configure everything in userspace to have that behaviour. So to ease
the usage and spread surf more the last component is some introduction
how to setup the surroundings to have the behaviour needed.

If that page is there and it can be really used to set this up, then I
will add it.


Sincerely,

Christoph Lohmann
Received on Sat Mar 09 2013 - 09:05:52 CET

This archive was generated by hypermail 2.3.0 : Sat Mar 09 2013 - 09:12:05 CET