From owner-freebsd-questions@FreeBSD.ORG Thu Jul 3 03:30:04 2008 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 D15081065670 for ; Thu, 3 Jul 2008 03:30:04 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.170]) by mx1.freebsd.org (Postfix) with ESMTP id A4E198FC0A for ; Thu, 3 Jul 2008 03:30:04 +0000 (UTC) (envelope-from ronggui.huang@gmail.com) Received: by wf-out-1314.google.com with SMTP id 24so569078wfg.7 for ; Wed, 02 Jul 2008 20:30:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=c56HH9JdX7Syq6EGjw1C4eugpY0XVjxO6tiXzPgg6I4=; b=leCS1e2fbA5CwRV/Vv5+XuLncSPGSH/14e8tJiubwhlpqOA3RDFzXfIcEq+7F5w43g 4M2c4Itz/qofiVIr81j0Con15rNJkctKaXZbarm9OOOg+bGp403NNg9O4XtVXub/cntW gs/WPIt6PWtsfycBWbaXfEukBQj4XaxJMOw6g= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=ljBDN+ejCr5cVucC21ZtZ1098CUxh80T0pMQs67omByUXB/PaO9gI1FKzWebycUewQ HbC40mfLPGHo8c45FPT8HpyB+WVy2PVtc4mTyCS7QfCc5liA1nsl2E85qx3++tcdcTAA yxOSZUDaUQEyMw0XEK2lT2f77y9F+/MTt962c= Received: by 10.142.223.20 with SMTP id v20mr3365837wfg.152.1215055803756; Wed, 02 Jul 2008 20:30:03 -0700 (PDT) Received: by 10.143.157.17 with HTTP; Wed, 2 Jul 2008 20:30:03 -0700 (PDT) Message-ID: <38b9f0350807022030l6748d6c2g460c2f2d0309304b@mail.gmail.com> Date: Thu, 3 Jul 2008 11:30:03 +0800 From: ronggui To: prad In-Reply-To: <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <20080702154730.2dad476e@gom.home> <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com> Cc: Matthias Apitz , freebsd-questions@freebsd.org Subject: Re: Execute the command when login X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Jul 2008 03:30:05 -0000 My solution: add the command to ~/xinitrc ### content of ~/.xinitrc xmodmap ~/.xmodmaprc exec fvwm ### xmodmap must come before exec fvwm, otherwise it take no effect. I tried to put xmodmap to ~/.login as well, but it is not satisfying. When I login, FB complains, as xmodmap has to executed after X starts. Best On Thu, Jul 3, 2008 at 10:39 AM, ronggui wrote: > Mine is fvwm. Putting the command in ~/.xinitrc doesn't work. > > Best to all. > > On Thu, Jul 3, 2008 at 6:47 AM, prad wrote: >> On Wed, 2 Jul 2008 10:00:13 +0200 >> Matthias Apitz wrote: >> >>> You could launch it from ~/.xinitrc for example as: >>> >>> xmodmap.sh >>> exec startkde >>> >> i tried to do that with ion and it didn't work which came as a surprise. >> however, i will try it again and maybe with a different wm. >> >> -- >> In friendship, >> prad >> >> ... with you on your journey >> Towards Freedom >> http://www.towardsfreedom.com (website) >> Information, Inspiration, Imagination - truly a site for soaring I's >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > > > -- > HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ > Bachelor of Social Work, Fudan University, China > Master of sociology, Fudan University, China > Ph.D. Candidate, CityU of HK. > -- HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/ Bachelor of Social Work, Fudan University, China Master of sociology, Fudan University, China Ph.D. Candidate, CityU of HK.