[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ~/.Xmodmap and Gnome



On Tue, 2004-07-06 at 09:56, Joao Lourenco wrote:
> Hi,
> 
> For other reasons, I had to solve a similar problem...
> 
> I wrote the following script, which runs "xmodmap $HOME/.Xmodmap" if
> user has such file in his home directory.
> 
> ================================================================
> #! /bin/bash
> 
> CMD_XMODMAP=`which xmodmap`
> USER_XMODMAP=.Xmodmap
> 
> [ -n "$CMD_XMODMAP" -a -f "$HOME/$USER_XMODMAP" ] && $CMD_XMODMAP
> $HOME/$USER_XMODMAP
> ================================================================
> 

Could just drop the above into ~/.gnomerc too.

Jamie

-- 
Targeted Performance Partners, LLC
Web: http://www.tpptraining.com
E-mail: jamie@tpptraining.com
Tel: (585) 271-8370
Fax: (585) 271-8373



Reply to: