Skip to main content
11 events
when toggle format what by license comment
Nov 17, 2021 at 17:52 comment added nass @Gilles'SO-stopbeingevil' OIC. I am afraid I still cannot get the above to work: 1) appended the above in .Xresources . 2) xrdb -load ~/.Xresources 3) add set prefix M-F12 in ~/.tmux.conf 4) start tmux. Pressing "Super_L" then still does not act as the default prefix combination (="C-b"). What step am I missing ?
Nov 17, 2021 at 15:50 comment added Gilles 'SO- stop being evil' @nass That's not possible. You can only map a keycode to a keysym, with the possibility of changing which keysym each keycode maps to based on modifiers. You can't change which modifiers are considered pressed.
Nov 17, 2021 at 14:51 comment added nass @Gilles'SO-stopbeingevil' what you suggest: i.e. use an xmodmap to do the same that you describe that I could do in .Xresources. that is, send a "M-F12" when I press "Super_L".
Nov 17, 2021 at 12:02 comment added Gilles 'SO- stop being evil' @nass I don't understand what you're asking. What do you want to do?
Nov 17, 2021 at 11:42 comment added nass @Gilles'SO-stopbeingevil' so how would one program this on the terminal emulator side without "hard-coding" it in .Xresources ? xmodmap -e "keysym Super_L = Meta+F12 does not work and substituting for ..... = string("\033\033[24~") does not work either. Can you tell I have a hard time understanding the invisible-island.net/xterm/xterm.faq.html documentation ??? :)
Jan 12, 2012 at 13:01 comment added balu Just tried this on a Mac and I might save others some time. Looks like iTerm2 does not support sending F13-F20. See code.google.com/p/iterm2/issues/detail?id=1630
Dec 31, 2011 at 9:41 history edited xenoterracide CC BY-SA 3.0
spelling correction
Sep 13, 2010 at 22:12 vote accept xenoterracide
Sep 11, 2010 at 21:04 comment added Gilles 'SO- stop being evil' @xenoterracide: either I don't understand your question or you don't understand my answer. Super_L is an X keysym, so you presumably have an X server somewhere (if you were logging in from Windows, I suppose you'd call the key the left Windows key). Tmux runs in a terminal, and reads its input as bytes, with function keys translated into escape sequences. A remote login is transparent, ssh just transmits the bytes that make up the escape sequence.
Sep 11, 2010 at 19:30 comment added xenoterracide would this only work in X then? e.g. if I shelled into my system remotely without X forwarding it wouldn't work.
Sep 6, 2010 at 21:13 history answered Gilles 'SO- stop being evil' CC BY-SA 2.5