[xmonad] Can not restart Xmonad
Brandon Allbery
allbery.b at gmail.com
Thu Sep 20 18:33:57 CEST 2012
On Thu, Sep 20, 2012 at 5:04 AM, <kedals0 at gmail.com> wrote:
> toto at compaq:~/.xmonad$ ./xmonad --version
> X Error of failed request: BadAccess (attempt to access private resource
> denied)
> Major opcode of failed request: 2 (X_ChangeWindowAttributes)
> Serial number of failed request: 7
> Current serial number in output stream: 8
>
--version will not work for a user-configured xmonad binary, only for the
master one. That is, option checking is not done by the xmonad function
but by the Main.hs of the xmonad package, which calls the xmonad function
unless options such as --version are passed.
>> toto at compaq:~$ .xmonad/xmonad-x86_64-linux --help
> >> X Error of failed request: BadAccess (attempt to access private
> >> resource denied)
>
Likewise, neither does --help work for a custom xmonad binary, only for the
main one. You should not, in general, run the custom one directly but
instead let the main xmonad do so; there are no promises that the linkage
between the two will remain the same (fixing the $PATH issue may require
changing it, for example).
--
brandon s allbery allbery.b at gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20120920/6c41ff3c/attachment.htm>
More information about the xmonad
mailing list