[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xmonad
Subject:    Re: [xmonad] Xmonad + KDE4: a possible bug?
From:       Hans Chen <hanswchen () gmail ! com>
Date:       2014-02-15 18:38:59
Message-ID: CAFfzviDiNJ8d8udtWjsrrr+DAFvATh0XZDP8cU8gyNAoXffF1w () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Actually, it should probably be

export KDEWM=/usr/bin/xmonad

if you want to run xmonad within KDE Workspace.

Cheers,
Hans

On Sat, Feb 15, 2014 at 1:14 PM, Brandon Allbery <allbery.b@gmail.com>wrote:

> On Sat, Feb 15, 2014 at 12:51 PM, scolfield <kscolfield@gmail.com> wrote:
>
>> I've recently installed the newest KDE4 version on my Gentoo and I
>> configured Xmonad according to
>> http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_KDE. There is
>> an strange behaviour. Actually, the xmonad doens't run when KDE starts and
>> any error is reported. KDE starts normally but the window tilling feature
>> of Xmonad doesn't.
>>
>
> Our KDE support is a little out of date, but this should work.
>
>
>>  My .xinitrc contains a single line with "exec startkde" command. And,
>> my /etc/conf.d/xdm file contains "DISPLAYMANAGER=kdm". Moreover, i
>> created and edited set_window_manager.sh file with "export KDEWM=/usr/bin"
>> in ~/.kde4/env
>>
>
> `export KDEWM=/usr/bin` tells KDE to try to run *the directory /usr/bin*
> as a window manager, which won't do anything --- it will catch an "Is a
> directory" error and fail to start any window manager. You need to point it
> to the actual window manager, not a directory; and it would be within its
> rights (although I don't think it does) to assume, given that it's a
> directory, that you meant /usr/bin/kdewm instead of guessing that you meant
> something else.
>
> --
> brandon s allbery kf8nh                               sine nomine
> associates
> allbery.b@gmail.com
> ballbery@sinenomine.net
> unix, openafs, kerberos, infrastructure, xmonad
> http://sinenomine.net
>
> _______________________________________________
> xmonad mailing list
> xmonad@haskell.org
> http://www.haskell.org/mailman/listinfo/xmonad
>
>

[Attachment #5 (text/html)]

Actually, it should probably be<br><br>export \
KDEWM=/usr/bin/xmonad<br><br>if you want to run xmonad within KDE \
Workspace.<br><br>Cheers,<br>Hans<br><br><div class="gmail_quote">On Sat, \
Feb 15, 2014 at 1:14 PM, Brandon Allbery <span dir="ltr">&lt;<a \
href="mailto:allbery.b@gmail.com" \
target="_blank">allbery.b@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div \
class="gmail_quote"><div class="">On Sat, Feb 15, 2014 at 12:51 PM, \
scolfield <span dir="ltr">&lt;<a href="mailto:kscolfield@gmail.com" \
target="_blank">kscolfield@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px \
#ccc solid;padding-left:1ex"><div dir="ltr"><div \
style="font-family:arial,helvetica,sans-serif;font-size:small">I&#39;ve \
recently installed the newest KDE4 version on my Gentoo and I configured \
Xmonad according to <a \
href="http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_KDE" \
target="_blank">http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_KDE</a>. \
There is an strange behaviour. Actually, the xmonad doens&#39;t run when \
KDE starts and any error is reported. KDE starts normally but the window \
tilling feature of Xmonad doesn&#39;t. <br>


</div></div></blockquote><div><br></div></div><div>Our KDE support is a \
little out of date, but this should work.</div><div class=""><div> \
</div><blockquote class="gmail_quote" style="margin:0 0 0 \
.8ex;border-left:1px #ccc solid;padding-left:1ex">


<div dir="ltr"><div style="font-family:arial,helvetica,sans-serif;font-size:small"></div>


<div style="font-family:arial,helvetica,sans-serif;font-size:small">My \
.xinitrc contains a single line with &quot;<font face="courier new, \
monospace">exec startkde</font><font face="arial, helvetica, \
sans-serif">&quot; command. And, my </font><font face="courier new, \
monospace">/etc/conf.d/xdm</font><font face="arial, helvetica, sans-serif"> \
file contains &quot;DISPLAYMANAGER=kdm&quot;. Moreover, i created and \
edited </font><font face="courier new, \
monospace">set_window_manager.sh</font><font face="arial, helvetica, \
sans-serif"> file with &quot;</font><font face="courier new, \
monospace">export KDEWM=/usr/bin</font><font face="arial, helvetica, \
sans-serif">&quot; in </font><font face="courier new, \
monospace">~/.kde4/env</font><font face="arial, helvetica, sans-serif"> \
</font></div>


</div></blockquote><div><br></div></div><div>`export KDEWM=/usr/bin` tells \
KDE to try to run *the directory /usr/bin* as a window manager, which \
won&#39;t do anything --- it will catch an &quot;Is a directory&quot; error \
and fail to start any window manager. You need to point it to the actual \
window manager, not a directory; and it would be within its rights \
(although I don&#39;t think it does) to assume, given that it&#39;s a \
directory, that you meant /usr/bin/kdewm instead of guessing that you meant \
something else.</div>

<span class="HOEnZb"><font color="#888888">
<div><br></div></font></span></div><span class="HOEnZb"><font \
color="#888888">-- <br><div dir="ltr"><div>brandon s allbery kf8nh          \
sine nomine associates</div><div><a href="mailto:allbery.b@gmail.com" \
target="_blank">allbery.b@gmail.com</a>                                  <a \
href="mailto:ballbery@sinenomine.net" \
target="_blank">ballbery@sinenomine.net</a></div>


<div>unix, openafs, kerberos, infrastructure, xmonad        <a \
href="http://sinenomine.net" \
target="_blank">http://sinenomine.net</a></div></div> \
</font></span></div></div> \
<br>_______________________________________________<br> xmonad mailing \
list<br> <a href="mailto:xmonad@haskell.org">xmonad@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/xmonad" \
target="_blank">http://www.haskell.org/mailman/listinfo/xmonad</a><br> \
<br></blockquote></div><br>



_______________________________________________
xmonad mailing list
xmonad@haskell.org
http://www.haskell.org/mailman/listinfo/xmonad


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic