Discussion:
[xmonad] dmenu in xmonad with KDE
Zachary Peterson
2015-02-28 01:08:14 UTC
Permalink
Hello,

I've decided to give xmonad a try after hearing some good things about
it. I installed it and configured it as described in the wiki
(https://wiki.haskell.org/Xmonad/Using_xmonad_in_KDE). I have no
knowledge of Haskell yet, so the only change I've made to the config
given in the wiki is the change of 'kdeConfig' to 'kde4Config', as
directed. When running, I'm unable to launch dmenu through
mod-p, though I am able to start it with 'dmenu_run' in a terminal. I
checked my .xsession-errors file, and found the following lines after
trying:

QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Bad _NET_DESKTOP with data[0]=-1
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
[/usr/bin/nepomukservicestub] QObject::connect: Cannot connect XSyncBasedPoller::destroyed() to (null)::_k_x11FilterDestroyed()
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave.
Bad _NET_DESKTOP with data[0]=-1

This is all through Debian Wheezy with KDE4, with all relevant
installations done through Debian's repositories.

Any help you can provide will be greatly appreciated. Thank you.
--
Zachary Peterson
***@psu.edu
(317) 828-2377
OpenPGP key: BF5879D6
Brandon Allbery
2015-02-28 01:13:09 UTC
Permalink
Post by Zachary Peterson
. When running, I'm unable to launch dmenu through
mod-p,
Do you actually want dmenu instead of KDE's run dialog? You'll need to
replace the keybinding in that case. (I was trying to help you in IRC but
it was not clear that you actually wanted dmenu. I even specifically said
at least twice that it would not run dmenu.)

If you specifically want dmenu, then look at XMonad.Util.EZConfig to add
something like

[("M-p", spawn "dmenu_run")]

to the keybindings, to override the use of KDE's run dialog.
--
brandon s allbery kf8nh sine nomine associates
***@gmail.com ***@sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad http://sinenomine.net
Zachary Peterson
2015-02-28 17:26:15 UTC
Permalink
Post by Brandon Allbery
Do you actually want dmenu instead of KDE's run dialog? You'll need to
replace the keybinding in that case. (I was trying to help you in IRC
but it was not clear that you actually wanted dmenu. I even
specifically said at least twice that it would not run dmenu.)
I didn't notice that in IRC. Sorry. KDE's would probably be preferable,
but I can't get it to work either.
--
Zachary Peterson
***@psu.edu
(317) 828-2377
OpenPGP key: BF5879D6
Loading...