--On Saturday, September 21, 2002 7:32 AM +0100 Alwyn
<[EMAIL PROTECTED]> wrote:
> On Friday, September 20, 2002, at 11:56 pm, Stephen Anderson
> wrote:
>
>>
>> On Friday, September 20, 2002, at 06:17 PM, Alwyn wrote:
>>
>>> On Friday, September 20, 2002, at 08:52 pm, Stephen
>>> Anderson wrote:
>>>
>>>> Even better: make a file called ".Xmodmap" in your home
>>>> directory, and put that line in it. this way the change
>>>> is made even if your .xinitrc file is not read when X
>>>> starts up. It's also logically and aesthetically cleaner
>>>> to do things in this "modular" way....
>>>
>>> That may well be, but I find that the following works best
>>> for me: File .xinitrc:
>>>
>>> source /sw/bin/init.sh
>>> xmodmap -e "remove Mod1 = Alt_R"
>>> /sw/bin/startkde
>>
>> Of course that works for you.
>
> It seems to be the *only* thing that works for me. The
> .Xmodmap file does not get executed automatically, even with
> OroborOSX.
The .Xmodmap file is not meant to be executable; it has a
specific format. I believe the equivalent to dding xmodmap -e
"remove "Alt_R to your ~/.xinitrc would be to add the following
to your ~/.Xmodmap:
!remove Alt_R
clear mod1
add mod1 = Mode_switch
This seems to work with Xoroborus. For this to work with
"normal" window managers that read the .xinitrc you want to be
sure that your .xinitrc uses your .Xmodmap, etc. with lines
like:
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/usr/X11R6/lib/X11/xinit/.Xresources
sysmodmap=/usr/X11R6/lib/X11/xinit/.Xmodmap
# merge in defaults and keymaps
if [ -f $sysresources ]; then
xrdb -merge $sysresources
fi
if [ -f $sysmodmap ]; then
xmodmap $sysmodmap
fi
if [ -f $userresources ]; then
xrdb -merge $userresources
fi
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
Now if only I could figure out how to set CAPSLOCK = control
under OroborusX...
- Mat
-------------------------------------------------------
This sf.net email is sponsored by: DEDICATED SERVERS only $89!
Linux or FreeBSD, FREE setup, FAST network. Get your own server
today at http://www.ServePath.com/indexfm.htm
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users