sean finney on 2 Nov 2006 07:07:55 -0000 |
On Thu, 2006-11-02 at 00:23 +0000, Stephen Gran wrote: > For the alternatives to work, something has to try to exec a program > named x-window-manager. I am not sure anything actually ever calls > x-window-manager, though, so that may be where this plan is falling > apart. Are you running gnome-session? If so, there really is no choice > at all but to (kill $(pidof $current_wm) && exec $new_wm). at one of the labs where i have to work, they provide only a crappy gnome-based redhat desktop, which i have no control over. they used to have a "custom xsession" option which would defer to .Xsession, but they took that away over the summer for some reason. *but*, if you pay attention to what goes in in /etc/X11, you'll find that there are some config files that are unconditionally sourced if they exist. for example, on the redhat system a file called ~/.xprofile is sourced, so i slipped in an "exec /path/to/fluxbox", and everything went well from there :) similarly on debian systems i think there are a couple files you can probably abuse similarly, you just gotta poke around a bit. sean Attachment:
signature.asc ___________________________________________________________________________ Philadelphia Linux Users Group -- http://www.phillylinux.org Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce General Discussion -- http://lists.phillylinux.org/mailman/listinfo/plug
|
|