LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-07-2018, 01:53 PM   #1
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Rep: Reputation: Disabled
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
 
Old 04-07-2018, 02:25 PM   #2
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Try these commands. I have them in a window manager startup script:

Code:
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
 
1 members found this post helpful.
Old 04-07-2018, 02:28 PM   #3
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Try these commands. I have them in a window manager startup script:

Code:
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
Thanks, I'll try that out. Where would I put it in, let's say, Xfce/xfwm?
 
Old 04-07-2018, 02:32 PM   #4
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
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.
 
1 members found this post helpful.
Old 04-07-2018, 02:50 PM   #5
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
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.
 
Old 04-07-2018, 03:39 PM   #6
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Quote:
Originally Posted by nekoseam View Post
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:

~/.config/autostart/touchpad_settings.desktop
Code:
[Desktop Entry]
Version=1.0
Type=Application
Name=Set touchpad
GenericName=Set touchpad
Comment=Applies touchpad settings
Categories=Utility;
TryExec=/path/to/touchpad/script
Exec=/path/to/touchpad/script
Edit the path above to the location of your script.

Have you tried running the script manually to make sure it allows you to scroll with the Trackpoint?
 
1 members found this post helpful.
Old 04-07-2018, 04:03 PM   #7
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Try creating a .desktop file to run your script and place it in ~/.config/autostart. As an example:

~/.config/autostart/touchpad_settings.desktop
Code:
[Desktop Entry]
Version=1.0
Type=Application
Name=Set touchpad
GenericName=Set touchpad
Comment=Applies touchpad settings
Categories=Utility;
TryExec=/path/to/touchpad/script
Exec=/path/to/touchpad/script
Edit the path above to the location of your script.

Have you tried running the script manually to make sure it allows you to scroll with the Trackpoint?
I created a .desktop file in autostart with nano and pasted the code in and saved but after logging out and in it didn't work.
 
Old 04-07-2018, 04:08 PM   #8
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Did you:
  1. Make the script executable
  2. Try running the script manually
... like I already said to do?
 
1 members found this post helpful.
Old 04-07-2018, 04:13 PM   #9
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Did you:
  1. Make the script executable
  2. Try running the script manually
... like I already said to do?
I don't know how to do that
 
Old 04-07-2018, 04:24 PM   #10
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
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.
 
1 members found this post helpful.
Old 04-07-2018, 04:28 PM   #11
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
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.
Yes it works.
 
Old 04-07-2018, 05:03 PM   #12
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Okay, good. Then save this as ~/set_touchpad.sh:

Code:
#!/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."
 
1 members found this post helpful.
Old 04-07-2018, 05:25 PM   #13
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Okay, good. Then save this as ~/set_touchpad.sh:

Code:
#!/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?
 
1 members found this post helpful.
Old 04-07-2018, 05:35 PM   #14
montagdude
Senior Member
 
Registered: Apr 2016
Distribution: Slackware
Posts: 2,011

Rep: Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619Reputation: 1619
Yes, sorry. Trying to copy and paste with my phone here.

Last edited by montagdude; 04-07-2018 at 05:38 PM.
 
1 members found this post helpful.
Old 04-07-2018, 05:47 PM   #15
nekoseam
LQ Newbie
 
Registered: Mar 2018
Distribution: Debian
Posts: 14

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by montagdude View Post
Yes, sorry. Trying to copy and paste with my phone here.
Thanks. It works
 
  


Reply

Tags
hardware, thinkpad, trackpoint



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Enable vertical scrolling with middle button on touchpad and trackpoint in RHEL 6.2 chronograf Linux - Hardware 1 07-10-2012 08:38 AM
Trackpoint scrolling not working properly - Thinkpad and Ubuntu Mountain Linux - Hardware 3 03-25-2008 12:25 AM
thinkpad trackpoint doesn't work aquilolumen Linux - Laptop and Netbook 3 07-27-2007 11:38 PM
Trackpoint in EnduraPro External USB Keyboard Doesn't Work ajkessel Linux - Hardware 0 04-25-2007 07:28 PM
Hmmm....Trackpoint Smooth Scrolling generalachoo Linux - Software 0 08-11-2006 01:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration