alexkay / xmonad-log-applet

An applet that will display Xmonad log information
https://github.com/alexkay/xmonad-log-applet
BSD 3-Clause "New" or "Revised" License
59 stars 17 forks source link

example xmonad.hs #10

Open sduverger opened 11 years ago

sduverger commented 11 years ago

Hello,

I experienced some troubles at recompiling your example code. While i'm not an haskell programmer, i managed to fix it this way:

The error was:

Couldn't match expected type `D.ObjectPath'
            with actual type `[Char]'

So i forced the types:

D.objectPath_ "/org/xmonad/Log") (D.interfaceName_ "org.xmonad.Log") (D.memberName_ "Update")

Ubuntu precise (12.04) using some quantal packages (haskell-dbus)

kronn commented 11 years ago

I can confirm this solution.

Using Ubuntu precise 12.04 with dbus from cabal install dbus

kronn commented 11 years ago

also: thanks, @sduverger