I try to copy and paste in xterm.

This is generally a solved question as explained here but on my laptop (ASUS x551ma) I have problems.

I highlight a text which assume copies it to the clipboard.

The paste is problematic.

There are two ways to make paste:

  • middle button

  • shift + insert

I have a mouse with just 2 buttons and pressing them simultaneously does not work.

The only insert button I see is the one on the number zero.

When I press shift + insert I write 0.

How can I paste?

up vote 1 down vote accepted

According to this image, you should have an insert key if you use fn and del. Alternatively, you should be able to use 0 as insert if you disable num lock.

However, you should be able to get middle click emulation working, I am surprised it doesn't out of the box. The traditional way is to add this line to your /etc/X11/xorg.conf:

Section "InputClass"
    Identifier "whatever"
    MatchIsPointer "on"
    Option "Emulate3Buttons" "on"
EndSection  

But you can also do it graphically by installing gpointing-device-settings as explained here. In fact, that post gives various ways of achieving this.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.