Extra keyboard key without X

I followed this guide to configure the key: https://wiki.archlinux.org/index.php/Ex … in_Console
Everything works so far, however, i have two issues with this approach:
1. If i press the key too long, the command gets executed more then once.
Maybe i can run the command with the key release event, instead of the key press event?
2. I need to have a virtual terminal available to execute the command. If there is another
program running, the command string gets sent to this program instead of being executed.
Any ideas?

MickeyKnox wrote:Can i use the X mechanics without having X running?
Um ... by definition: No.
MickeyKnox wrote:The key is the power button of an iMac keyboard. I use it to turn on the monitor via HDMI / CEC.
This should be handled by systemd/logind unless you've disabled it.  Macs are sometimes a bit odd though - there are AUR packages (IIRC) for ensuring these buttons are recognized.  (EDIT: oops, nevermind this part - logind should handle the power button to power off - I don't know if you can customize this action.)
But on X being to slow ... to slow for what?  How were you running it?  Running no WM with just a fullscreen terminal (e.g. urxvt) should not use many resources beyond just using a tty.  Plus then you can get 256 colors and easily customizable bindings ... and you can view images/pdfs as needed without having to use special framebuffer tools.
Last edited by Trilby (2014-05-11 12:56:27)

Similar Messages

  • Extra keyboard keys not detected

    How do I get them working?
    I read Extra Keyboard Keys and tried:
    # showkey --scancodes
    but that doesn't produce any (for those extra keys) output either.
    I had them working a while ago, except .. that was Windows (XP).
    $ lspci
    00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
    00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
    00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 03)
    00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
    00:1d.0 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
    00:1d.1 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
    00:1d.2 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
    00:1d.3 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
    00:1d.7 USB controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
    00:1e.2 Multimedia audio controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller (rev 04)
    00:1e.3 Modem: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller (rev 04)
    00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
    00:1f.2 IDE interface: Intel Corporation 82801FBM (ICH6M) SATA Controller (rev 04)
    00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
    06:05.0 Network controller: Intel Corporation PRO/Wireless 2200BG [Calexico2] Network Connection (rev 05)
    06:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
    06:09.0 CardBus bridge: Texas Instruments PCIxx21/x515 Cardbus Controller
    06:09.2 FireWire (IEEE 1394): Texas Instruments OHCI Compliant IEEE 1394 Host Controller
    06:09.3 Mass storage controller: Texas Instruments PCIxx21 Integrated FlashMedia Controller
    06:09.4 SD Host controller: Texas Instruments PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
    # lshw
    arch
    description: Notebook
    product: E2V
    version: N/A
    serial: 96NEV01J015040500BK000
    width: 32 bits
    capabilities: smbios-2.31 dmi-2.31
    configuration: boot=normal chassis=notebook uuid=0CF80EA0-706A-11D9-B90B-AFBC3B6A4702
    *-core
    description: Motherboard
    product: E2V
    physical id: 0
    serial: None
    *-firmware
    description: BIOS
    vendor: Phoenix Technologies LTD
    physical id: 0
    version: R01-A2P
    date: 11/29/2004
    size: 103KiB
    capacity: 448KiB
    capabilities: isa pci pcmcia pnp apm upgrade shadowing escd cdboot acpi usb agp biosbootspecification
    *-cpu:0
    description: CPU
    product: Intel(R) Pentium(R) M processor 1.73GHz
    vendor: Intel Corp.
    physical id: 4
    bus info: cpu@0
    version: 6.13.8
    slot: U1
    size: 800MHz
    capacity: 2400MHz
    width: 32 bits
    clock: 533MHz
    capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe bts est tm2 cpufreq
    *-cache:0
    description: L1 cache
    physical id: 8
    slot: L1 Cache
    size: 32KiB
    capacity: 32KiB
    capabilities: asynchronous internal write-back
    *-cache:1
    description: L2 cache
    physical id: 9
    slot: L2 Cache
    size: 2MiB
    capabilities: burst internal write-back unified
    *-memory
    description: System Memory
    physical id: 14
    slot: System board or motherboard
    size: 512MiB
    capacity: 3GiB
    *-bank:0
    description: DIMM DDR Synchronous
    physical id: 0
    slot: M1
    size: 512MiB
    width: 64 bits
    *-bank:1
    description: DIMM DDR Synchronous [empty]
    physical id: 1
    slot: M2
    *-cpu:1 DISABLED
    description: CPU
    physical id: 1
    bus info: cpu@0
    *-cpu:2 DISABLED
    description: CPU
    physical id: 2
    bus info: cpu@1
    version: 6.13.8
    size: 100MHz
    *-cpu:3 DISABLED
    description: CPU
    physical id: 3
    bus info: cpu@2
    version: 6.13.8
    *-cpu:4 DISABLED
    description: CPU
    physical id: 5
    bus info: cpu@3
    version: 6.13.8
    *-cpu:5 DISABLED
    description: CPU
    physical id: 6
    bus info: cpu@4
    version: 6.13.8
    *-cpu:6 DISABLED
    description: CPU
    physical id: 7
    bus info: cpu@5
    version: 6.13.8
    size: 100MHz
    *-cpu:7 DISABLED
    description: CPU
    physical id: 8
    bus info: cpu@6
    version: 6.13.8
    size: 50MHz
    *-pci
    description: Host bridge
    product: Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller
    vendor: Intel Corporation
    physical id: 100
    bus info: pci@0000:00:00.0
    version: 03
    width: 32 bits
    clock: 33MHz
    configuration: driver=agpgart-intel
    resources: irq:0
    *-display:0
    description: VGA compatible controller
    product: Mobile 915GM/GMS/910GML Express Graphics Controller
    vendor: Intel Corporation
    physical id: 2
    bus info: pci@0000:00:02.0
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pm vga_controller bus_master cap_list rom
    configuration: driver=i915 latency=0
    resources: irq:16 memory:b0080000-b00fffff ioport:1800(size=8) memory:c0000000-cfffffff memory:b0000000-b003ffff
    *-display:1 UNCLAIMED
    description: Display controller
    product: Mobile 915GM/GMS/910GML Express Graphics Controller
    vendor: Intel Corporation
    physical id: 2.1
    bus info: pci@0000:00:02.1
    version: 03
    width: 32 bits
    clock: 33MHz
    capabilities: pm cap_list
    configuration: latency=0
    resources: memory:24400000-2447ffff
    *-pci:0
    description: PCI bridge
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1
    vendor: Intel Corporation
    physical id: 1c
    bus info: pci@0000:00:1c.0
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: pci pciexpress msi pm normal_decode bus_master cap_list
    configuration: driver=pcieport
    resources: irq:40 ioport:4000(size=4096) memory:24000000-241fffff ioport:24200000(size=2097152)
    *-usb:0
    description: USB controller
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1
    vendor: Intel Corporation
    physical id: 1d
    bus info: pci@0000:00:1d.0
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:23 ioport:1820(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.11.6-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@1
    logical name: usb1
    version: 3.11
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:1
    description: USB controller
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2
    vendor: Intel Corporation
    physical id: 1d.1
    bus info: pci@0000:00:1d.1
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:17 ioport:1840(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.11.6-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@3
    logical name: usb3
    version: 3.11
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb
    description: Keyboard
    product: 2.4G Mouse
    vendor: 2.4G KB
    physical id: 1
    bus info: usb@3:1
    version: 11.10
    capabilities: usb-2.00
    configuration: driver=usbhid maxpower=100mA speed=2Mbit/s
    *-usb:2
    description: USB controller
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3
    vendor: Intel Corporation
    physical id: 1d.2
    bus info: pci@0000:00:1d.2
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:18 ioport:1860(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.11.6-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@4
    logical name: usb4
    version: 3.11
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:3
    description: USB controller
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4
    vendor: Intel Corporation
    physical id: 1d.3
    bus info: pci@0000:00:1d.3
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: uhci bus_master
    configuration: driver=uhci_hcd latency=0
    resources: irq:19 ioport:1880(size=32)
    *-usbhost
    product: UHCI Host Controller
    vendor: Linux 3.11.6-1-ARCH uhci_hcd
    physical id: 1
    bus info: usb@5
    logical name: usb5
    version: 3.11
    capabilities: usb-1.10
    configuration: driver=hub slots=2 speed=12Mbit/s
    *-usb:4
    description: USB controller
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller
    vendor: Intel Corporation
    physical id: 1d.7
    bus info: pci@0000:00:1d.7
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: pm debug ehci bus_master cap_list
    configuration: driver=ehci-pci latency=0
    resources: irq:23 memory:b0040000-b00403ff
    *-usbhost
    product: EHCI Host Controller
    vendor: Linux 3.11.6-1-ARCH ehci_hcd
    physical id: 1
    bus info: usb@2
    logical name: usb2
    version: 3.11
    capabilities: usb-2.00
    configuration: driver=hub slots=8 speed=480Mbit/s
    *-pci:1
    description: PCI bridge
    product: 82801 Mobile PCI Bridge
    vendor: Intel Corporation
    physical id: 1e
    bus info: pci@0000:00:1e.0
    version: d4
    width: 32 bits
    clock: 33MHz
    capabilities: pci subtractive_decode bus_master cap_list
    resources: ioport:3000(size=4096) memory:b0100000-b01fffff ioport:20000000(size=67108864)
    *-network:0
    description: Wireless interface
    product: PRO/Wireless 2200BG [Calexico2] Network Connection
    vendor: Intel Corporation
    physical id: 5
    bus info: pci@0000:06:05.0
    logical name: wlp6s5
    version: 05
    serial: 00:15:00:31:55:bd
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list ethernet physical wireless
    configuration: broadcast=yes driver=ipw2200 driverversion=1.2.2kmprq firmware=ABG:9.0.5.27 (Dec 12 2007) ip=192.168.0.103 latency=32 link=yes maxlatency=24 mingnt=3 multicast=yes wireless=IEEE 802.11bg
    resources: irq:20 memory:b0106000-b0106fff
    *-network:1
    description: Ethernet interface
    product: RTL-8139/8139C/8139C+
    vendor: Realtek Semiconductor Co., Ltd.
    physical id: 7
    bus info: pci@0000:06:07.0
    logical name: enp6s7
    version: 10
    serial: 00:0a:e4:a2:5c:c7
    size: 10Mbit/s
    capacity: 100Mbit/s
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
    configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half latency=32 link=no maxlatency=64 mingnt=32 multicast=yes port=MII speed=10Mbit/s
    resources: irq:20 ioport:3000(size=256) memory:b0107000-b01070ff
    *-pcmcia
    description: CardBus bridge
    product: PCIxx21/x515 Cardbus Controller
    vendor: Texas Instruments
    physical id: 9
    bus info: pci@0000:06:09.0
    version: 00
    width: 32 bits
    clock: 33MHz
    capabilities: pcmcia bus_master cap_list
    configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=192
    resources: irq:22 memory:28000000-28000fff ioport:3400(size=256) ioport:3800(size=256) memory:20000000-23ffffff memory:2c000000-2fffffff
    *-firewire
    description: FireWire (IEEE 1394)
    product: OHCI Compliant IEEE 1394 Host Controller
    vendor: Texas Instruments
    physical id: 9.2
    bus info: pci@0000:06:09.2
    version: 00
    width: 32 bits
    clock: 33MHz
    capabilities: pm ohci bus_master cap_list
    configuration: driver=firewire_ohci latency=32 maxlatency=4 mingnt=2
    resources: irq:22 memory:b0107800-b0107fff memory:b0100000-b0103fff
    *-storage
    description: Mass storage controller
    product: PCIxx21 Integrated FlashMedia Controller
    vendor: Texas Instruments
    physical id: 9.3
    bus info: pci@0000:06:09.3
    version: 00
    width: 32 bits
    clock: 33MHz
    capabilities: storage pm bus_master cap_list
    configuration: driver=tifm_7xx1 latency=57 maxlatency=4 mingnt=7
    resources: irq:22 memory:b0104000-b0105fff
    *-generic
    description: SD Host controller
    product: PCI6411/6421/6611/6621/7411/7421/7611/7621 Secure Digital Controller
    vendor: Texas Instruments
    physical id: 9.4
    bus info: pci@0000:06:09.4
    version: 00
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: driver=sdhci-pci latency=57 maxlatency=4 mingnt=7
    resources: irq:22 memory:b0108400-b01084ff memory:b0108000-b01080ff memory:b0107400-b01074ff
    *-multimedia
    description: Multimedia audio controller
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Audio Controller
    vendor: Intel Corporation
    physical id: 1e.2
    bus info: pci@0000:00:1e.2
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: pm bus_master cap_list
    configuration: driver=snd_intel8x0 latency=0
    resources: irq:21 ioport:1c00(size=256) ioport:18c0(size=64) memory:b0040800-b00409ff memory:b0040400-b00404ff
    *-communication
    description: Modem
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) AC'97 Modem Controller
    vendor: Intel Corporation
    physical id: 1e.3
    bus info: pci@0000:00:1e.3
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: pm generic bus_master cap_list
    configuration: driver=snd_intel8x0m latency=0
    resources: irq:21 ioport:2400(size=256) ioport:2000(size=128)
    *-isa
    description: ISA bridge
    product: 82801FBM (ICH6M) LPC Interface Bridge
    vendor: Intel Corporation
    physical id: 1f
    bus info: pci@0000:00:1f.0
    version: 04
    width: 32 bits
    clock: 33MHz
    capabilities: isa bus_master
    configuration: driver=lpc_ich latency=0
    resources: irq:0
    *-ide
    description: IDE interface
    product: 82801FBM (ICH6M) SATA Controller
    vendor: Intel Corporation
    physical id: 1f.2
    bus info: pci@0000:00:1f.2
    version: 04
    width: 32 bits
    clock: 66MHz
    capabilities: ide pm bus_master cap_list
    configuration: driver=ata_piix latency=0
    resources: irq:17 ioport:1f0(size=8) ioport:3f6 ioport:170(size=8) ioport:376 ioport:18b0(size=16)
    *-serial UNCLAIMED
    description: SMBus
    product: 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller
    vendor: Intel Corporation
    physical id: 1f.3
    bus info: pci@0000:00:1f.3
    version: 04
    width: 32 bits
    clock: 33MHz
    configuration: latency=0
    resources: ioport:20a0(size=32)
    Last edited by GERUM (2013-10-21 19:29:42)

    GERUM wrote:
    I read Extra Keyboard Keys and tried:
    # showkey --scancodes
    but that doesn't produce any (for those extra keys) output either.
    Wiki page you linked to wrote:Keys without a scancode are not recognized by the kernel.

  • Bluetooth keyboard: keys without scan codes

    Hi,
    I've bought a HP Touchpad Bluetooth keyboard and it works brilliantly, even some of the special keys on the top row, such as volume up/down, play/pause and home, work out of the box. However, three others in that row don't even seem to produce scan codes, at least showkey -s doesn't show any.
    My question: I;m sure that the HP Touchpad uses them, so they must produce some kind of signal. Is there any way to find out which ones, and to catch them?
    Thanks for any help!

    .:B:. wrote:
    So acpi_listen does show results .
    You can use the acpi handler scripts to link an action to them.
    I think I wasn't clear. My setup is a notebook with a keyboard attached and an extra bluetooth wireless. Two of the three keys that show no results on the bluetooth keyboard have equivalent keys on the attached keyboard. When I press these keys on the bluetooth keyboard, acpi_listen shows nothing. When I press the equivalent keys on the attached keyboard, they work, as acpi_listen shows.
    Sorry for being unclear on that, and thanks for helping me so far!
    Any idea how I should find out more?

  • [SOLVED]Extra keyboard key to eject cd/dvd

    Hi,
    Every my extra key (what i needed) are working.
    Problem is only with ejecting CD.
    I have added to my openbox rc.xml file :
    <keybind key="XF86Eject">
    <action name="Execute">
    <execute>sudo eject -r /dev/sr0</execute>
    </action>
    </keybind>
    <keybind key="XF86AudioLowerVolume">
    <action name="Execute">
    <execute>amixer set Master 5- unmute</execute>
    </action>
    </keybind>
    <keybind key="XF86AudioRaiseVolume">
    <action name="Execute">
    <execute>amixer set Master 5+ unmute</execute>
    </action>
    </keybind>
    <keybind key="XF86AudioMute">
    <action name="Execute">
    <execute>amixer set Master toggle</execute>
    </action>
    </keybind>
    and only eject doesn't working.
    Everybody user can do "eject". So I dont know why key not working.
    Last edited by xorgx3 (2012-03-29 18:00:33)

    Did you configure sudo so that it doesn't ask for a password (for this particalur command)? If not, that's probably the problem. Anyway, I think users in group optical can use eject -- no need for sudo -- and maybe this is what you mean by 'Everybody user can do "eject".'.

  • Extra keyboards keys on Ideapad Flex 15

    Hi guys! I'm having a problem with the extra keys on the Ideapad Flex 15 laptop.
    The problem is with two keys, one is a Task Switcher (at least that was it function on default OS (Windows)) and Display switch (in other laptops it will be XF86Display).
    When I run xev, and press both key:
    Display switch key displays this:
    KeyPress event, serial 33, synthetic NO, window 0x1400001,
    root 0xab, subw 0x0, time 1804775, (452,36), root:(1142,309),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    FocusOut event, serial 33, synthetic NO, window 0x1400001,
    mode NotifyGrab, detail NotifyAncestor
    FocusOut event, serial 33, synthetic NO, window 0x1400001,
    mode NotifyUngrab, detail NotifyPointer
    FocusIn event, serial 33, synthetic NO, window 0x1400001,
    mode NotifyUngrab, detail NotifyAncestor
    KeymapNotify event, serial 33, synthetic NO, window 0x0,
    keys: 4294967211 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    32 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
    KeyRelease event, serial 33, synthetic NO, window 0x1400001,
    root 0xab, subw 0x0, time 1804805, (452,36), root:(1142,309),
    state 0x40, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 33, synthetic NO, window 0x1400001,
    root 0xab, subw 0x0, time 1805364, (452,36), root:(1142,309),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    Task switch displays this:
    KeyPress event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2050551, (352,-14), root:(1042,259),
    state 0x0, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2050556, (352,-14), root:(1042,259),
    state 0x4, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2050561, (352,-14), root:(1042,259),
    state 0xc, keycode 23 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) " "
    XmbLookupString gives 1 bytes: (09) " "
    XFilterEvent returns: False
    KeyRelease event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2050571, (352,-14), root:(1042,259),
    state 0xc, keycode 23 (keysym 0xff09, Tab), same_screen YES,
    XLookupString gives 1 bytes: (09) " "
    XFilterEvent returns: False
    KeyRelease event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2050581, (352,-14), root:(1042,259),
    state 0xc, keycode 64 (keysym 0xffe9, Alt_L), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyRelease event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2050596, (352,-14), root:(1042,259),
    state 0x4, keycode 105 (keysym 0xffe4, Control_R), same_screen YES,
    XLookupString gives 0 bytes:
    XFilterEvent returns: False
    KeyPress event, serial 33, synthetic NO, window 0x1600001,
    root 0xab, subw 0x0, time 2051729, (352,-14), root:(1042,259),
    state 0x0, keycode 133 (keysym 0xffeb, Super_L), same_screen YES,
    XLookupString gives 0 bytes:
    XmbLookupString gives 0 bytes:
    XFilterEvent returns: False
    Im really having a problem configuring this, I can't find the file that I need to edit.
    Anyways, thanks and so sorry for my poor english.
    Greetings from Argentina.

    I took this in to a shop, and two technicians tried to solve the problem to no avail. One of them did as suggested, and uninstalled the touchscreen driver under Mice and other devices, but that only disabled the mouse touchpad.  So it was reinstalled, and the driver for the touchscreen under Human Interface devices was reinstalled, but none of it helped, and I still lack the touchscreen capacity I had before.  I cannot scroll except on the side ribbon, and I cannot use the touchscreen to zoom in and out, which I could do on Windows 8 and 8.1.  So it seems there is no new Lenovo driver for the  IdeapadFlex 15 that is compatible with Windows 10.  I am told to wait and see, and to hope that Lenovo addresses this problem.  BTW, I previously had two Microsoft tech people remote control my computer to fix this, and they both failed.   I am disappointed with Microsoft and Lenovo.  Any computer that was bought within the last couple of years fitted with Windows 8 should upgrade no problem to Win 10. 

  • I'm confused with extra laptop keys

    When I go onto the Kubuntu live cd, the extra keyboard keys work flawlessly, even the email button launches KMail. I just don't know how they do it! At the moment I'm running KDE4 on Arch Linux..is there any way to transfer the settings?

    you need to write an .Xmodmap file in your home directory.
    mine looks like
    $ cat ~/.Xmodmap
    keycode 178 = XF86HomePage
    keycode 236 = XF86Mail
    keycode 234 = XF86Back
    keycode 233 = XF86Forward
    keycode 229 = XF86Search
    keycode 231 = XF86Refresh
    you fine your keycode by running xev and then pushing your function button, in the output there should be a keycode you then need to link it to a name listed in the /usr/share/X11/XKeysymDB file, this will link the key, the name can be any from that file. you can assign actions to your keys from the kcontrol center.
    X should automatically load the keycodes when it starts, you can also test them by running
    $ xmodmap ~/.Xmodmap
    Last edited by drewbie (2008-02-04 00:28:59)

  • [SOLVED] G602 Gaming mouse extra buttons detected as keyboard keys

    I have a Logitech G602 mouse with a bunch of extra buttons. I am familiar with xmodmap, xinput, xbindkeys, and easystroke.
    If I use xev to test for input events, my back/forward buttons work like most mice- I get values of button 8 and button 9. However, when I use the other extra mouse buttons, I get IDENTICAL values to pressing 1, 2, or 3 on the keyboard respectively.
    As an example, say I open a terminal. I can press these extra mouse buttons and it will "type" 1, 2 or 3 into the terminal just as if I had hit those numbers on my keyboard. If I hit shift, it will "type" !, @, and # just as if I had typed on the keyboard.
    If I change the keycodes, I lose function of my 1, 2, and 3 keys. If I use xbindkeys to bind a command to the extra mouse buttons, pressing 1, 2, and 3 on the keyboard will run those commands!
    The only thing I can think of is using a different keyboard layout, or that the mouse isnt supported at the kernel level (pressing extra mouse keys with X killed again "types" 1, 2, or 3) and I need to file a bug report somewhere. Where upstream do I file a bug report if this isnt fixable?
    Any ideas at all?
    Last edited by GSF1200S (2014-03-12 17:12:47)

    Perfect Gentleman wrote:I got Razer Naga 2014 Left-Hand. It has 12 buttons that are the same with 1-10 buttons of keyboard. You can only re-arrange 1-3 buttons or not, and that's all you can do.
    As I understood remapping of these buttons works fine only in Windows with its windows drivers and software.
    For those with or looking to buy a Logitech G602, the answer is unfortunately Windows for a fix I had figured beforehand that it was some kind of assignment issue as I didnt see it possible for 2 different devices to be assigned the same keysym, but thats apparently due to my lack of understanding how such codes are assigned.
    After reading the above response, I installed the Logitech software on a buddys windows computer and changed the (top 3) buttons to Shift, Alt, and Super- this allows me to use shift/alt/super + left/middle/right click for use within my wm (Openbox). This is a permanent change until you change it again, so at least you only need windows once.
    I had searched around to see if anyone had this mouse working with Linux, but couldnt find any mentions. I can now at least confirm for others all the buttons will work and will be detected if you reprogram the mouse from windows. You can even reassign the battery check G6 button (which I did) and the DPI settings buttons near the left click (I left those alone for gimp work).
    I tried Wine for the software without much hope, and indeed while the software installed fine, the program couldnt detect the mouse with it plugged in. It has been my experience that device detection in wine is a crapshoot at best. Anyways, problem solved..

  • Capture keyboard characters without hitting return key

    Is it possible to get a keyboard key typed character without requiring the user to enter the RETURN key?
    For example, the user press a key and the screen will echo the key pressed in console mode, not in GUI mode.

    Is it possible to get a keyboard key typed character
    without requiring the user to enter the RETURN key?The shell that's running in your console window will not give the kay strokes to the rpogram until the human hits enter/return. This is so the shell can do all the editing (EG backspace, etc).
    In unix you can put the console in 'raw' mode which lets every key stroke through. See the 'stty' command

  • IBook G4 "K" Keyboard Key dosen't work without using the "Shift" keyboard key.

    Some reason, now my iBook G4's "K" keyboard key won't work inless if i use the "Shift" keyboard key.
    Help!

    When you press it, what speaks and what does it say?
    Mine does not do that. Not on my portables nor desktop
    Macs. So I wonder what else may be happening.
    When did your iBook start doing this? Are there any
    other applications open that may have a keyboard
    shortcut? The System Preferences> keyboard> may
    show a few things that can be set, options. Also see
    if there isn't something set in Universal Access. A few
    of the preference settings in universal access can be
    engaged by just a few keys, and can be shut off there.
    {Check into Voice Over Utility, as there is a pile of stuff
    in there, which could allow sounds when keyboarding
    and capitals can activate. Only if it's been set.}
    And the Speech system preference panel can allow
    a key to be set for several functions. Mine do not
    have any assigned, and by default none should be.
    Good luck & happy computing!
    edited 2x

  • Why can't I get a replacement keyboard key from Apple?

    Rant version
    I was delivered a new 15 inch Macbook Pro with Retina screen with a broken 'V' key (literally, just the black plastic panel has a small broken clasp). I was unable to get a genius bar appointment anywhere within London Zone 1-2, Regent St, Stratford and Covent Garden all just tell me there are no appointments available. I called the Apple store in Stratford City to see if they could order a new 'V' key to the store so I could pick it up and click it on. They suggested I call Apple customer services as they wouldn't be able to help me unless I booked a Genius bar appointment, and obviously they had none. I was informed that I would have to send the entire machine away for at least 5 working days and then wait for a replacement to be shipped out. This is a total P.I.T.A as I have already started important projects on this machine.
    I managed to book a Genuis Bar appointment in Bromley (30 minutes drive from my house) and called to see if it would be possible for them to order the part in and fit it on the day, during my appointment. They said I would have to come in, just to show them the machine, and then they could order the part using my serial number. I asked why I couldn't just give them my serial number and come in when the part was delivered. They said that the telephone operator at the store could not make any sort of contact with the genius bar, regardless of the fact they are in the same building.
    I'd like to point out that everyone I have spoken to have been extremely nice, and understood my frustration, they just haven't been able to do anything that goes outside of their very limited protocol.I find it unacceptable that a company as powerful as Apple, are unable to post a keyboard key to a customer.
    As a computer enthusiast, this is the easiest and most simple problem I have ever had with a machine. It has also been the most common-sense defying process I have ever had the misfortune of being a part of. If it were up to me I would just pay the £3 for a replacement online, but Apple have changed the positions of the clasps from the unibody model by about a few microns, and I don't feel like waiting until someone decides to scrap a new RMBP.
    I don't mind if Apple don't want me to do the repair myself, that I may need to go through the enigmatic ritual of the genius bar to get this done (heaven forbid anyone but a Genius click the 'V' key on). I don't even mind if it takes a couple of weeks for the part to get there, I just want a replacement key, stuck on this laptop, without wiping the entire machine or sending it away for a week.
    Short version:
    If anyone knows where I can get a replacement 'v' key for the new 15inch Retina Macbook Pro then I'll love you forever.

    Yes it is sad but true I think. I EZprint to do my pano's and they turn out excellent. Give them a try.
    http://ezprints.com/Prints/panoramas/default.aspx
    Hope this helps.
    Tom
    desertdreamingphotography.com

  • How do I customize Firefox keyboard shortcuts without using an add-on?

    I want to modify shortcuts '''without using add-ons, extensions, or plug-ins'''. In other words, I would like to know how to modify a keyboard shortcut in a way that does '''not '''involve installing a plug-in, extension, or add-on. So, an answer that states that I should install this extension, or that plug-in is a useless answer and will be rated unhelpful as will indicate that you didn't read the question.
    Again: How do I modify a keyboard shortcut '''WITHOUT '''installing any add-ons? For example, how would I change the homepage shortcut from Alt+Home to something else, without installing any add-ons?

    I actually made this happen a few versions back, but I don't remember how I did it. I have looked through the about:config entries and can't find it. I looked through the ...xul keybindings and did not find it. I know it can (or recently could) be done, but I don't remember how.
    The problem with the existing shortcut is that on a laptop, the Home button is frequently sharing space with another key. It is a hassle to have to access Home and the alt key when accessing Home is itself an operation.
    The problem with add-ons is that I cannot, in a reasonably quick momentary glance, determine their safety now, nor in the future as they are updated. Since Mozilla does not certify add-ons as safe, I prefer to avoid them.
    Other programs don't present such difficulties with simple things like modifying shortcuts. It's pretty standard for that to be accessible from a Customize submenu in one of the main drop-downs.

  • ThinkPad Yoga - Keyboard key stucks - how to remove it correctly

    Hi everybody, 
    this is maybe a simple and stupid question but I won't do anything wrong.
    One of my keyboard keys does not work correctly, I think there is something under the key which is blocking because when I press the key I feel a stronger resistance than on the other keys. Sometimes I need to press the key 3 or 4 times before the letter is written - realy annoying
    Obviously I should remove the key and clean it or remove whatever is under the key. Since my ThinkPad Yoga is quite new I don't want to damage it or lose my warrenty through "learning by doing"...
    So can anybody tell me how to remove a key from the ThinkPad Yoga keyboard correctly and reassemble it correctly as well? -> without any damage
    Reagards,
    Ben

    Thanks for the link, but don't you think there is a possibility to remove a single key and not the whole keyboard?
    I found this video for "ThinkPad keyboards" - however, like you mentioned the lift and lock keyboard is probably a special case.
    Does anyone know if the method from the video works for the TP Yoga also?

  • Swap Option/Alt key for extra Control key?

    I use the control key far more then I ever use the Option/alt key.
    Is there any way (on either or both my MacBook Pro's keyboard, or my Slim Apple Blutooh keyboard that I can "change" the function of that option key to an extra control key? That way I can have one on both sides of the keyboard.
    I've looked and the only thing I can find is something that tuned it into an extra return/enter key. But thats not what I want....but it is close. So there has to be a way to do it.
    So any ideas?
    Thanks,
    Scott

    THANKS!
    That is exactly what I needed!
    I can't believe I never found that before!
    Its not as "light weight" or simple to use as I was hoping for, but I got it figured it out and now it is working great!
    Thanks again!
    -Scott

  • Process keyboard commands without prompting

    I am 5 weeks into my first Java course with no previous programming background. We are implementing John Conways game "LIFE" a 2D Cellular Automata. From the command line I read in 5 args, width, height, cell size, delay and a random seed value. I have the program accepting the args and drawing the displays. While the program is running the user should be able to type in commands such as quit, step which one steps the display etc. Everything I have done so far, tried or read such as System.in or .next or hasNext prompts the user for input. How do I read keyboard commands without prompting the user? Please don't laugh at my ignorance. Maybe at 48 years old I'm just too old to learn this stuff. Thanks much.

    I am 5 weeks into my first Java course with no
    previous programming background. We are implementing
    John Conways game "LIFE" a 2D Cellular Automata. From
    the command line I read in 5 args, width, height,
    cell size, delay and a random seed value. I have the
    program accepting the args and drawing the displays.
    While the program is running the user should be able
    to type in commands such as quit, step which one
    steps the display etc. Everything I have done so far,
    tried or read such as System.in or .next or hasNext
    prompts the user for input. How do I read keyboard
    commands without prompting the user? Look at the KeyListener interface. You need to know how to use Interfaces, and how to implement listeners for your swing components. With a KeyListener, you can detect when keys are typed. This is event driven. so you perform actions on the key being pressed and released. the keyTyped() method is probably what you will want to use. If you are planning on using single key commands (q == quit, s == step), this will be pretty easy to use. If you want the user to spell out the command, you may want to detect a key stroke, then open a text input field for the user to type the full command.
    Please don't
    laugh at my ignorance. Maybe at 48 years old I'm just
    too old to learn this stuff. Thanks much.Not.
    Good luck.
    � {�                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Only About Half of Keyboard Keys Actually Work

    Helping a neighbor.
    This is a Compaq Presario CQ-61, just out of warranty. Only about half of the keyboard keys, when pressed, display. Is there a fairly easy and reliable way to determine whether the keyboard itself has gone bad, or if it's a motherboard or other hardware issue? I don't want to recommend the purchase of a replacement keyboard, assuming HP even sells them, only to have it installed without solving the  problem.
    Will appreciate any help and advice.

    I'm sorry about the lack of detail
    I'm getting Medium Errors most of the time, but sometimes the burner outright rejects the blank CD.
    I have used a wide range of brands, but nothing seems to work. I've tried Nexxtech (obviously a bad choice), Maxell, Memorex, Verbatim, and Sony CDRs, and they all seem to fail at about the same rate (Nexxtechs were noticeably worse, though)

Maybe you are looking for

  • Charges with Tmobile if you port a number. I was misinformed.

      I was not informed by Verizon that when I opened this account that I would be charged a whole billing cycle with my prior cell provider which was Tmobile. In fact the people at Verizon where I purchased the plan told me I did not need to do anythin

  • HTTP 500 Internal Server Error on ACS 4.2

    Hello all. Has anyone encountered a HTTP 500 error on the Cisco ACS 4.2 SE? This box is in production and all of a sudden started responding to access via the GUI with the error message. I am going to take a closer look at this on Monday, but was won

  • Regarding fieldcatalog to store a text field

    Hi friends, I want to store a text field in field catalog .so that it won't effect in field catalog . when if loop at fieldcatalog depending on that value i need to perform. regarding anil

  • Running an Update form in Query mode from the MENU

    Could any one explain how to run the same Form from the same Menu with two different options, One in QUERY ONLY MODE and one in Update mode. We are using Designer 6i and Headstart 6.5. Thanks David Short

  • MeetingPlace v7.1.2.6 Outlook 2013 Integration

    Anyone know if MeetingPlace v7.1.2.6 is capable of Outlook 2013 Integration? Judging from documentation it only supports up to 2010 but I check with the community before I call it confirmed. Thanks in advance! David