[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: GNUstep's clipboard (Was: Changes I've been thinking of...)

From: Wolfgang Lux
Subject: Re: GNUstep's clipboard (Was: Changes I've been thinking of...)
Date: Mon, 12 Oct 2009 19:15:54 +0200

Fred Kiefer wrote:

Wolfgang Lux schrieb:
While at the topic of GNUstep's pasteboard: I've recently started using
GNUstep applications remotely through an ssh connection. This works
quite well for me except for copy and paste. Both interact with the
pasteboard server on the remote machine not with my local X server. Is there any way to tell GNUstep applications to contact the gpbs server on
my local machine instead of the remote one?

If I remember correctly (Richard will know better) you have to start
gpbs manually
and provide the "NSHost" parameter to it. That should get it to interact
with your local X server.

Thanks for your answer Fred. Unfortunately, it doesn't work. Even after
starting gpbs with the -NSHost argument (it took me quite a while to notice that it is -NSHost and not --NSHost), the applications still contacted the
local gpbs server.

Browsing through the source, I found that the +_pbs method of NSPasteboard always contacts the local pasteboard server unless the NSHost user default
is set. Yet, if I invoke an application with a -NSHost argument, the X
backend insists on using this hostname to set the name of the X display to be opened in XGServer's _initXContext method, which obviously fails because
my X server does not open a TCP/IP port in the first place.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]