From owner-freebsd-questions@FreeBSD.ORG Thu Mar 26 19:44:21 2009 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 0F30D1065675 for ; Thu, 26 Mar 2009 19:44:21 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 958518FC1A for ; Thu, 26 Mar 2009 19:44:20 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-37-253.dynamic.qsc.de [92.196.37.253]) by mx02.qsc.de (Postfix) with ESMTP id 3328D16C0109; Thu, 26 Mar 2009 20:44:19 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n2QJiDBA001549; Thu, 26 Mar 2009 20:44:13 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 26 Mar 2009 20:44:13 +0100 From: Polytropon To: Pieter Donche Message-Id: <20090326204413.dc6b75ff.freebsd@edvax.de> In-Reply-To: References: <20090325222900.d4c325ee.freebsd@edvax.de> 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: "mail.list freebsd-questions" Subject: Re: how to configure xbiff 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: Thu, 26 Mar 2009 19:44:21 -0000 On Thu, 26 Mar 2009 08:39:38 +0100 (CET), Pieter Donche wrote: > From a terminal window command line xbiff -geometry 50x50-5+5 & puts > it in my upper right corner, [...] Do you use -5 to get rid of a window border added by KDE's window manager? > but if I put that in my .xinitrc > (and chmod 755 ~/.xinitrc) nothing happens. It needs to be loaded before the "startkde" exec (I think it was called this way). And your .xinitrc is +x, then it should look a bit like this: #!/bin/sh [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xrandr --size 1400x1050 & xrandr --fb 1400x1050 & xclock -geometry 50x50+50+998 & xbiff -geometry 50x50+0+998 & xlogo -geometry 50x50+100+998 -render & exec startkde All the initial stuff has to end with &, and the window manager is the last command, prefixed by "exec" (so it replaces the shell). > Are you using kdm window > manager or xdm ? (I have in my /etc/ttys: > ttyv8 "/usr/local/bin/kdm -nodeamon" xterm on secure) Neither. In the past, I've used xdm (as your example above, just with xdm instead of kdm), and this worked fine. A note towards your shell: If you're using the standard dialog shell (i. e. the C Shell), it might be neccessary to have a ~/.xsession which is +x and does contain: #!/bin/csh source ~/.cshrc exec ~/.xinitrc > Would .xinitrc not be processed by kdm window manager? This is completely possible. Maybe kdm defaults to a "builtin xinitrc" that launches KDE after successful login. I'm no KDE user so I can't tell. Just as a side question, doesn't KDE offer something with the same functionality like xbiff, so you can use KDE's builtin tool? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...