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

Re: ~/.Xmodmap and Gnome



Hi,

neither the method with the script in the "startup programs" nor with
~/.gnomerc works :-(
I can start the script myself but it should start automaticly.
Is there another way to fix these keys to my system/X-Server?

Amir

On Tue, 2004-07-06 at 18:15, Joao Lourenco wrote:
> It was my first idea....  but it didn't work for me in "~/.gnomerc". 
> Are you sure it should?
> 
> Joao
> 
> On Ter, 2004-07-06 at 17:12, James Strandboge wrote:
> > 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
> -- 
> Joao Lourenco                  Tels: (+351) 212 948 536
> Dep. Informatica                     (+351) 212 948 300
> FCT / Univ. Nova de Lisboa      Ext: 10740
> Quinta da Torre                 Fax: (+351) 212 948 541
> P-2829-516 CAPARICA   http://www-asc.di.fct.unl.pt/~jml
> 



Reply to: