Althought this doesn't help to fix the problem of having no window decoration, the message disappear if you add the following at the top of the main function of gtk-window-decorator: if (strcmp(argv[i], "--replace") == 0) { replace = 0; } The message will then go away, but I still can't get any window decoration. Fabien