title: Ubuntu 16.04 LTS - Can't enable xterm_clipboard in VIM
body: <p>I use VIM a lot, and have previously been able to get <code>+xterm_clipboard</code> <a href="https://stackoverflow.com/questions/10101488/cut-to-the-system-clipboard-from-vim-on-ubuntu">support working by using a script provided in a separate post on StackOverflow.</a> I've re-installed Ubuntu on my machine, and have since migrated from Ubuntu 14.04.4 LTS (Wily) to Ubuntu 16.04 LTS (Xenial).</p>
  
  <pre><code># Get the compile-dependencies of vim
  sudo apt-get build-dep vim
  # If you haven't got mercurial, get it
  sudo apt-get install mercurial
  # Get the source
  hg clone https://vim.googlecode.com/hg/ vim_source
  # Compile it
  cd vim_source
  ./configure \
      --enable-perlinterp=dynamic \
      --enable-pythoninterp=dynamic \
      --enable-rubyinterp=dynamic \
      --enable-cscope \
      --enable-gui=auto \
      --enable-gtk2-check \
      --enable-gnome-check \
      --with-features=huge \
      --with-x \
      --with-compiledby="Your Name &lt;youremail@domain.com&gt;" \
      --with-python-config-dir=/usr/lib/python2.7/config
  make &amp;&amp; sudo make install
  </code></pre>
  
  <p>However, this no longer works, and I can't make use of <kbd>"</kbd>,<kbd>+</kbd>,<kbd>y</kbd> to yank buffers to the system clipboard. I don't see anything obvious in the <code>.configure</code> output, but <code>vim --version</code> always shows <code>-xterm_clipboard</code> when I build it. How do I fix this?</p>