[SOLVED] Trackpoint/Trackpoint center button scrolling doesn't work on an X230
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Trackpoint/Trackpoint center button scrolling doesn't work on an X230
(The one where you press it down then scroll with the trackpoint)
What do I have to edit/install to get this functionality working? This is on the live image but going to install it soon
Just put it in a bash script, make it executable, and add it as a startup script. How that is done depends on the window manager. I'm guessing that Xfce has a way to do it graphically via its settings manager, but I'm not sure because I don't use it.
Just put it in a bash script, make it executable, and add it as a startup script. How that is done depends on the window manager. I'm guessing that Xfce has a way to do it graphically via its settings manager, but I'm not sure because I don't use it.
I've tried figuring out how to do that but I can't. What do I have to edit/create specifically? With xfce it allows you to startup application but not a script.
I've tried figuring out how to do that but I can't. What do I have to edit/create specifically? With xfce it allows you to startup application but not a script.
Try creating a .desktop file to run your script and place it in ~/.config/autostart. As an example:
Let's back up. Forget the script for now. Open a terminal and paste in the the commands from post #2. Hit Enter. Check if Trackpoint scrolling works after doing that. If so, we'll work on the script afterwards.
Let's back up. Forget the script for now. Open a terminal and paste in the the commands from post #2. Hit Enter. Check if Trackpoint scrolling works after doing that. If so, we'll work on the script afterwards.
#!/bin/bash
input set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
Then type:
Code:
chmod +x ~/set_touchpad.sh
to make it executable. Next, edit the paths in the .desktop file I posted previously to /home/username/set_touchpad.sh (where 'username' is replaced with your username). Open the settings GUI in Xfce that shows your startup applications. It should hopefully show touchpad_settings.desktop, or maybe the name in the .desktop file, "Set touchpad."
#!/bin/bash
input set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation" 1
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Button" 2
xinput set-prop "TPPS/2 IBM TrackPoint" "Evdev Wheel Emulation Timeout" 200
Then type:
Code:
chmod +x ~/set_touchpad.sh
to make it executable. Next, edit the paths in the .desktop file I posted previously to /home/username/set_touchpad.sh (where 'username' is replaced with your username). Open the settings GUI in Xfce that shows your startup applications. It should hopefully show touchpad_settings.desktop, or maybe the name in the .desktop file, "Set touchpad."
I'll try that and report back. By "input" you meant "xinput" right?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.