Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2008 11:30:03 +0800
From:      ronggui <ronggui.huang@gmail.com>
To:        prad <prad@towardsfreedom.com>
Cc:        Matthias Apitz <matthias.apitz@oclc.org>, freebsd-questions@freebsd.org
Subject:   Re: Execute the command when login
Message-ID:  <38b9f0350807022030l6748d6c2g460c2f2d0309304b@mail.gmail.com>
In-Reply-To: <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com>
References:  <38b9f0350807020011y35080e75ge2d8d083635be72a@mail.gmail.com> <20080702080013.GA2989@rebelion.Sisis.de> <20080702154730.2dad476e@gom.home> <38b9f0350807021939m4ce0aadfyb7d2bb3e30b871ac@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@towardsfreedom.com> wrote:
>> On Wed, 2 Jul 2008 10:00:13 +0200
>> Matthias Apitz <matthias.apitz@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?38b9f0350807022030l6748d6c2g460c2f2d0309304b>