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

Comments on Where did xterm's ctrl-middle-mouse-button menu go?

Parent

Where did xterm's ctrl-middle-mouse-button menu go?

+1
−0

I'm using xterm version 395-1, on Arch Linux, with i3 window manager. I like xterm because it's fast, and I can configure things like "what characters are in a word when you double click on a word", "triple-click goes from work to end-of-line". I probably won't abandon xterm any time soon. However!

Sometime in the last year or so, the ctrl-middle-mouse-button menu quit showing up. I'm not entirely certain when it quit showing up, but I miss it. Important things like "reset" and "dump all history" were on that menu, and do not appear in ctrl-left-mouse-button or ctrl-right-mouse-button menus.

How do I get this menu back?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

Post
+1
−0

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.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

1 comment thread

Thanks! That got me the menu, in the upper left corner of the screen, not under the mouse pointer as ... (1 comment)
Thanks! That got me the menu, in the upper left corner of the screen, not under the mouse pointer as ...
bediger4000‭ wrote about 9 hours ago

Thanks! That got me the menu, in the upper left corner of the screen, not under the mouse pointer as ctrl-left-click and ctrl-right-click work. Now that I've got a starting point, I'll see what I can find out.