[Cialug] Xmodmap at beginning of X session
Tim Wilson
tim_linux at wilson-home.com
Fri Sep 14 20:13:27 CDT 2007
I haven't needed xmodmap for quite a while, but when I did, I put it in the
.profile (it was running ksh), with an if check around it. The if check
would check to see if a variable was set, and if not, run xmodmap and set
the variable. You could also check to make sure DISPLAY is set so if you
ssh in, it won't try to run xmodmap.
On 9/14/07, Nathan Stien <nathanism at gmail.com> wrote:
>
> What's the least ugly place to automate "xmodmap ~/.Xmodmap" for an X
> session?
>
> I have tried a few different places over time and decided they were
> all ugly hacks. Gnome seems to notice you have ~/.Xmodmap and ask you
> if you want it executed, but it has the very unfortunate downside (for
> me) of being Gnome. ;-)
>
> So what do y'all do? The machines I deal with generally have either
> KDE or Xfce.
>
> --
> Nathan P. Stien
> Consulting Engineer / Software Developer
> Embedded Systems Electronics and Software
> http://linkedin.com/in/nathanstien
> Mobile: 309.241.2581
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
--
Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://cialug.org/pipermail/cialug/attachments/20070914/a27d2cdd/attachment.html
More information about the Cialug
mailing list