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

Re: xmodmap again - not solved after all

Anthony Campbell wrote>:

> my .xinitrc contains the line: "xmodmap ~/.Xmodmap". which has worked
> for many months or even years. In the last couple of weeks the
> command is not being run.
> Has no one else seen this behaviour?

I saw this behaviour when I stopped using gdm, and went to use startx
In Debian, accessing ~/.Xmodmap (as well as ~/.Xresources; use
~/.Xdefaults instead) seems to be part of login managers.

So instead of starting e.g. fluxbox like this:

    startx /usr/bin/fluxbox

I prefer to start it like this:

    startx /usr/local/fluxbox-session

In /usr/local/fluxbox-session I have put a couple of things to start X
with, 'xmodmap ~/.Xmodmap' among them:

    #! /bin/sh
    /usr/bin/unclutter -idle 2 &
    /usr/bin/xmodmap ~/.Xmodmap
    ... etc. ...

(With thanks to Munia W.!)


Reply to: