Как увеличить скролл мыши linux

от admin

Как увеличить скролл мыши linux

>VertScrollDelta

udi = ‘/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass
_through_logicaldev_input’
info.capabilities = <’input’, ‘input.mouse’>(string list)
info.category = ‘input’ (string)
info.parent = ‘/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Syna
ptics_pass_through’ (string)
info.product = ‘TPPS/2 IBM TrackPoint’ (string)
info.subsystem = ‘input’ (string)
info.udi = ‘/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synapti
cs_pass_through_logicaldev_input’ (string)
input.device = ‘/dev/input/event7’ (string)
input.originating_device = ‘/org/freedesktop/Hal/devices/platform_i8042_i8042_AUX_port_Synaptics_pass_through’ (string)
input.product = ‘TPPS/2 IBM TrackPoint’ (string)
input.x11_driver = ‘evdev’ (string)
input.x11_options.CorePointer = ‘true’ (string)
input.x11_options.Emulate3Buttons = ‘true’ (string)
input.x11_options.EmulateWheel = ‘true’ (string)
input.x11_options.EmulateWheelButton = ‘2’ (string)
.

Altering mouse scroll speed in Linux

How to alter mouse scroll speed in Linux (Ubuntu, Mint, Debian)

I started playing with Linux, having installed Mint (Ubuntu based, which is Debian based – for more details). Linux Mint is very user friendly (unlike Linux 15 years ago), but it does have its peculiarities (especially for us coming from decades of DOS & Windows use). One of the “problems” for me was simple mouse scroll button speed change. Here’s how I fixed that.

For solving this I used Imwheel. The procedure is relatively simple and straight forward, with a few tweaks (noted in this post). It boils down to this:

1. Installing Imwheel

You can open Software Manager, search for “Imwheel”, then click “Install”, after which you will be asked to enter your root password and that’s it.

Installing Imwheel using Linux Software ManagerInstalling Imwheel using Linux Software Manager
Picture 1 Authenticating the install with a root password (1), then click Authenticating the install with a root password (1), then click “Authenticate” (2)
Picture 2

Of course, you could use the command prompt (CTRL+ALT+T is the keyboard shortcut, not WIN+R – note to self ). Imwheel is installed using the following command (you will be prompted for a root password after pressing Enter):

Command prompt installation of Imwheel

Command prompt installation of Imwheel
Picture 3

If all went well, you will see something like this:

Imwheel successfully installed

Imwheel successfully installed
Picture 4

2. Configuring Imwheel

Configuration boils down to creating a .sh file with an appropriate code, then running it. I did it the following way:

I created an “Utils” directory in my “Home” directory (that is “/home/relja/Utils”). Of course, you can put the file anywhere you want.

Then I opened a text editor, copied the needed code (found at this page – thank you) and saved it as “mouse.sh” – you can name it however you like, as long as you know the file name and directory where it’s saved at.

Needed file contents:

Then, in command promt, go to the directory and run the file. Before running the script, you must give it the execution rights using command “chmod +x” In my case:

Here’s how it looks like on screen, you’ll get to set mouse scroll speed:

Enter the three command lines (enter after each, of course) (1), select desired scroll speed (2), then click

Enter the three command lines (enter after each, of course) (1), select desired scroll speed (2), then click “Apply” (3)
Picture 5

I chose 3. After clicking at “Apply”, you’ll see something like this:

Successfully finished scroll speed configuration

Successfully finished scroll speed configuration
Picture 6

If you aren’t happy with the newly set mouse scroll speed, just run the “mouse.sh” again, as expained in picture 5.

3. Configuring Imwheel to run after each restart

For this I used “Startup Applications”.

Opening

Opening “Startup Applications”
Picture 7

On the next screen click the ” + ” sign and choose “Custom command” option.

Click the + sign and choose

Click the + sign and choose “Custom command”
Picture 8

The last step is shown and explained in the picture 9:

Use whatever you want for name (1) Command must say

Use whatever you want for name (1)
Command must say “imwheel”, because that is the application (2)
For comment, use whatever you like (3)
Add a startup delay if you like – I set a 5 second delay (4)
Finally, click “Add” (5)
Picture 9

You can try restarting the computer, to make sure mouse scroll speed is still working properly.

Troubleshooting

As Alex added in the comment section, there can be a problem with the functioning of extra mouse buttons (with some mouses that have extra buttons, in addition to the standard two and the wheel). The solution is limiting imwheel to the scroll only (wheel up: 4, and wheel down: 5). For Linux Mint, it is the following command:

“-b” is the switch that basically says “deal only with the listed buttons”. This can also be added to the command line – (2) in picture 9.

Ubuntu 20.04 mouse scroll wheel speed

I had a very slow scroll speed until I found that.

Install and run

You have to install imwhell with :

And download this bash script on http://www.nicknorton.net (thanks to him)
You can type, as @victoor say in comments :

You can just do bash <(curl -s http://www.nicknorton.net/mousewheel.sh) instead of copy the script manually and changing permissions. 🙂

Then set up the .sh file to executable with :

And then run script with :

And set your mouse wheel speed in the popup by clicking on apply button. (my setting is 7) Re-run script for change.

Как увеличить скорость прокрутки колёсика мыши в Kubuntu

В основном я работаю на Windows и все мои привычки взаимодействия с компьютером сформировались в ней. В качестве дополнительной системы, я решил попробовать Kubuntu.

Первое что сразу бросилось в глаза, это медленная прокрутка страницы колесиком мышки в браузере по сравнению с Windows. Как это поправить?

Сейчас я использую Linux Mint, все нижеописаное можно применять и в нем.

Насколько я понял раньше в KDE была настройка этого параметра в Параметры системы — Устройства ввода — Мышь и там вкладка Дополнительно, но у меня версия KDE Plasma 5.24.4 и у меня этого нет:

Настройка мыши KDE Plasma

Утилита imwheel

Чтобы изменить скорость скролла мышью предлагается использовать утилиту imwheel. Чтобы установить ее достаточно команды:

sudo apt install imwheel

Далее в корне домашней папки пользователя нужно создать файл .imwheelrc. Это простой текстовый файл его можно создать любым текстовым редактором, например встроенным Kate или прямо в косоли с помощью Nano

Это конфигурационных файл утилиты imwheel, для нашей задачи достаточно заполнить его следующим содержанием:

Где цифры 5 (в конце второй и третей строки) это и есть скорость прокрутки содержимого колесиком мыши. По умолчанию стоит цифра 3, но мне показалось при параметре 5 скорость больше похожа на Windows.

Первая строка используется для указания, в каких приложениях использовать эти настройки. В нашем случае ".*" означает везде, но вы также можете применить настройки к конкретному приложению. Например, если вы хотите применить эти параметры только к браузеру Chrome, ваша первая строка должна выглядеть так:

Более подробно можно почитать в справке выполнив команду:

После создания и сохранения конфигурационного файла, можно запустить утилиту командой:

Теперь скорость скролла страниц браузера более комфортной, лично для меня.

Если вы хотите попробовать другой параметр скорости, то прежде чем править конфигурационный файл остановите утилиту imwheel командой:

А после внесения изменений запустите заново.

Автозапуск imwheel

Чтобы каждый раз не запускать imwheel вручную при старте системы, добавим его в автозапуск. Для этого перейдем в Параметры системы — Рабочая среда — Запуск и завершение — Автозапуск, нажмем кнопку Добавить и введем imwheel.

Читать:
Google earth как скачать на ipad

Настройка автозапуска KDE Plasma

На этом все, надеюсь помог таким же чувствительным к мелочам в работе системы как я.

Increase mouse wheel scroll speed

As the title says, I want to increase the number of rows that are passed when I use the mouse wheel for scrolling. I know that there exists ways to do that for Firefox and Chromium, although I want something for the entire system, mainly because of the PDF reader.

I am on a Desktop and use a Microsoft Wireless Mouse 5000.

Rodrigo Oliveira's user avatar

9 Answers 9

Beforehand

With the currently used input driver system it is not possible to change the scroll speed of your mouse, at least not without drawbacks. You are able to adjust the scroll speed for Qt-Applications using a KDE Settings but the only current way to change the scrolling in a generic fashion is by using imwheel which seems to be problematic in many ways (see comments). In the future this will be fixed with libinput and the systemd hardware database.

Current Way

Install imwheel with the following command or from the Software Center:

Create (if necessary) and edit the configfile

/.imwheelrc with an editor of your choice (e.g. gedit ). Fill in the following for increasing the scroll speed for every Command. NB: This configuration file will apply these new scroll settings to all programs, (including the terminal, which may not be what you want).

If you want to only apply these settings to Chrome , for instance, use these settings instead:

The 3 is a scroll multiplier to increase the effectiveness of the scroll wheel. In the README of the project it is called «REPS». The readme states:

[ REPS ]

Reps (Repetitions) lets you say a number for how many times you want the output keysyms to be pressed. See the chart on the default bindings for the default number of reps for each modifier-combo (The chart is near the end of this document).

In other words, it is a scroll multiplier. If REPS is set to 3 , that means that when your mouse wheel commands one scroll command, the software intercepts this command and sends 3 commands to the PC instead of 1, thereby making it scroll 3 times farther, or «faster».

For more information also take a look at the manpage:

or refer to the README of the project.

You can start imwheel by typing:

Be sure that you don’t start the imwheel twice! That’s a known bug, but you can stop imwheel with the command:

To get imwheel to automatically start every time your computer boots, you must add it to the startup menu AFTER an x-window is loaded. IMPORTANT: since imwheel relies on an x-window to already be running, it will NOT work if you add it to crontab, /etc/init.d, or /etc/rc.local. That means you must do it this way instead:

Ubuntu:
Use the «Startup Applications» GUI editor to Add imwheel as a Startup Program: https://askubuntu.com/a/48327/327339

Xubuntu:
Use the «Session and Startup» GUI editor —> Application Autostart —> Add to add imwheel as a startup program.

enter image description here

Future

This tutorial is currently under development.

libinput seems to be included with Wily Werewolf (15.10) where you need to install the package xserver-xorg-input-libinput . After you installed libinput with

it should be used for every input after you restarted the Xorg (logout would be sufficient). Now that you are using libinput you are able to adjust the settings of your mouse. You can find a full tutorial in the file /lib/udev/hwdb.d/70-mouse.hwdb. Let me cover here only the basics.

The following steps are need to be done as root . Because of that I am friendliy reminding you that everything you do you need to take responibility.

First get the vendor id <vid> and the product id <pid> using lsusb . Here with a MX 518 Logitech Mouse as example. If you have the following line in the output of lsusb .

The <vid> is 046d and the <pid> is c051 .

Then create a File that looks like the following with gksudo gedit /etc/udev/hwdb.d/71-mouse-local.hwdb

For example this file for the Logitech MX 518 example above:

This file sets the mouse wheel click angle to 30° (default is usually 15). To use this setting, update the hwdb with the following commands:

One can figure out the $ using xinput (look out for the id of your mouse) and then run xinput list-props $ .

compizomania

Наверное название данной статьи не совсем корректное, т.е. здесь скорее нужно сказать не скорость прокрутки колёсика мыши, а увеличить количество строк, прокручиваемых одним движением колеса мыши.
Изменить работу колесика мыши можно в браузерах Firefox и Chrome путём установки дополнеия SmoothWheel, либо в Firefox ввести в строку about:config набрать в поиске mousewheel и поиграться с значениями. Таким образом можно изменить работу колесика мыши только в браузерах, но в других приложениях, таких как офисные приложения, большие текстовые файлы и пр. скорость прокручиваемых строк останется прежней.

К сожалению в Linux пока нет такой программы с GUI по измерению параметров скорости прокрутки, но есть терминальная утилита под названием «imwheel». Утилита imwheel доступна в официальных репозиториях Ubuntu и других дистрибутивах.

Установка и настройка imwheel

1. Установить imwheel можно с помощью Synaptic, Центра приложений Ubuntu и т.п. или выполнить следующую команду в терминале:

sudo apt-get install imwheel

2. Далее необходимо создать файл под названием .imwheelrc в вашем домашнем каталоге и открыть его на редактирование следуюшей командой:

Примечание 1. Я использую текстовый редактор gedit (Ubuntu, Linux Mint Cinnamon, Gnome-Shell), а вы измените в команде на редактор по умолчанию своего дистрибутива.

После того как открыт файл на редактирование, скопируйте и вставьте в него следующие строки:

«.*»
None, Up, Button4, 3
None, Down, Button5, 3

Сохраните файл и закройте редактор.

Примечание 2.
1. Параметр «.*» указывает на то, что количество строк, прокручиваемых одним движением колеса мыши будет одинаково во всех приложениях.
2. В двух других параметрах: прокручивать вниз (Down) и вверх (Up), значение 3 оптимально, но его можно изменить в сторону уменьшения или увеличения, в зависимости от ваших предпочтений.

Теперь нужно запустить утилиту imwheel. Откройте диалог на выполнене команды Alt+F2, введите и выполните imwheel:

И проверьте скорость прокрутки колёсика мыши в различных приложениях.

Если вы изменили парметр прокручивать вниз (Down) и вверх (Up), значение 3 в файле /.imwheelrc, необходимо перезагрузить утилиту:

killall imwheelrc

И вновь запустить: Alt+F2, введите и выполните imwheel.

Для того чтобы утилита imwheel запускалась при входе в систему, её нужно прописать в Автоматически запускаемые приложения следующим образом:

Удалить imwheel

Если вы решили не пользоваться утилитой, выполните следующую команду в терминале:

sudo apt-get remove imwheel

А также удалите файл

/.imwheelrc в домашней директории и в Автоматически запускаемые приложения.

Похожие статьи