Bug#443953: kdebase: autostart order unreliable
> You could try using the KDE environment extender mechanism instead.
> For this you create a file with .sh extension and put it into .kde/env/
> It will be read (sourced) by the KDE startup script startkde.
> It might also work with a different autostart phase, see /usr/share/autostart
> for .desktop files with different X-KDE-autostart-phase entries.
Thank you very much for your answer.
Unfortunately, neither method worked.
As for ~/.kde/env. I put my xmodmap.sh file there, set 755
permissions. And it wasn't executed (checked with xmodmap -pke). Then
I executed part of the startkde manually and it worked (checked again
with xmodmap -pke). I don't know the reason. Is startkde executed when
I login using kdm and not invoking startkde?
As for the second solution. I put there following line:
(1 -> 0). And effect was exactly the same - I had to restart xmms in
order to get my multimedia keys working in it.
What do you think about it?