Path: csiph.com!xmission!news.alt.net!not-for-mail From: owl Newsgroups: comp.os.linux.advocacy Subject: Re: Logitech 3 button mouse Date: Mon, 1 May 2017 01:01:07 +0000 (UTC) Organization: O.W.L. Lines: 35 Message-ID: References: NNTP-Posting-Host: boom.rooftop.invalid X-Face: $BHf)vM$6p_?9L`jmOQ54JeNyL+%MZGGRfH8&grb[Y%-jU`MCPAQN=/SVDa{(/67bP(YB}rjV^h>cUh User-Agent: tin/2.2.1-20140504 ("Tober an Righ") (UNIX) (Linux/3.16.0-4-amd64 (x86_64)) Xref: csiph.com comp.os.linux.advocacy:412278 F. Russell wrote: > On Sun, 30 Apr 2017 19:55:26 +0000, owl wrote: > >> >> Map F3 to mouse button 1: >> >> xmodmap -e "keycode 69 = Pointer_Button1" >> > > You would pick F3, which is a key I frequently use for > other purposes. > > I'll just use F1. > Map F5-F10 to shifted 5-10 for this stuff: x*y^(1/5)+a*(b+y)+c%d anon@lowtide:~$ cat mathmap #!/bin/bash xmodmap -e 'keycode 71 = percent' xmodmap -e 'keycode 72 = asciicircum' xmodmap -e 'keycode 73 = ampersand' xmodmap -e 'keycode 74 = asterisk' xmodmap -e 'keycode 75 = parenleft' xmodmap -e 'keycode 76 = parenright' anon@lowtide:~$ Return to normal: anon@lowtide:~$ cat mathunmap #!/bin/bash setxkbmap -layout us anon@lowtide:~$