Comment 18 for bug 693151

Revision history for this message
Alkis Georgopoulos (alkisg) wrote :

1) Sure, it's easy to get the output names.

2a) I'm not sure what the purpose of mac2xrandr is. lts.conf supports defining custom xrandr modes etc by mac address. Does mac2xrandr do the same thing? Does it extent it to per user AND per mac address layouts? If so, I think that scripts that run in the user account after login should be done in a more generic way, not like that.

2b) You are right, I didn't think of this scenario:
A sysadmin wants to use XRANDR_* to set up a non-cloned display, with e.g. LVDS1 as the primary monitor and VGA1 as --right-of LVDS1. He wants to do that for all users, not for each user separately from the gnome monitors dialog.
My proposed solution in this case is not appropriate, it would either do nothing, or it would need to change the xrandr layout two times, one before and one after login like you said, which isn't nice.

So yup I agree that by default, no xrandr commands should be ran, and LDM should do whatever it can without relying on clones etc.

Could you replace the X11 calls to center the mouse with GDK calls? If not, I'll see if I can do it myself next week.

Cheers,
Alkis