xinitrc in libranet? how do i execute a command on x startup?
how do i execute a command on startup of X from the graphical GDM login?
I've tried adding it to my personal ~/.xinitrc and to the global /etc/X11/xinit/xinitrc, .xsession, but Libranet seems to ignore them. I want to add xmodmap and imwheel lines to execute when x starts, preferably for all users and all WMs, and load a module and mounts at startup.
The .bashrc is fine for a kludge, but only works for commands that can be done over and over again, because it does them every time I start bash. So if i want to change my sound settings, they are reset when I open a konsole.
I found a slightly better solution, of creating a startup.sh script in my ~/.kde/Autostart directory, so that it starts when KDE starts, but not for other WMs, and I don't know how to load a module with it.