From owner-freebsd-questions@FreeBSD.ORG Wed Mar 8 13:26:20 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A4BD316A420 for ; Wed, 8 Mar 2006 13:26:20 +0000 (GMT) (envelope-from guru@Sisis.de) Received: from hunter.Sisis.de (hunter.sisis.de [193.31.11.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7063543D46 for ; Wed, 8 Mar 2006 13:26:19 +0000 (GMT) (envelope-from guru@Sisis.de) Received: (from mail@localhost) by hunter.Sisis.de (8.8.8/8.8.8) id OAA03160; Wed, 8 Mar 2006 14:23:27 +0100 (CET) (envelope-from guru@Sisis.de) From: guru@Sisis.de Received: from hermes.sisis.de(193.31.10.38) by hunter.Sisis.de via smap (V2.1) id xma003152; Wed, 8 Mar 06 14:23:18 +0100 Received: from rebelion.Sisis.de (rebelion.Sisis.de [193.31.10.34]) by hermes.sisis.de (8.8.8/8.8.8) with ESMTP id OAA28866; Wed, 8 Mar 2006 14:26:02 +0100 (CET) (envelope-from guru@Sisis.de) Received: (from guru@localhost) by rebelion.Sisis.de (8.13.4/8.13.4/Submit) id k28DQ0he008124; Wed, 8 Mar 2006 14:26:00 +0100 (CET) (envelope-from guru@Sisis.de) X-Authentication-Warning: rebelion.Sisis.de: guru set sender to guru@Sisis.de using -f Date: Wed, 8 Mar 2006 14:26:00 +0100 To: Svein Halvor Halvorsen Message-ID: <20060308132600.GA7502@rebelion.Sisis.de> References: <20060228114219.GA7338@rebelion.Sisis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 6.0-RELEASE (i386) Cc: freebsd-questions@freebsd.org Subject: Re: capturing a desktop demonstration as a movie X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias.Apitz@Sisis.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2006 13:26:20 -0000 El día Wednesday, March 01, 2006 a las 10:17:11AM +0100, Svein Halvor Halvorsen escribió: > On 2/28/06, guru@sisis.de wrote: > > Is there somehow a tool (in the ports) to capture a (KDE-) desktop of > > FreeBSD while doing a presentation of some kind of software to create > > a movie of this, for example as a *.avi file? > > You could go via vnc. It can save vnc-sessions to special vnc-files, > which you later could convert to an avi, mpg, swf, whatever using e.g > transcode. Both are in ports. > > Svein Halvor Hello, Just to record this and maybe for the help of others looking for the same in the future: I followed the hints about 'vnc2swf' and installed from the ports: /usr/ports/net/tightvnc /usr/ports/net/vnc2swf There is nearly nothing todo or to configure, just do (if you want to have all on one system): - launch your desktop (mine is KDE) - create some other user which session you later want to capture - open a xterm and 'su' to that user: 'su - joana' - as 'joana' start now the VNC X-Server: $ vncserver :1 it will ask your for a password which is later used to connect to this X-Server and which is stored forever in a file; - but for now kill the VNC X-Server again with: $ vncserver -kill :1 - in the HOME of 'joana' you now have the file /home/joana/.vnc/xstartup which was created by the 1st launch of 'vncserver' and which you want to modify the same way like any .xinitrc file, mine says: $ cat /home/joana/.vnc/xstartup #!/bin/sh exec startkde - boot up the VNC X-Server again which now comes up with KDE desktop as well (per default it comes up with 'twm' and 'xterm' which does not look so nice :-)) - from your own KDE (or whatever) connect to 'joana' desktop with $ vnc2swf joana.swf :1 type in the password stored with the VNC X-Server and you will get 'joana' desktop in a big window on your desktop; the tool 'vnc2swf' acts like a normal VNC viewer, but pressing key F9 will start the capturing into the file 'joana.swf' move it later over to a webspace and play it with your browser Konqueror, Firefox or whatever... really nice tool! matthias -- Matthias Apitz / Sisis Informationssysteme GmbH ein Tochterunternehmen der OCLC PICA B.V. Leiden (NL) D-82041 Oberhaching, Gruenwalder Weg 28g Fon: +49 89 / 61308-351, Fax: -399, Mobile +49 170 4527211 http://www.sisis.de/~guru/