From: Warren T. <wt...@re...> - 2008-06-18 14:06:00
|
Oliver Grawert wrote: > hi, > Am Dienstag, den 17.06.2008, 19:06 -0400 schrieb Warren Togami: >> Thinking about two separate problems... >> >> https://bugzilla.redhat.com/show_bug.cgi?id=451882 >> I would like to add an option recognized by ldm called >> LDM_DEFAULT_SESSION. This would be an option for some distros like us >> that do not use alternatives for a default desktop setting. If the >> option is present, it would run Xsession and the specified >> LDM_DEFAULT_SESSION as the $1 parameter. >> >> This wouldn't risk other distros who do not use it, so this shouldn't be >> controversial. Any objections if I just do it? > doesnt fedora support "default" as parameter and actually starts the > default session set up on the server (i'd consier it a bug if it > wouldnt) ? so how about just defaulting to "default" in the code and let > the server use its own setup for that type of session instead of adding > just another configuration parameter ;) > > your bug looks rather like you want per user settings there though (your > mail doesnt make that actually clear) thats what ~/.dmrc is for afaik, > we should see that ldm starts using it (thats a longstanding whishlist > item anyway, even though the reason behind that were the per user locale > settings), like the other display managers do. I'm told that GNOME upstream plans on eliminating .dmrc sometime in the near future. For this same reason they refused to agree upon and implement a global equivalent of dmrc. > > (one of the visions of muecow and ltsp5 was that we wont need lts.conf > anymore, i wouldnt like to see that reverting to the 4.x behavior > through distros that wont work without setting it up, lets rather find a > sane default or an in-code solution instead of introducing any > "*_DEFAULT" variables) But in any case even if Xsession (without parameter) has a server-side configurable default session, I still see it as useful to have *availability* of an override switch that is ldm specific. I do recognize that this option is likely not useful to you, but it shouldn't effect you, so why is this controversial? > >> https://bugzilla.redhat.com/show_bug.cgi?id=436912 >> Currently if a user chooses the non-default session from the LDM menu, >> then it runs that command directly (like startkde or startxfce4) instead >> of passing through the Xsession script. This is a problem for us >> because Xsession does things like xinput* scripts that setup Input >> Method support. > and thats definately a bug, i thought it appends the parameter to the > script but apprently it doesnt, lets just fix this one :) > OK, but I hope all distros TEST their Xsession script to be sure it does the right thing with the $1 parameter. I'll just do this part, push it upstream and we'll get test results. Warren Togami wt...@re... |