[xmonad] darcs patch: instruct users to use exec to start xmonad from .xinitrc

Andrew Sackville-West andrew at swclan.homelinux.org
Fri Jun 27 22:05:27 EDT 2008

On Fri, Jun 27, 2008 at 09:30:08AM -0400, Brandon S. Allbery KF8NH wrote:
> On 2008 Jun 27, at 9:26, Jesús Guerrero wrote:
>>> # do some setup stuff
>>> exec xmonad
>>> x-terminal-emulator
>>> thus giving either xmonad, or if it fails (never!) an xterm to at
>>> least show that X is working. I am happy to be educated otherwise ;)
>> That would start xmonad AND (not OR) x-terminal-emulator.
> If the exec succeeds, nothing after it is executed.

Exactly. exec *replaces* the shell process with the specified
command. If for some reason the wm doesn't launch, then the script
continues to the x-terminal-emulator. At least that's how I understand
it. And the proof is in the execution,  I definitely do not get *both*
using exec.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20080627/617ca2ec/attachment.bin

More information about the xmonad mailing list