paulgorman.org

< ^ txt

Wed Feb 3 07:31:03 EST 2016 Slept from nine-thirty to seven. Woke once in the night, around four, for no particular reason. I feel pretty rested. High of fifty-two. Falling temperatures. Chance of rain after one o'clock. Goals: Work: - Work on thin client build. Get x11vnc to reliably start at boot. - Review invoices Done. - Order phones for Central Done. - Check on MS Office order Done. No news. I emailed our CDW rep. Forty minute walk at lunch. Warm and windy. Partly cloudy (dark and story looking clouds) but no rain yet. The sun peeked out form time to time. 99.9% of the snow has melted. Even the big, dirty plow piles of snow are reduced to almost nothing, creating melt rivers. I saw a deer at the north end of Duffy. They really camouflage in bare trees and brown leaves. Hmph. Toyota is killing the Scion brand. Stayed late at work to do some database maintenance. Home: - Get basic nginx/php web serving working on DO vm nginx is working in a jail, and haproxy is forwarding to it. I created a second jail. Both sites are working. And php works. Nice. - Laundry Done. Questions: - Is it possible to map keys distinctly for multiple keyboards hooked up the same machine? Possibly. % ls -l /dev/input/by-id/ See the -device flag in setxkbmap(1). However, that still doesn't let us do application-level mapping.... Maybe I just need to think about mapping the Windows key to Hyper. % xmodmap -pm xmodmap: up to 4 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock control Control_L (0x25), Control_L (0x42), Control_R (0x69) mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf) mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb) % setxkbmap -query -verbose Trying to build keymap using the following components: keycodes: evdev+aliases(qwerty) types: complete compat: complete symbols: pc+us+inet(evdev)+ctrl(nocaps) geometry: pc(pc105) rules: evdev model: pc105 layout: us options: ctrl:nocaps % less /usr/share/X11/xkb/rules/evdev.lst Hmm. Not sure I can do much with the built-in evdev options. It looks like Win already sends both Super and Hyper, mapped to Mod4. On the other hand, I'm not sure why I'm mapping tmux windows to M-F* when I could just use the unmodified function keys.... vim binding conflict?

< ^ txt