|
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 usingGNUstep applications remotely through an ssh connection. This works quite well for me except for copy and paste. Both interact with thepasteboard server on the remote machine not with my local X server. Is there any way to tell GNUstep applications to contact the gpbs server onmy local machine instead of the remote one?If I remember correctly (Richard will know better) you have to start gpbs manuallyand provide the "NSHost" parameter to it. That should get it to interactwith your local X server.
Thanks for your answer Fred. Unfortunately, it doesn't work. Even afterstarting 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 Xbackend 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. Wolfgang
[Prev in Thread] | Current Thread | [Next in Thread] |