hi i am john
using m90 mouse scrolling speed is slow through out the system.
Hi,
Yes, what you want is possible.
See here IMWheel - ArchWiki
and here Mouse acceleration - ArchWiki
i go through this article
but in my terminal wheelies window is not opening
[shivam@shivam-inspiron3542 ~]$ cd imwheel/
[shivam@shivam-inspiron3542 imwheel]$ chmod +x wheel.sh
[shivam@shivam-inspiron3542 imwheel]$ ./wheel.sh
This option is not available. Please see --help for all possible usages.
imwheel
package is in repositories, did you installed first?
i did install it through add remove software
Right, and the script is using the zenity
to show that popup window, so you have to install that too if that is what the error is showing …
i install it also but it is showing
This option is not available. Please see --help for all possible usages.
Where do you see that?
Make sure you copied and pasted the correct code:
#!/bin/bash
# Version 0.1 Tuesday, 07 May 2013
# Comments and complaints http://www.nicknorton.net
# GUI for mouse wheel speed using imwheel in Gnome
# imwheel needs to be installed for this script to work
# sudo apt-get install imwheel
# Pretty much hard wired to only use a mouse with
# left, right and wheel in the middle.
# If you have a mouse with complications or special needs,
# use the command xev to find what your wheel does.
#
### see if imwheel config exists, if not create it ###
if [ ! -f ~/.imwheelrc ]
then
cat >~/.imwheelrc<<EOF
".*"
None, Up, Button4, 1
None, Down, Button5, 1
Control_L, Up, Control_L|Button4
Control_L, Down, Control_L|Button5
Shift_L, Up, Shift_L|Button4
Shift_L, Down, Shift_L|Button5
EOF
fi
##########################################################
CURRENT_VALUE=$(awk -F 'Button4,' '{print $2}' ~/.imwheelrc)
NEW_VALUE=$(zenity --scale --window-icon=info --ok-label=Apply --title="Wheelies" --text "Mouse wheel speed:" --min-value=1 --max-value=100 --value="$CURRENT_VALUE" --step 1)
if [ "$NEW_VALUE" == "" ];
then exit 0
fi
sed -i "s/\($TARGET_KEY *Button4, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button4, and write new value.
sed -i "s/\($TARGET_KEY *Button5, *\).*/\1$NEW_VALUE/" ~/.imwheelrc # find the string Button5, and write new value.
cat ~/.imwheelrc
imwheel -kill
Your file is called mousewheel.sh
so why are you then running
Please tell me why ?
When a sh file needs to be executable by you from your home directory, you do NOT sudo
it. Never use sudo on your home folder/files. The article does not mention to use sudo for that file …
run ls -la
from terminal and show me who owns the mousewheel.sh file.
I took the time to boot a VM XFCE install, and here it is. It works:
Hey bro bogdancovaciu!!!
i finally found it .
i use this article>>https://askubuntu.com/questions/282642/when-i-try-to-run-sh-files-nothing-happens
Thank you for your support.
but do need to run it again on startup it is not adding on startup apps please tell me how todo it.
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.