From owner-freebsd-questions@FreeBSD.ORG Sun Apr 17 02:10:44 2005 Return-Path: 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 9388816A4CE for ; Sun, 17 Apr 2005 02:10:44 +0000 (GMT) Received: from imf16aec.mail.bellsouth.net (imf16aec.mail.bellsouth.net [205.152.59.64]) by mx1.FreeBSD.org (Postfix) with ESMTP id F370E43D2D for ; Sun, 17 Apr 2005 02:10:43 +0000 (GMT) (envelope-from brian@thekinseys.net) Received: from VAIO ([65.13.29.31]) by imf16aec.mail.bellsouth.net (InterMail vM.5.01.06.11 201-253-122-130-111-20040605) with ESMTP id <20050417021043.KQDH1995.imf16aec.mail.bellsouth.net@VAIO> for ; Sat, 16 Apr 2005 22:10:43 -0400 From: "Brian Kinsey" To: Date: Sat, 16 Apr 2005 22:10:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.6353 In-Reply-To: <20050417003639.GV4842@dan.emsphone.com> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 Thread-Index: AcVC5Yg0zXh0kXKXRRqvxQBD2cpUgAADDNIQ Message-Id: <20050417021043.KQDH1995.imf16aec.mail.bellsouth.net@VAIO> Subject: RE: Starting applications automaticaly X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Apr 2005 02:10:44 -0000 I don't know what script file starts xfce. I start it by typing kdm. Then I have an option of starting kde or xfce. There is no .xinitrc on my computer, but there is a .kderc in my home directory. I tried adding a line there that had "xbattbar &", but that didn't work. I also noticed that there is an Autostart directory under the .kde directory in my home directory. Do I need to add a script there? If so, what would this script look like? -----Original Message----- From: Dan Nelson [mailto:dnelson@allantgroup.com] Sent: Saturday, April 16, 2005 8:37 PM To: Brian Kinsey Cc: freebsd-questions@freebsd.org Subject: Re: Starting applications automaticaly In the last episode (Apr 16), Brian Kinsey said: > I am using xfce on FreeBSD 5.3. How do I make an application start up > automatically when xfce starts up? I am trying to learn on a laptop and I > would like to have xbattbar start up automatically. Right now, I open a > terminal window and type xhost +, su, xbattbar and then I have to leave the > terminal window open. Xfce is just a window manager, right? Run xbattbar in whatever script file you start xfce from (usually .xinitrc). -- Dan Nelson dnelson@allantgroup.com