[LINUX] How to share OS and Vim clipboard on Ubuntu 18.04.3 LTS

I'm a gorilla.

I put Ubuntu in my recently bought ThinkPad so that I can use my long-sought Linux machine. I had a hard time getting Vim's clipboard registers available, so I'll leave them as a note. I hope it helps those who are having trouble with the same thing.

Conclusion

When building Vim on Ubuntu, you need to install libxmu-dev and then the --with-x option.

#Required library
sudo apt install libxmu-dev

#Build
./configure --with-x --enable-multibyte --enable-fail-if-missing && make && sudo make install

#After building properly`+clipboard`Confirm that it is
$ vim --version | grep clip
+clipboard         +keymap            +postscript        +vartabs
+eval              -mouse_jsbterm     -sun_workshop      +xterm_clipboard

Recommended Posts

How to share OS and Vim clipboard on Ubuntu 18.04.3 LTS
How to run MeCab on Ubuntu 18.04 LTS Python
How to integrate Apache httpd 2.4 and Tomcat 9 on Cent OS 8
How to install Go on Ubuntu
How to build a Python environment using Virtualenv on Ubuntu 18.04 LTS
How to use OpenVPN with Ubuntu 18.04.3 LTS
How to install php7.4 on Linux (Ubuntu)
Install pyenv and Python 3.6.8 on Ubuntu 18.04 LTS
[Latest] How to build Java environment on Ubuntu
How to update security on Ubuntu 19.10 Eoan Ermine
How to build Java environment on Ubuntu (Linux)
How to install Git GUI and Gitk on CentOS
How to install caffe on OS X with macports
How to share folders with Docker and Windows with tensorflow
I want to use OpenJDK 11 on Ubuntu Linux 18.04 LTS / 18.10
How to create a Python 3.6.0 environment by putting pyenv on Amazon Linux and Ubuntu
Memo A beginner tried to build a Java environment and Japaneseize it on Ubuntu 18.04.2 LTS.
How to use Fujifilm X-T3 as a webcam on Ubuntu 20.04
How to build a new python virtual environment on Ubuntu
When I tried to build a Rails environment on WSL2 (Ubuntu 20.04LTS), I stumbled and fell.
USB Wifi on Ubuntu 20.04LTS
How to register on pypi
Stumble when trying to share clipboard between VirtualBox and Mac
How to install Theano on Mac OS X with homebrew
[ROS] How to write Publisher and Subscriber on one node
How to install OpenCV on Cloud9 and run it in Python
Install Ubuntu 18.04 on MacBook Pro Touchbar model and connect to WIFI
How to run Jupyter and Spark on Mac with minimal settings
How to install pandas on EC2 (How to deal with MemoryError and PermissionError)
How to display PDF resolution and detailed information on Linux (pdfinfo)
How to block ads for free on iPhone and iPad apps
How to install Theano on Mac OS X 10.10 (using pyenv, anaconda)
Install Python 3.8 on Ubuntu 18.04 (OS standard)
Python 3.4 pyvenv fails on Ubuntu 14.04 LTS
Python 3.6 on Windows ... and to Xamarin.
Easy copy to clipboard on Linux
Install Mecab and mecab-python3 on Ubuntu 14.04
How to install mysql-connector-python on mac
How to use Dataiku on Windows
Install Python 3.8 on Ubuntu 20.04 (OS standard)
Notes on how to use pywinauto
How to install graph-tool on macOS
How to install VMware-Tools on Linux
How to install pycrypto on Windows
How to deploy django-compressor on Windows
Notes on how to use featuretools
How to install OpenCV on Mac
How to run matplotlib on heroku
How to install MBDyn (Linux Ubuntu)
How to install PyPy on CentOS
How to use homebrew on Debian
Misunderstanding on how to connect cnn
How to install TensorFlow on CentOS 7
How to install and configure blackbird
How to use .bash_profile and .bashrc
How to install CUDA and nvidia-driver
How to install and use Graphviz
How to change vim color scheme
Install fabric on Ubuntu and try
Install Python 3.9 on Ubuntu 20.04 (OS standard?)
How to check Linux OS version