Re: Copying & pasting between X and Mac apps mysteriously stopped working
Re: Copying & pasting between X and Mac apps mysteriously stopped working
- Subject: Re: Copying & pasting between X and Mac apps mysteriously stopped working
- From: Dan Harkless <email@hidden>
- Date: Wed, 09 Sep 2009 20:50:58 -0700
On September 9, 2009, Vernon Williams <email@hidden> wrote:
>
> On obvious thing to do is to look in the X11 preferences,
> under Pasteboard. Make sure Enable syncing is turned on,
> as well as Update Pasteboard when CLIPBOARD changes,
> and Update CLIPBOARD when Pasteboard changes.
> Maybe they got turned off somehow or other.
Hi, Vernon. In the version of X11 on my up-to-date OS X 10.5.8 system,
"XQuartz 2.1.6 (xorg-server 1.4.2-apple33)", I see no preferences in the X11
Preferences dialog relating to the Pasteboard. All I have are three
checkboxes under the Input tab, a dropdown and two checkboxes under Output,
and two checkboxes under Security. Where are you seeing Pasteboard
preferences?
However, you did point me in the right direction! Thinking that maybe my
X11 preferences file had become corrupt somehow, I deleted
~/Library/Preferences/org.x.X11.plist, and sure enough, after restarting
X11, copy & paste between X and Aqua was working again!
However, as soon as I changed the default preferences to match my desires
(turned on "Emulate three button mouse", turned off "Enable key equivalents
under X11", and turned on "Use system alert effect" even though that setting
seems to have no, uh, effect in current versions -- a post I found said it
hasn't been implemented yet), copying & pasting stopped working again.
I hadn't messed around with .plist file editing before, but opening it in
the Property List Editor, I found that all these settings were set to No:
sync_clipboard_to_pasteboard
sync_pasteboard
sync_pasteboard_to_clipboard
sync_pasteboard_to_primary
sync_primary_on_select
When you first open the .plist file after deleting it and having X11.app
recreate it, it only has (IIRC) 6 key/value pairs, whereas after you make
settings, it has 21, and the above listed variables now all default to No
rather than Yes as they apparently used to.
The good news is that if I set all those to Yes, as long as I don't mess
with the X11 Preferences dialog, the settings stick and copy & paste stays
working! That sync_primary_on_select setting even saves me from having to
go up to the menu bar and manually select Edit... Copy every time I need to
copy text (which was necessary since I leave "Enable key equivalents under
X11" off so as not to interfere with my meta-key combinations). Awesome!
Thanks very much for the pointer in the right direction. Does anyone know
what the best way is to report the bug where X11.app is now defaulting all
the sync_* settings to No?
--
Dan Harkless
http://harkless.org/dan/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden