Execute the command when login

ronggui ronggui.huang at gmail.com
Thu Jul 3 03:30:05 UTC 2008


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 <ronggui.huang at gmail.com> 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 <prad at towardsfreedom.com> wrote:
>> On Wed, 2 Jul 2008 10:00:13 +0200
>> Matthias Apitz <matthias.apitz at oclc.org> 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 at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at 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.


More information about the freebsd-questions mailing list