You are not logged in.

#1 2011-05-24 15:54:36

martinoff
Member
Registered: 2011-03-28
Posts: 21

[SOLVED] MX performance and xbindkeys

hi to all
i make a clean install Arch 86_64 and i cant make xbindkeys work properly again
i forgot to keep the old .xbindkeysrc and with the new i cant make it work
i read from wiki the mx 1000 xbindkeys which i was using first for the setting but now not lucky

my .xbindkeysrc

"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Left]""
m:0x0 + b:8
"/usr/bin/xvkbd -xsendevent -text "\[Alt_L]\[Right]""
m:0x0 + b:9
"/usr/bin/xvkbd -xsendevent -text "\[Up]""
m:0x0 + b:11
"/usr/bin/xvkbd -xsendevent -text "\[Down]""
m:0x0 + b:12
"/usr/bin/xvkbd -xsendevent -text "\[F5]""
m:0x0 + b:13 
"/usr/bin/xvkbd -xsendevent -text "\[Win]""
m:0x0 + b:10

my xorg.conf

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 270.41.19  (buildmeister@swio-display-x86-rhel47-07.nvidia.com)  Mon May 16 23:52:12 PDT 2011

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0"
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Evdev Mouse" "CorePointer"
EndSection

Section "Files"
EndSection

Section "InputDevice"
  Identifier      "Evdev Mouse"
  Driver          "evdev"
  Option          "Name" "Logitech USB Receiver"
  Option          "CorePointer"
EndSection

Section "InputDevice"
    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "Unknown"
    HorizSync       28.0 - 33.0
    VertRefresh     43.0 - 72.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection

when i run

/usr/bin/xvkbd -xsendevent -text "\[F5]"

i get error

greg ~ $ /usr/bin/xvkbd -xsendevent -text "\[F5]"
Warning: Cannot convert string "-*-lucidatypewriter-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-bold-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-1" to type FontStruct
Warning: Cannot convert string "-*-helvetica-medium-r-*-*-10-*-*-*-*-*-iso8859-1" to type FontStruct
xvkbd: Mode_switch not available as a modifier
xvkbd: although ISO_Level3_Shift is used instead, AltGr may not work correctly
greg ~ $ 

so there is something wrong with xvkbd

any help please ?

Last edited by martinoff (2011-05-28 19:25:41)

Offline

#2 2011-05-24 16:01:55

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] MX performance and xbindkeys

I'm not sure if it will help, but here are some old versions of xbindkeys http://arm.konnichi.com/search/index.ph … ommunity=1

Offline

#3 2011-05-24 16:46:00

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED] MX performance and xbindkeys

This is not much but it works for me:

# Back
"xte 'key XF86Back'"
b:8

# Forward
"xte 'key XF86Forward'"
b:9

Obviously it requires xte, which I think is in the package 'xautomation' from AUR.

Offline

#4 2011-05-24 17:22:00

martinoff
Member
Registered: 2011-03-28
Posts: 21

Re: [SOLVED] MX performance and xbindkeys

KlavKalashj wrote:

This is not much but it works for me:

# Back
"xte 'key XF86Back'"
b:8

# Forward
"xte 'key XF86Forward'"
b:9

Obviously it requires xte, which I think is in the package 'xautomation' from AUR.


thanks

i install it and with

 "xte 'key F5'"
b:13

in .xbindkeysrc don't work

dont work even after reboot and xbindkeys is running in ps afx

when i give

xte 'key F5'

in xterm it run correctly

have i to change something maybe in xorg.cong ?

button 1 3 4 5 6 7 8 9 are runnig fine with evdev allready and no setting in file .xbindkeyrc and even when xbindkeys don't run
i just want key 13 and 10 to modify

Last edited by martinoff (2011-05-24 17:29:22)

Offline

#5 2011-05-24 21:59:32

KlavKalashj
Member
Registered: 2008-10-09
Posts: 376

Re: [SOLVED] MX performance and xbindkeys

Hm that's weird... I also have this one:

# Present windows
"xte 'keydown Control_L' 'key F10' 'keyup Control_L'"
  b:10

for the kwin plugin 'present windows' and it works fine. I don't think you need anything in xorg.conf - I don't even have that file. In fact, I've done nothing but plug in the mouse, install xbindkeys and xte, and enter that config. Maybe try modifying your xorg.conf, removing the mouse part?

Offline

#6 2011-05-26 14:32:30

martinoff
Member
Registered: 2011-03-28
Posts: 21

Re: [SOLVED] MX performance and xbindkeys

now without xorg.conf nothing have change

in /var/log/Xorg.0.log have this

[    22.303] (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/device:00/PNP0C0E:00/input/input2/event2"
[    22.303] (II) XINPUT: Adding extended input device "Sleep Button" (type: KEYBOARD)
[    22.303] (**) Option "xkb_rules" "evdev"
[    22.303] (**) Option "xkb_model" "evdev"
[    22.303] (**) Option "xkb_layout" "us"
[    22.305] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event13)
[    22.305] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[    22.305] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[    22.305] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    22.305] (**) Logitech USB Receiver: always reports core events
[    22.305] (**) Logitech USB Receiver: Device: "/dev/input/event13"
[    22.330] (--) Logitech USB Receiver: Found keys
[    22.330] (II) Logitech USB Receiver: Configuring as keyboard
[    22.330] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.0/input/input13/event13"
[    22.330] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD)
[    22.330] (**) Option "xkb_rules" "evdev"
[    22.330] (**) Option "xkb_model" "evdev"
[    22.330] (**) Option "xkb_layout" "us"
[    22.330] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/event14)
[    22.330] (**) Logitech USB Receiver: Applying InputClass "evdev pointer catchall"
[    22.330] (**) Logitech USB Receiver: Applying InputClass "evdev keyboard catchall"
[    22.331] (II) Using input driver 'evdev' for 'Logitech USB Receiver'
[    22.331] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    22.331] (**) Logitech USB Receiver: always reports core events
[    22.331] (**) Logitech USB Receiver: Device: "/dev/input/event14"
[    22.357] (--) Logitech USB Receiver: Found 20 mouse buttons
[    22.357] (--) Logitech USB Receiver: Found scroll wheel(s)
[    22.357] (--) Logitech USB Receiver: Found relative axes
[    22.357] (--) Logitech USB Receiver: Found x and y relative axes
[    22.357] (--) Logitech USB Receiver: Found absolute axes
[    22.357] (--) Logitech USB Receiver: Found keys
[    22.357] (II) Logitech USB Receiver: Configuring as mouse
[    22.357] (II) Logitech USB Receiver: Configuring as keyboard
[    22.357] (II) Logitech USB Receiver: Adding scrollwheel support
[    22.357] (**) Logitech USB Receiver: YAxisMapping: buttons 4 and 5
[    22.357] (**) Logitech USB Receiver: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    22.357] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.1/usb4/4-2/4-2:1.1/input/input14/event14"
[    22.357] (II) XINPUT: Adding extended input device "Logitech USB Receiver" (type: KEYBOARD)
[    22.357] (**) Option "xkb_rules" "evdev"
[    22.357] (**) Option "xkb_model" "evdev"
[    22.357] (**) Option "xkb_layout" "us"
[    22.357] (II) Logitech USB Receiver: initialized for relative axes.
[    22.357] (WW) Logitech USB Receiver: ignoring absolute axes.
[    22.357] (**) Logitech USB Receiver: (accel) keeping acceleration scheme 1
[    22.357] (**) Logitech USB Receiver: (accel) acceleration profile 0
[    22.357] (**) Logitech USB Receiver: (accel) acceleration factor: 2.000
[    22.357] (**) Logitech USB Receiver: (accel) acceleration threshold: 4
[    22.358] (II) config/udev: Adding input device Logitech USB Receiver (/dev/input/mouse1)
[    22.358] (II) No input driver/identifier specified (ignoring)

Offline

#7 2011-05-28 09:51:34

martinoff
Member
Registered: 2011-03-28
Posts: 21

Re: [SOLVED] MX performance and xbindkeys

please any more ideas couse i am ready to make again a clean install
maybe something is wrong with fontconfig-ubuntu from Aur and xvkbd is given errors

nobody have logitech and xkeybindings ?

Offline

#8 2011-05-28 14:43:15

Mektub
Member
From: Lisbon /Portugal
Registered: 2008-01-02
Posts: 647

Re: [SOLVED] MX performance and xbindkeys

martinoff,

I have x86_64, kernel26 2.6.38.6-2, xbindkeys 1.8.5-1 and a Logitech G700

.xbindkeysrc:

"/usr/bin/xvkbd -text "\[Alt_L]\[Left]""
m:0x0 + b:6 

"/usr/bin/xvkbd -text "\[Alt_L]\[Right]""
m:0x0 + b:7

"/usr/bin/xvkbd -text "\[Control_L]\[KP_Add]""
m:0x0 + b:9

"/usr/bin/xvkbd -text "\[Control_L]\[KP_Subtract]""
m:0x0 + b:8

"/usr/bin/xvkbd -xsendevent -text "\[Home]""
m:0x0 + b:10 

"/usr/bin/xvkbd -xsendevent -text "\[End]""
m:0x0 + b:11 

"/usr/bin/xvkbd -xsendevent -text "\[Next]""
m:0x0 + b:14

in /etc/X11/xorg.conf.d/10-evdev.conf:

Section "InputClass"
        Identifier "evdev pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "evdev"
EndSection

and buttons work as expected.

Must be some misconfiguration or incompatibility on your side.

Mektub

PS: xvkbd 3.2-1

Last edited by Mektub (2011-05-28 14:44:15)


Follow me on twitter: https://twitter.com/johnbina

Offline

#9 2011-05-28 14:49:56

RazrFalcon
Member
From: Ukraine
Registered: 2011-05-18
Posts: 44

Re: [SOLVED] MX performance and xbindkeys

Did you try BTNX?

Offline

#10 2011-05-28 19:22:18

martinoff
Member
Registered: 2011-03-28
Posts: 21

Re: [SOLVED] MX performance and xbindkeys

i delete the .xbindkeys and make new one
no luck
outpout of

pacman -Qk udev

all ok

pacman -Qk xbindkeys

all ok again

wtf !!!!!!



after

 pac -Rsc xbindkeys 

and

 pacman -Syyyu 

with new udev everything is working properly

thanks guys

Last edited by martinoff (2011-05-28 19:26:24)

Offline

#11 2012-04-11 06:58:31

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

Re: [SOLVED] MX performance and xbindkeys

Sorry to reply to this Solved issue but I got the same problem.
Got myself a new MX Performance and I can't make the button 10 and button 13 work with anything.

I tried used xev to identify the buttons:
ButtonPress event, serial 37, synthetic NO, window 0x2600001,
    root 0x2b4, subw 0x0, time 86173628, (170,17), root:(174,130),
    state 0x10, button 10, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x2600001,
    root 0x2b4, subw 0x0, time 86173876, (170,17), root:(174,130),
    state 0x10, button 10, same_screen YES

ButtonPress event, serial 37, synthetic NO, window 0x2600001,
    root 0x2b4, subw 0x0, time 86176241, (170,17), root:(174,130),
    state 0x10, button 13, same_screen YES

ButtonRelease event, serial 37, synthetic NO, window 0x2600001,
    root 0x2b4, subw 0x0, time 86176417, (170,17), root:(174,130),
    state 0x10, button 13, same_screen YES

Then installed xbindkeys and produced a default config to my home directory. I modified the config with entries for the extra buttons:
"xte 'keydown Super_L' 'keyup Super_L'"
  b:10

"xte 'key F5'
  b:13

didn't work.
I made sure the xbindkeys were running and when I tried the xte commands from the terminal it worked fine.

Any ideas or alternatives?

Offline

#12 2012-06-12 21:03:57

tinySpark
Member
Registered: 2012-06-09
Posts: 19

Re: [SOLVED] MX performance and xbindkeys

inglor wrote:

Then installed xbindkeys and produced a default config to my home directory. I modified the config with entries for the extra buttons:
"xte 'keydown Super_L' 'keyup Super_L'"
  b:10

"xte 'key F5'
  b:13

didn't work.
I made sure the xbindkeys were running and when I tried the xte commands from the terminal it worked fine.

Any ideas or alternatives?

I know it's a little late for a response but I ran into the same issue today and here's what I did. xte just didn't want to play nice with those extra buttons so I installed xdotool instead.

# pacman -S xdotool

Then I used the xdotool command in place of xte. The relevant part of my .xbindkeysrc now reads:

#Back
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
   b:8

#Forward
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
   b:9

# Axe Menu
"xdotool key Super_R"
   b:13

# Gnome Menu
"xdotool key Super_L"
   release + b:10

Hope that helps!

Offline

#13 2012-06-12 21:38:04

inglor
Package Maintainer (PM)
Registered: 2008-07-22
Posts: 88

Re: [SOLVED] MX performance and xbindkeys

tinySpark wrote:

I know it's a little late for a response but I ran into the same issue today and here's what I did. xte just didn't want to play nice with those extra buttons so I installed xdotool instead.

# pacman -S xdotool

Then I used the xdotool command in place of xte. The relevant part of my .xbindkeysrc now reads:

#Back
"xte 'keydown Alt_L' 'key Left' 'keyup Alt_L'"
   b:8

#Forward
"xte 'keydown Alt_L' 'key Right' 'keyup Alt_L'"
   b:9

# Axe Menu
"xdotool key Super_R"
   b:13

# Gnome Menu
"xdotool key Super_L"
   release + b:10

Hope that helps!

That worked like a charm! Thanks!!
That need to be wiki-ed, I am sure I will be searching for that again...

Last edited by inglor (2012-06-12 22:26:09)

Offline

Board footer

Powered by FluxBB