Wnck-WARNING on startup

Bug #213764 reported by Alex Procter
2
Affects Status Importance Assigned to Milestone
gestikk
Fix Released
Low
Unassigned

Bug Description

When I start gestikk from the console I see this:

(gestikk:4003): Wnck-WARNING **: Property _NET_WM_NAME contained invalid UTF-8

I installed gestikk using the Ubuntu package from the website. I'm running Xubuntu 7.10. The program loads fine otherwise and seems to working ok.

Changed in gestikk:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Friedrich Weber (fredreichbier) wrote :

Hello,

the reason is that you do not use a Gnome desktop. gestikk uses libwnck for conditions, which xfce does not support. xfce has an own library for that called netk.
They want to use wnck in xfce 4.6 (see http://wiki.xfce.org/roadmap_to_46) - for now, conditions do not really work, sorry, you can ignore the warning.
netk and wnck seem to have smiliar APIs - maybe we'll add a compatiblity layer for wnck and netk in gestikk 0.6.

Greetings,

Fred

Changed in gestikk:
status: Confirmed → Triaged
Revision history for this message
Friedrich Weber (fredreichbier) wrote :

Hello again,

I've figured out the following: because xfce4's netk API is very similar to the wnck API, it is possible to use conditions with XFCE by applying a litte patch. First, install python-xfce, then open the file `gestikk/tools.py` (located in /usr/lib/python2.5/site-packages/ if you installed it by package) and find line 45:

import wnck

change this line to

import xfce4.netk as wnck

It worked for me in VirtualBox.

Have Fun!

Revision history for this message
Alex Procter (alex-procter) wrote :

Yes, that fixed it. Thank you!

Revision history for this message
Friedrich Weber (fredreichbier) wrote :

Hello,

in 0.6 we change from wnck to a more low-level netwm using module, which works on xfce4 without code modifications.

Changed in gestikk:
status: Triaged → Fix Committed
Changed in gestikk:
milestone: none → gestikk-0.6
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.