I moved from gnome-terminal to urxvt. I am used to having a right-click menu in gnome-terminal. Do such menus exist in urxvt?
3 Answers
i don't know gnome-terminal menus, but urxvt have the ctrl+right click. You may need to select some text and AFAIK, those menu entries can be configured
If you are looking for copy&paste, there aren't any, but you can copy&paste using the X11 way, by selecting the text (and keep it selected) and paste with middle click. You can also use ctrl+delete and shift+insert if you prefer using the keys for the copy&paste.
Notice that linux have 2 (or even 3) clipboards, depending of the copy&paste method used, so to make your life easier, i recommend a clipboad manager that can sync then. I use Parcellite, but you have many more: https://wiki.archlinux.org/index.php/Clipboard#Managers
- 560
For Copy / Paste using right click in rxvt
Edit file /usr/lib/x86_64-linux-gnu/urxvt/perl/selection-popup
(where is it? use: find /usr -name selection-popup )
Search for this sub code and change lines:
sub on_button_press {
my ($self, $event) = @_;
if ($event->{button} == 3 ) {
my $popup = $self->popup ($event)
or return 1;
$self->selection_request (urxvt::CurrentTime, 1);
return 1;
$popup->add_title ("Selection");
my $text = $self->selection;
...
Don't forget to enable the perl extension,
edit file ~/.Xdefaults, and add:
URxvt.perl-ext-common: selection-popup
enjoy... VLDSoft
- 1