Touchpad scroll not working properly after Suspend
I've recently done a fresh install of Ubuntu 18.10. I've experience an issue where the scroll function is not working properly after the system has been suspended. It's sluggish and slow, kinda like if it's only registering "half the scroll".
After a restart it works perfectly again. Any ideas?
EDIT: I found a solution that restarts the touchpad automatically via a script. Posted how to as answer! :-)
touchpad scrolling
add a comment |
I've recently done a fresh install of Ubuntu 18.10. I've experience an issue where the scroll function is not working properly after the system has been suspended. It's sluggish and slow, kinda like if it's only registering "half the scroll".
After a restart it works perfectly again. Any ideas?
EDIT: I found a solution that restarts the touchpad automatically via a script. Posted how to as answer! :-)
touchpad scrolling
add a comment |
I've recently done a fresh install of Ubuntu 18.10. I've experience an issue where the scroll function is not working properly after the system has been suspended. It's sluggish and slow, kinda like if it's only registering "half the scroll".
After a restart it works perfectly again. Any ideas?
EDIT: I found a solution that restarts the touchpad automatically via a script. Posted how to as answer! :-)
touchpad scrolling
I've recently done a fresh install of Ubuntu 18.10. I've experience an issue where the scroll function is not working properly after the system has been suspended. It's sluggish and slow, kinda like if it's only registering "half the scroll".
After a restart it works perfectly again. Any ideas?
EDIT: I found a solution that restarts the touchpad automatically via a script. Posted how to as answer! :-)
touchpad scrolling
touchpad scrolling
edited Mar 14 at 15:19
Mikkel
asked Mar 8 at 12:47
MikkelMikkel
556
556
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
After several tries, I managed to find a solution and made it run automatically after reading this thread. I've only tested it on Ubuntu 18.10:
Basically, restarting the touchpad with these commands fixes it:
First run:
sudo modprobe -r psmouse
Then:
sudo modprobe psmouse
But.. I didn't want to have to write those commands after every suspend. So I setup a script running the commands above automatically everytime I resume from suspend
Run commands automatically after suspend:
1) Create script with commands (open Terminal and type)
sudo touch yourscriptname.sh
This will create the file in your home folder.
2) Edit script
sudo nano yourscriptname.sh
Paste this in and save the file:
#!/bin/bash
modprobe -r psmouse && modprobe psmouse
3) Move to your "system" folder
cd /etc/systemd/system
4) Create service:
sudo touch yourservicename.service
5) Edit service:
nano yourservicename.service
Paste this in and save it afterwards
[Unit]
Description=Run user script after suspend
After=basic.target suspend.target hibernate.target
[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/home/yourusername/yourscriptname.sh
[Install]
WantedBy=basic.target suspend.target hibernate.target
6) Run chmod
sudo chmod +x /home/yourusername/yourscriptname.sh
7) Then run the following commands
systemctl daemon-reload
And:
sudo systemctl enable yourservicename.service
That should fix it!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124045%2ftouchpad-scroll-not-working-properly-after-suspend%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After several tries, I managed to find a solution and made it run automatically after reading this thread. I've only tested it on Ubuntu 18.10:
Basically, restarting the touchpad with these commands fixes it:
First run:
sudo modprobe -r psmouse
Then:
sudo modprobe psmouse
But.. I didn't want to have to write those commands after every suspend. So I setup a script running the commands above automatically everytime I resume from suspend
Run commands automatically after suspend:
1) Create script with commands (open Terminal and type)
sudo touch yourscriptname.sh
This will create the file in your home folder.
2) Edit script
sudo nano yourscriptname.sh
Paste this in and save the file:
#!/bin/bash
modprobe -r psmouse && modprobe psmouse
3) Move to your "system" folder
cd /etc/systemd/system
4) Create service:
sudo touch yourservicename.service
5) Edit service:
nano yourservicename.service
Paste this in and save it afterwards
[Unit]
Description=Run user script after suspend
After=basic.target suspend.target hibernate.target
[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/home/yourusername/yourscriptname.sh
[Install]
WantedBy=basic.target suspend.target hibernate.target
6) Run chmod
sudo chmod +x /home/yourusername/yourscriptname.sh
7) Then run the following commands
systemctl daemon-reload
And:
sudo systemctl enable yourservicename.service
That should fix it!
add a comment |
After several tries, I managed to find a solution and made it run automatically after reading this thread. I've only tested it on Ubuntu 18.10:
Basically, restarting the touchpad with these commands fixes it:
First run:
sudo modprobe -r psmouse
Then:
sudo modprobe psmouse
But.. I didn't want to have to write those commands after every suspend. So I setup a script running the commands above automatically everytime I resume from suspend
Run commands automatically after suspend:
1) Create script with commands (open Terminal and type)
sudo touch yourscriptname.sh
This will create the file in your home folder.
2) Edit script
sudo nano yourscriptname.sh
Paste this in and save the file:
#!/bin/bash
modprobe -r psmouse && modprobe psmouse
3) Move to your "system" folder
cd /etc/systemd/system
4) Create service:
sudo touch yourservicename.service
5) Edit service:
nano yourservicename.service
Paste this in and save it afterwards
[Unit]
Description=Run user script after suspend
After=basic.target suspend.target hibernate.target
[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/home/yourusername/yourscriptname.sh
[Install]
WantedBy=basic.target suspend.target hibernate.target
6) Run chmod
sudo chmod +x /home/yourusername/yourscriptname.sh
7) Then run the following commands
systemctl daemon-reload
And:
sudo systemctl enable yourservicename.service
That should fix it!
add a comment |
After several tries, I managed to find a solution and made it run automatically after reading this thread. I've only tested it on Ubuntu 18.10:
Basically, restarting the touchpad with these commands fixes it:
First run:
sudo modprobe -r psmouse
Then:
sudo modprobe psmouse
But.. I didn't want to have to write those commands after every suspend. So I setup a script running the commands above automatically everytime I resume from suspend
Run commands automatically after suspend:
1) Create script with commands (open Terminal and type)
sudo touch yourscriptname.sh
This will create the file in your home folder.
2) Edit script
sudo nano yourscriptname.sh
Paste this in and save the file:
#!/bin/bash
modprobe -r psmouse && modprobe psmouse
3) Move to your "system" folder
cd /etc/systemd/system
4) Create service:
sudo touch yourservicename.service
5) Edit service:
nano yourservicename.service
Paste this in and save it afterwards
[Unit]
Description=Run user script after suspend
After=basic.target suspend.target hibernate.target
[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/home/yourusername/yourscriptname.sh
[Install]
WantedBy=basic.target suspend.target hibernate.target
6) Run chmod
sudo chmod +x /home/yourusername/yourscriptname.sh
7) Then run the following commands
systemctl daemon-reload
And:
sudo systemctl enable yourservicename.service
That should fix it!
After several tries, I managed to find a solution and made it run automatically after reading this thread. I've only tested it on Ubuntu 18.10:
Basically, restarting the touchpad with these commands fixes it:
First run:
sudo modprobe -r psmouse
Then:
sudo modprobe psmouse
But.. I didn't want to have to write those commands after every suspend. So I setup a script running the commands above automatically everytime I resume from suspend
Run commands automatically after suspend:
1) Create script with commands (open Terminal and type)
sudo touch yourscriptname.sh
This will create the file in your home folder.
2) Edit script
sudo nano yourscriptname.sh
Paste this in and save the file:
#!/bin/bash
modprobe -r psmouse && modprobe psmouse
3) Move to your "system" folder
cd /etc/systemd/system
4) Create service:
sudo touch yourservicename.service
5) Edit service:
nano yourservicename.service
Paste this in and save it afterwards
[Unit]
Description=Run user script after suspend
After=basic.target suspend.target hibernate.target
[Service]
User=root
Environment=DISPLAY=:0
ExecStart=/home/yourusername/yourscriptname.sh
[Install]
WantedBy=basic.target suspend.target hibernate.target
6) Run chmod
sudo chmod +x /home/yourusername/yourscriptname.sh
7) Then run the following commands
systemctl daemon-reload
And:
sudo systemctl enable yourservicename.service
That should fix it!
answered Mar 14 at 15:18
MikkelMikkel
556
556
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1124045%2ftouchpad-scroll-not-working-properly-after-suspend%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown