Date: Wed, 02 Jul 2008 09:58:01 +0200 From: Tore Lund <tl32@next.online.no> To: ronggui <ronggui.huang@gmail.com>, freebsd-questions@freebsd.org Subject: Re: Execute the command when login Message-ID: <486B3509.9090605@next.online.no> In-Reply-To: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> References: <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
ronggui wrote: > I would like to execute "xmodmap ~/.xmodmaprc" whenever login or start > the Xorg. I try to put the command to ~/.login_conf or ~/.xinit, but > it doesn't take effects. > > What should I do? Thanks. How do you start X? That command should normally be in ~/.xsession or ~/.xinitrc, all depending. Personally I put the xmodmap command in ~/.xinitrc, and my ~/.xsession is a symlink to ~/.xinitrc. That way, xmodmap will be executed whether I start X from the command line or use xdm. -- Tore
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?486B3509.9090605>