Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Mar 2009 20:44:13 +0100
From:      Polytropon <freebsd@edvax.de>
To:        Pieter Donche <Pieter.Donche@ua.ac.be>
Cc:        "mail.list freebsd-questions" <freebsd-questions@freebsd.org>
Subject:   Re: how to configure xbiff
Message-ID:  <20090326204413.dc6b75ff.freebsd@edvax.de>
In-Reply-To: <Pine.GSO.4.63.0903260829160.21502@hmacs.cmi.ua.ac.be>
References:  <Pine.GSO.4.63.0903251616490.12607@hmacs.cmi.ua.ac.be> <20090325222900.d4c325ee.freebsd@edvax.de> <Pine.GSO.4.63.0903260829160.21502@hmacs.cmi.ua.ac.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 26 Mar 2009 08:39:38 +0100 (CET), Pieter Donche <Pieter.Donche@ua.ac.be> 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, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090326204413.dc6b75ff.freebsd>