Closed GoogleCodeExporter closed 9 years ago
If you change the available layouts, you need to press mod-shift-space after
restart to reload the layout
information. Have you tried this?
Original comment by allber...@gmail.com
on 30 Jan 2008 at 9:39
Yes I tried but that doesn't work either.
Original comment by v.dijk....@gmail.com
on 30 Jan 2008 at 10:26
Probably one of the following:
- xmonad is not in your path (seems very likely, judging from the full path in your
xsession)
- GHC is not in your path
Please check $PATH and let us know if the problem persists.
Original comment by SpencerJ...@gmail.com
on 31 Jan 2008 at 8:08
Spencer you're right.
I've installed xmonad in my home dir and I only added it to my $PATH inside my
~/.bashrc. I gues that ~/.bashrc is never executed when xmonad starts so when I
restart it, it can't find xmonad.
I solved it by listing the full path to xmonad in my config:
, ((modMask , xK_q ), restart "/home/bas/bin/xmonad" True)
This bug, which is not really a bug anymore, can be closed.
Thanks very much for your help!
Original comment by v.dijk....@gmail.com
on 1 Feb 2008 at 7:04
Original comment by byor...@gmail.com
on 4 Feb 2008 at 4:41
In #xmonad today, jeffwheeler had some trouble getting his config to reload. It
seems
like this problem could have been avoided by adding a bit of logic to the
default config:
Currently M-q is bound to:
spawn "xmonad --recompile && xmonad --restart"
This could instead be something like:
spawn $ "which xmonad && { xmonad --recompile && xmonad --restart } || " ++
"xmessage xmonad not in \$PATH: \"$PATH\""
But maybe this logic should be implemented in haskell, or is the /bin/sh syntax
used
here going to work everywhere?
Original comment by vogt.a...@gmail.com
on 24 Mar 2010 at 3:55
One small change for Solaris compatibility: add a semicolon before the close
brace, otherwise you will get a
head-scratchy type of error:
[5] zaphod:501 {allbery} [~] Z$ /bin/sh -c 'true && { true && true } || echo
huh'
/bin/sh: syntax error at line 1: `end of file' unexpected
zsh: exit 2 /bin/sh -c 'true && { true && true } || echo huh'
[5] zaphod:502 {allbery} [~] Z$ /bin/sh -c 'true && { true && true; } || echo
huh'
[5] zaphod:503 {allbery} [~] Z$
Original comment by allber...@gmail.com
on 24 Mar 2010 at 9:41
Here is:
Mon Mar 29 20:33:10 EDT 2010 Adam Vogt <vogt.adam@gmail.com>
* Warn with xmessage when xmonad cannot be found for recompile (issue 126)
Original comment by vogt.a...@gmail.com
on 30 Mar 2010 at 12:35
Attachments:
I've pushed the patch.
Original comment by vogt.a...@gmail.com
on 12 Nov 2011 at 2:45
Original issue reported on code.google.com by
v.dijk....@gmail.com
on 30 Jan 2008 at 9:06