Execute the command when login
Tore Lund
tl32 at next.online.no
Wed Jul 2 07:58:24 UTC 2008
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
More information about the freebsd-questions
mailing list