Ubuntu Gutsy Emacs Copy Paste



This is my OLD blog. I've copied this post over to my NEW blog at:

http://www.saltycrane.com/blog/2007/11/ubuntu-gutsy-emacs-copy-paste/

You should be redirected in 2 seconds.



I have Ubuntu 7.10 Gutsy Gibson (Gnome) and installed the emacs22 package. Copy and paste did not work from Emacs to the Firefox search box and from the Firefox location box to Emacs. I did get it working after a little Google searching. But it made me think back to Tim Bray's comments in Back to the Mac regarding the importance of a simple thing like copy and paste.

Here is the fix, which worked like a charm. I got this from the Ubuntu forums. Put the following two lines in your .emacs file.

(setq x-select-enable-clipboard t)
(setq interprogram-paste-function 'x-cut-buffer-or-selection-value)

No comments:

About

This is my *OLD* blog. I've copied all of my posts and comments over to my NEW blog at:

http://www.saltycrane.com/blog/.

Please go there for my updated posts. I will leave this blog up for a short time, but eventually plan to delete it. Thanks for reading.