Re: Execute the command when login

2008-07-02 Thread Tore Lund
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

Re: Execute the command when login

2008-07-02 Thread Matthias Apitz
El día Wednesday, July 02, 2008 a las 03:11:45PM +0800, ronggui escribió: 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. You could launch it from

Re: Execute the command when login

2008-07-02 Thread prad
On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] 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

Re: Execute the command when login

2008-07-02 Thread Gary Kline
On Wed, Jul 02, 2008 at 03:47:30PM -0700, prad wrote: On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] 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.

Re: Execute the command when login

2008-07-02 Thread ronggui
Mine is fvwm. Putting the command in ~/.xinitrc doesn't work. Best to all. On Thu, Jul 3, 2008 at 6:47 AM, prad [EMAIL PROTECTED] wrote: On Wed, 2 Jul 2008 10:00:13 +0200 Matthias Apitz [EMAIL PROTECTED] wrote: You could launch it from ~/.xinitrc for example as: xmodmap.sh exec startkde

Re: Execute the command when login

2008-07-02 Thread ronggui
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

Re: Execute the command when login

2008-07-02 Thread Matthias Apitz
El día Thursday, July 03, 2008 a las 11:30:03AM +0800, ronggui escribió: 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. Of course it will not work if you put it after