Здравствуйте, помогите настроить скорость скролинга мышью (колесом прокрутки). Перевернул уже пол интернета и всю эту ветку форума.
Скролинг работает, но очень быстрый - работать очень не комфортно.
Слышал что может помочь bntx, но тяму поставить не хватает. Делал по инструкции от сюда
http://ubuntuforums.org/showthread.php?t=455656на просюбу make терминал говорит вот это:
mainfin@ubuntu:~$ cd btnx-0.4.11
mainfin@ubuntu:~/btnx-0.4.11$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBDAEMON... yes
checking for update-rc.d... update-rc.d
checking for su... /bin/su
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: executing depfiles commands
mainfin@ubuntu:~/btnx-0.4.11$ make
cd . && /bin/bash /home/mainfin/btnx-0.4.11/config/missing --run aclocal-1.10 -I m4
/home/mainfin/btnx-0.4.11/config/missing: line 54: aclocal-1.10: команда не найдена
WARNING: `aclocal-1.10' is missing on your system. You should only need it if
you modified `acinclude.m4' or `configure.ac'. You might want
to install the `Automake' and `Perl' packages. Grab them from
any GNU archive site.
cd . && /bin/bash /home/mainfin/btnx-0.4.11/config/missing --run automake-1.10 --gnu
/home/mainfin/btnx-0.4.11/config/missing: line 54: automake-1.10: команда не найдена
WARNING: `automake-1.10' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.ac'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/bash /home/mainfin/btnx-0.4.11/config/missing --run autoconf
/home/mainfin/btnx-0.4.11/config/missing: line 54: autoconf: команда не найдена
WARNING: `autoconf' is missing on your system. You should only need it if
you modified `configure.ac'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash ./configure --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBDAEMON... yes
checking for update-rc.d... update-rc.d
checking for su... /bin/su
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking whether gcc needs -traditional... no
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking for vprintf... yes
checking for _doprnt... no
checking for ftruncate... yes
checking for gettimeofday... yes
checking for memset... yes
checking for select... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strtol... yes
configure: creating ./config.status
/bin/bash ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating data/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
cd . && /bin/bash /home/mainfin/btnx-0.4.11/config/missing --run autoheader
/home/mainfin/btnx-0.4.11/config/missing: line 54: autoheader: команда не найдена
WARNING: `autoheader' is missing on your system. You should only need it if
you modified `acconfig.h' or `configure.ac'. You might want
to install the `Autoconf' and `GNU m4' packages. Grab them
from any GNU archive site.
rm -f stamp-h1
touch config.h.in
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-recursive
make[1]: Вход в каталог `/home/mainfin/btnx-0.4.11'
Making all in src
make[2]: Вход в каталог `/home/mainfin/btnx-0.4.11/src'
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT btnx.o -MD -MP -MF .deps/btnx.Tpo -c -o btnx.o btnx.c
mv -f .deps/btnx.Tpo .deps/btnx.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT config_parser.o -MD -MP -MF .deps/config_parser.Tpo -c -o config_parser.o config_parser.c
mv -f .deps/config_parser.Tpo .deps/config_parser.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT device.o -MD -MP -MF .deps/device.Tpo -c -o device.o device.c
mv -f .deps/device.Tpo .deps/device.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT revoco.o -MD -MP -MF .deps/revoco.Tpo -c -o revoco.o revoco.c
mv -f .deps/revoco.Tpo .deps/revoco.Po
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -W -Wunused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wswitch -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls `pkg-config --cflags libdaemon` -g -O2 -MT uinput.o -MD -MP -MF .deps/uinput.Tpo -c -o uinput.o uinput.c
cc1: warnings being treated as errors
uinput.c: In function ‘uinput_init’:
uinput.c:59: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
uinput.c:67: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
uinput.c: In function ‘uinput_send_mods’:
uinput.c:117: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
uinput.c:122: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
uinput.c: In function ‘uinput_send_key’:
uinput.c:144: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
uinput.c:151: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
uinput.c:157: error: ignoring return value of ‘write’, declared with attribute warn_unused_result
make[2]: *** [uinput.o] Ошибка 1
make[2]: Выход из каталога `/home/mainfin/btnx-0.4.11/src'
make[1]: *** [all-recursive] Ошибка 1
make[1]: Выход из каталога `/home/mainfin/btnx-0.4.11'
make: *** [all] Ошибка 2
что это значит тоже не знаю, но догадываюсь что работать не будет. Чего-то видимо не хватает, помогите пожалуйста, вся надежда только на bntx.
xorg.conf после кучи разных попыток выглядит так:
Section "InputDevice"
# Identifier "Mouse0"
# Identifier "5 button mouse"
Identifier "USB Mouse"
# Driver "mouse"
Driver "evdev"
#Х-ы не стартуют Option Name "Microsoft Microsoft Wireless Optical Mouse® 1.00"
# Option "CorePointer"
# Option "Device" "/dev/input/mice"
# Option "Protocol" "ExplorerPS/2"
# Option "Protocol" "ImPS/2"
Option "Protocol" "Microsoft"
Option "Buttons" "9"
# Option "ZAxisMapping" "6 7"
# Option "HWHEELRelativeAxisButtons" "9 8"
Option "ZAxisMapping" "4 5"
# Option "Resolution" "100"
Option "VertScrollDelta" "50"
# Composite "1"
EndSection
(Закомментированные опции это все из разных форумов и разных мышей, но почти все это относится к кнопкам, но я думал может поможет, вообще самым важным для меня параметром здесь должен быть Option "VertScrollDelta" "50", но его изменение ни на что не влияеет.)
Да, изначально xorg был вообще пустой, но я так понял что в новых дистрибутивах это нормально. Или нет?
С назначением действий на кнопки пока даже не заморачивался, но там думаю проблем не будет, ибо в процессе экспериментов переназначать удавалось.
Да, о себе: Ubuntu 9.10 с чистой установкой. Мышь Microsoft Wireless Laser Mouse 6000