From owner-freebsd-questions@FreeBSD.ORG Tue May 11 19:48:14 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CC27A1065675 for ; Tue, 11 May 2010 19:48:14 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 8A9118FC17 for ; Tue, 11 May 2010 19:48:14 +0000 (UTC) Received: from r55.edvax.de (port-92-195-118-129.dynamic.qsc.de [92.195.118.129]) by mx01.qsc.de (Postfix) with ESMTP id 7FA523D110; Tue, 11 May 2010 21:48:11 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id o4BJmB50001683; Tue, 11 May 2010 21:48:11 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Tue, 11 May 2010 21:48:11 +0200 From: Polytropon To: Eitan Adler Message-Id: <20100511214811.34f6706d.freebsd@edvax.de> In-Reply-To: References: <201005111907.o4BJ7A2M007162@mail.r-bonomi.com> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org, Robert Bonomi Subject: Re: user friendliest gui X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 19:48:14 -0000 On Tue, 11 May 2010 22:30:08 +0300, Eitan Adler wrote: > > My users here, "no gui" = "machine is broken" And they *do* use computers? :-) > makes it very necessary. Sure. > Anyway if you want a really simple GUI try icewm or dwm. The former recently > had a thread on its mailing list about how to lock it down for use as a > kiosk and the latter has < 5000 lines of code so it should be easy to modify > to your liking if you know some C. If this machine wil be dedicated to just scanning USB sticks, there is NO NEED for a window manager. A (maybe fullscreen) Tcl/Tk wrapper for the programs involved in the scanning process should be completely sufficient. If this machine should do other things, too, maybe it's useful to add xdm, and then be able to logout from the scanner account (of course involving a password, so the clever "no gui = broken" users cannot "accidentally" log out and "break" the machine. With another user account, something else could be done. > Also look at devd(8) for running your script - The devd daemon provides a > way to have userland programs run when certain kernel events happen. That's a very good advice - a way to automate the process. While the scanner application wrapper is waiting for a "devd signal" to start work, the machine can show dancing puppies, play music or show random window decorations (to indicate it's not "broken"). If the "devd signal" arrives, the scanning process starts, and the machine only shows the minimal informations (that the clever users can understand, like "put in the stick" or "take out the stick", but not too complicated, so don't bother them with what kind of virus or malware has been found). Again, Tcl/Tk is an excellent means to implement this. And as a sidenote: As GUIs aren't user friendly in this specific situation (it's always specific, keep in mind), it should be reduced to the minimum to do the job. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...