From owner-freebsd-questions@FreeBSD.ORG Sun Oct 10 14:34:42 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 6D1E51065670 for ; Sun, 10 Oct 2010 14:34:42 +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 2DA248FC0C for ; Sun, 10 Oct 2010 14:34:41 +0000 (UTC) Received: from r55.edvax.de (port-92-195-73-80.dynamic.qsc.de [92.195.73.80]) by mx01.qsc.de (Postfix) with ESMTP id 404D53D3C5; Sun, 10 Oct 2010 16:34:40 +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 o9AEYdCL001458; Sun, 10 Oct 2010 16:34:39 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 10 Oct 2010 16:34:39 +0200 From: Polytropon To: Chris Hill Message-Id: <20101010163439.c0d44a6b.freebsd@edvax.de> In-Reply-To: References: <20101010044340.GB3405@thought.org> 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: Gary Kline , FreeBSD Mailing List Subject: Re: how now [green] KDE? 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: Sun, 10 Oct 2010 14:34:42 -0000 On Sun, 10 Oct 2010 07:33:50 -0400 (EDT), Chris Hill wrote: > On Sat, 9 Oct 2010, Gary Kline wrote: > > Also, what do I add to ~kline/[*]? > > I have the file .xinitrc in ~, but I think that gets created by the xorg > install process. No. Install processes usually do not do anything inside a user's home directory. Depending on using xdm (will work with KDE) or kdm (KDE's own graphical login manager), or simply "startx" (without any display manager), you will have to create ~/.xinitrc and (or) ~/.xsession. Those are shell scripts executed at X startup. As I am not a KDE user, I can only guess about what command actually starts KDE; I think it is "startkde". So your ~/.xsession file could look like this: exec startkde A shebang line may be included, but is not required. If you're using the C shell (FreeBSD's standard dialog shell) and want to obtain its settings (you may have customized them), OR when you're using X by "startx" without a display manager, you may consider using the two-stage approach, which is: ~/.xsession #!/bin/csh source ~/.cshrc exec ~/.xinitrc If a display manager is present, it will inherit the C shell's settings and then "switch over to" xinitrc mechanism. ~/.xinitrc #!/bin/sh # Your customized commands here, e. g. [ -f ~/.xmodmaprc ] && xmodmap ~/.xmodmaprc xrandr --fb 1400x1050 xrandr --size 1400x1050 xsetroot -solid rgb:3b/4c/7a xterm -fg black -bg beige -title Terminal & xset b 100 1000 15 & xset r rate 250 30 & xset s off & xset -dpms & # And finally your window manager or desktop environment: exec startkde # I have "exec wmaker" here :-) With this setup, you can use a) xdm b) kdm c) any other dm d) no dm (startx only, even per auto-login) > Don't know what you would need for KDE, but I would hope > the package/port would create a default version of whatever you need. The "startkde" command should be fully sufficient, as all other things are to be configured inside KDE. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...