2008-12-11, 23:25
Gurney Wrote:Hi guys,
My .xinitrc looks like this:
Code:#!/bin/sh
xmodmap ~/.xmodmap
xbmc --standalone
When I start the HTPC, everything runs smoothly except that the xmodmap line doesn't work. If I exit XBMC (back to tty), and then startx from the command line, it will work correctly, the .xmodmap file will be loaded.
Any clue on what is going on?
Thanks a lot!
Gurney
That's exactly my problem as well.
When I try the ~/.xmodmap call in .xinitrc, I see there's an error where xmodmap doesn't know what display to attach to. I've tried adding "-display 0:0" but that doesn't seem to make any difference (maybe the display syntax is wrong? Can't see any errors though).
Here's what I've also tried so far, none of which has worked:
1. Adding a call to ~/.xmodmap in /etc/X11/Xsession
2. Adding the same call to a file in /etc/X11/Xsession.d/
3. Trawling through the logs looking for any clues
4. Taking all my clothes off, covering myself in chocolate, then begging.