raoul duke <dr_gonzo at redbrick.dcu.ie> writes:
> are you using KDM? afaik kdm has a sessions file somewhere (/etc/kde3 or
> /etc/X11/Xservers or /etc/X11/Xsessions ?). you could add a script to the
> file (or maybe through the kdm configurator?) which basically starts up
> sawfish and anything else you want.
/etc/kde3/kdm/Xsession sources /etc/X11/Xsession, which by default
will read ~/.xsession, *UNLESS* it has an argument (like "sawfish"
or "failsafe" or "twm"). .xsession is just used as a fallback.
Looking at the code I can't see how .xmodmap would be read in any
case.
One way of dealing with this is to take as correct the inference
that one should be using .sawfishrc instead of .xsession, so now I
have to figure out if that provides a sensible way of executing
'xmodmap -e "pointer = 3 2 1 4 5"', probably:
(system "xmodmap -e \"pointer = 3 2 1 4 5\"")
Brendan
--
Brendan Halpin, Department of Sociology, University of Limerick, Ireland
Tel: w +353-61-213147 f +353-61-202569 h +353-61-390476; Room F2-025 x 3147
mailto:brendan.halpin at ul.iehttp://www.ul.ie/sociology/brendan.halpin.html
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!