Re: [dwm] about dwm's quit and Xorg's quit
On Sun, Jun 17, 2007 at 06:10:13PM +0200, Sander van Dijk wrote: > On 6/17/07, Philipp Köhler <[EMAIL PROTECTED]> wrote: > >If i use dwms MOD+shift+Q i dont really exit dwm... just a blank > >screen. but i dont return to gdm. > > Yes, you do really exit dwm. > That doesn't necessarily mean that your X session is over though (if > it was, you would go back to gdm). Apparently something (not dwm) is > keeping your session from finishing, you just need to figure out what. I assume Philipp feeds dwm with input using some shell-based loop in .xsession. If so, consider the archives for examples how to change the feed constructs that they exit properly if dwm exits. The example given in README does not take care of such cornercases for simplicity reasons. But other fifo-based ones do. Regards, -- Anselm R. Garbe >< http://www.suckless.org/ >< GPG key: 0D73F361
Re: [dwm] about dwm's quit and Xorg's quit
On 6/17/07, Philipp Köhler <[EMAIL PROTECTED]> wrote: If i use dwms MOD+shift+Q i dont really exit dwm... just a blank screen. but i dont return to gdm. Yes, you do really exit dwm. That doesn't necessarily mean that your X session is over though (if it was, you would go back to gdm). Apparently something (not dwm) is keeping your session from finishing, you just need to figure out what. Greetings, Sander.
Re: [dwm] about dwm's quit and Xorg's quit
On Sun, Jun 17, 2007 at 03:39:18PM +0200, Philipp K??hler wrote: > If i use dwms MOD+shift+Q i dont really exit dwm... just a blank > screen. but i dont return to gdm. > > right now i use MOD+shift+Q to quit dwm and then i use Ctrl-Alt-BS to > restart X and get into gdm. is there a easier/better method?! > > thx a lot > > On 6/12/07, Christian Garbs <[EMAIL PROTECTED]> wrote: > >On Mon, Jun 11, 2007 at 09:14:14AM +0800, anhnmncb wrote: > > > >> what's the difference between dwm's quit using Alt-Shift-Q by > >> default and Xorg's quit using Ctrl-Alt-BS, which one is better for > >> quit? > > > >The former quits the dwm process while the latter kills the whole X > >server. Depending on your setup, these can be two very different > >things. > > > >For example, when you are modifing dwm, you could run it in an endless > >loop, so that you can just do a compile, kill dwm and the freshly > >recompiled dwm will restart _without_ killing your whole X session. > >(Personally, I prefer the dwm restart patch for this situation.) > > > >If you run dwm from your .Xsession and quitting dwm also ends your X > >session, then both variants are nearly identical. Although a "proper" > >shutdown of your X session might be favored to just killing the X > >server. > > > >Redards, > >Christian > >-- > >Christian.Garbs.http://www.cgarbs.de > > > >Wird "Neuling" jetzt eigentlich standartm??ssig "Newbee" geschrieben? You can try my solution here: http://www.suckless.org/pipermail/dwm/2007-June/002768.html. I dont use a display manager like gdm, but my xsession does shutdown cleanly as it should when I a-shift-q to quit dwm. -- James Turner BSD Group Consulting http://www.bsdgroup.org
Re: [dwm] about dwm's quit and Xorg's quit
If i use dwms MOD+shift+Q i dont really exit dwm... just a blank screen. but i dont return to gdm. right now i use MOD+shift+Q to quit dwm and then i use Ctrl-Alt-BS to restart X and get into gdm. is there a easier/better method?! thx a lot On 6/12/07, Christian Garbs <[EMAIL PROTECTED]> wrote: On Mon, Jun 11, 2007 at 09:14:14AM +0800, anhnmncb wrote: > what's the difference between dwm's quit using Alt-Shift-Q by > default and Xorg's quit using Ctrl-Alt-BS, which one is better for > quit? The former quits the dwm process while the latter kills the whole X server. Depending on your setup, these can be two very different things. For example, when you are modifing dwm, you could run it in an endless loop, so that you can just do a compile, kill dwm and the freshly recompiled dwm will restart _without_ killing your whole X session. (Personally, I prefer the dwm restart patch for this situation.) If you run dwm from your .Xsession and quitting dwm also ends your X session, then both variants are nearly identical. Although a "proper" shutdown of your X session might be favored to just killing the X server. Redards, Christian -- Christian.Garbs.http://www.cgarbs.de Wird "Neuling" jetzt eigentlich standartmässig "Newbee" geschrieben?
Re: [dwm] about dwm's quit and Xorg's quit
On Mon, Jun 11, 2007 at 09:14:14AM +0800, anhnmncb wrote: > what's the difference between dwm's quit using Alt-Shift-Q by > default and Xorg's quit using Ctrl-Alt-BS, which one is better for > quit? The former quits the dwm process while the latter kills the whole X server. Depending on your setup, these can be two very different things. For example, when you are modifing dwm, you could run it in an endless loop, so that you can just do a compile, kill dwm and the freshly recompiled dwm will restart _without_ killing your whole X session. (Personally, I prefer the dwm restart patch for this situation.) If you run dwm from your .Xsession and quitting dwm also ends your X session, then both variants are nearly identical. Although a "proper" shutdown of your X session might be favored to just killing the X server. Redards, Christian -- Christian.Garbs.http://www.cgarbs.de Wird "Neuling" jetzt eigentlich standartmässig "Newbee" geschrieben?
Re: [dwm] about dwm's quit and Xorg's quit
anhnmncb: > Hello, list! > what's the difference between dwm's quit using Alt-Shift-Q by > default and Xorg's quit using Ctrl-Alt-BS, which one is better Depending on your .xinitrc , and on dwm, mod-shift-q should give it a chance to clean up some resources and processes properly. dwm's exit strategy would be preferred, I think. > for quit? And how to set dwm's quit using Ctrl-Alt-BS? > I know how to disable Xorg's key-binding, it is an option in > xorg.conf. -- Don
[dwm] about dwm's quit and Xorg's quit
Hello, list! what's the difference between dwm's quit using Alt-Shift-Q by default and Xorg's quit using Ctrl-Alt-BS, which one is better for quit? And how to set dwm's quit using Ctrl-Alt-BS? I know how to disable Xorg's key-binding, it is an option in xorg.conf. Thanks for any hints.