where to put xmodmap to make it work...

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
anderigs
Level 2
Level 2
Posts: 71
Joined: Mon Dec 28, 2009 5:54 am

where to put xmodmap to make it work...

Post by anderigs »

I finally got a xmodmap setup so that my US keyboard will produce öüäÖÜÄ߀ and then uncommented the section in .fluxbox/startup (

Code: Select all

xmodmap $HOME/.Xmodmap
) but it doesn't seem to work.
I tried writing replacing $HOME with the full path.
What else do I need to do?

When I call "

Code: Select all

xmodmap $HOME/.Xmodma
p" from a shell then it is working fine.
No related error messages in .xsession-errors.
i.e. I *think* something somewhere is overwriting it... But I cannot find it.

Where do I need to put the call to make it persistent?
Thanks!
andE
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
richyrich

Re: where to put xmodmap to make it work...

Post by richyrich »

http://fluxbox-wiki.org/index.php?title ... artup_file

Hope this helps ? Let us know . . and good luck.

richy
anderigs
Level 2
Level 2
Posts: 71
Joined: Mon Dec 28, 2009 5:54 am

Re: where to put xmodmap to make it work...

Post by anderigs »

thanks but unfortunately this wiki entry doesn't help. Or I missed the point...

It seems that fluxbox itself is somehow overwriting my xmodmap...

After much messing around I JUST managed a hack but I think there must be a more elegant way to do this.

My hack is to put:

Code: Select all

sh -c "sleep 20; exec xmodmap $HOME/.Xmodmap" &
just before kicking off fluxbox itself with:

Code: Select all

exec /usr/bin/fluxbox
i.e. my xmodmap will be started AFTER fluxbox is started...

It worked but I am sure there must be somewhere else to put this call ... it seems startup file is too "early"
Locked

Return to “Software & Applications”