Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

60%
+1 −0
Q&A Where did xterm's ctrl-middle-mouse-button menu go?

To map it to Ctrl+Backspace you can add XTerm*vt100.translations: #override\ Ctrl ~Meta ~Shift <Key> BackSpace :popup-menu(vtMenu) to your Xresources file and reload the X resource ...

posted 6d ago by Quasímodo‭

Answer
#1: Initial revision by user avatar Quasímodo‭ · 2024-11-28T23:08:06Z (6 days ago)
To map it to Ctrl+Backspace you can add

```
XTerm*vt100.translations: #override\
    Ctrl ~Meta ~Shift <Key> BackSpace  :popup-menu(vtMenu)
```

to your Xresources file and reload the X resource database:

    xrdb $HOME/.Xresources

The name of the file does not matter. You can find the a X keysym (BackSpace in my example) by running `xev` and then pressing the desired key.

On my side the menu does not go away until something in it is clicked though. Couldn't find a fix for that (tried using KeyPress for the action and mapping KeyRelease to redraw() or other functions to no avail).

----

No idea what happened there, I too remember using that menu on Ctrl+Button2. I do see for a glimpse the menu box being mapped with that shortcut, but that's all.

You can see in `man xterm` that the translation (i.e. keyboard shortcut) is still there:

    !Ctrl <Btn2Down>:popup-menu(vtMenu) \n\

I'd file a bug report. Let us know if you do.