Revert changes made by synaptics synclient

Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have been trying out various synaptics settings (using synclient) and want to revert them all.
(I want to get a clean post-boot state for a final test before commiting the changes to the config file.)
How can I revert the synclient changes to the post-boot configuration without rebooting?
Is there a way of dumping / restoring configuration?
linux arch-linux touchpad
add a comment |Â
up vote
1
down vote
favorite
I have been trying out various synaptics settings (using synclient) and want to revert them all.
(I want to get a clean post-boot state for a final test before commiting the changes to the config file.)
How can I revert the synclient changes to the post-boot configuration without rebooting?
Is there a way of dumping / restoring configuration?
linux arch-linux touchpad
What kind of edits did you apply?
â mattia.b89
Mar 25 at 13:38
I was usingsynclient- question updated to reflect this.
â Tom Hale
Mar 28 at 9:50
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have been trying out various synaptics settings (using synclient) and want to revert them all.
(I want to get a clean post-boot state for a final test before commiting the changes to the config file.)
How can I revert the synclient changes to the post-boot configuration without rebooting?
Is there a way of dumping / restoring configuration?
linux arch-linux touchpad
I have been trying out various synaptics settings (using synclient) and want to revert them all.
(I want to get a clean post-boot state for a final test before commiting the changes to the config file.)
How can I revert the synclient changes to the post-boot configuration without rebooting?
Is there a way of dumping / restoring configuration?
linux arch-linux touchpad
edited Mar 28 at 9:50
asked Mar 25 at 7:29
Tom Hale
5,71312472
5,71312472
What kind of edits did you apply?
â mattia.b89
Mar 25 at 13:38
I was usingsynclient- question updated to reflect this.
â Tom Hale
Mar 28 at 9:50
add a comment |Â
What kind of edits did you apply?
â mattia.b89
Mar 25 at 13:38
I was usingsynclient- question updated to reflect this.
â Tom Hale
Mar 28 at 9:50
What kind of edits did you apply?
â mattia.b89
Mar 25 at 13:38
What kind of edits did you apply?
â mattia.b89
Mar 25 at 13:38
I was using
synclient - question updated to reflect this.â Tom Hale
Mar 28 at 9:50
I was using
synclient - question updated to reflect this.â Tom Hale
Mar 28 at 9:50
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
I just did a man synclient and the only file it refers to is /etc/X11/xorg.conf. That's not definitive proof of anything, but it's a good place to start. If you're using Wayland instead of X, I have no idea.
I don't know exactly when that file gets read, but it's sure to be read when X11 starts, so if you replace it with a backup and restart X that should do it.
Doing so will get you and any other GUI users logged out in the process which is a bit inconvenient.
If you're going to be doing this a lot, then you could write a script that builds two commands/scripts (or just do it manually), one to modify the settings and one to put them back using synclient. IIRC, changes made with synclient take place immediately, so you should be able to undo anything you've changed on the fly.
If you run synclient without any arguments, it will list all the current settings (before you modify things) so you can capture their values for the restore script. You'll have to parse and process the output yourself, but it's just key-value pairs, so it's not too hard.
I thought that maybe you could have a local user setup for X11, but it appears that this is not possible by design. However, the article shows a possible workaround for that if you really need it.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
I just did a man synclient and the only file it refers to is /etc/X11/xorg.conf. That's not definitive proof of anything, but it's a good place to start. If you're using Wayland instead of X, I have no idea.
I don't know exactly when that file gets read, but it's sure to be read when X11 starts, so if you replace it with a backup and restart X that should do it.
Doing so will get you and any other GUI users logged out in the process which is a bit inconvenient.
If you're going to be doing this a lot, then you could write a script that builds two commands/scripts (or just do it manually), one to modify the settings and one to put them back using synclient. IIRC, changes made with synclient take place immediately, so you should be able to undo anything you've changed on the fly.
If you run synclient without any arguments, it will list all the current settings (before you modify things) so you can capture their values for the restore script. You'll have to parse and process the output yourself, but it's just key-value pairs, so it's not too hard.
I thought that maybe you could have a local user setup for X11, but it appears that this is not possible by design. However, the article shows a possible workaround for that if you really need it.
add a comment |Â
up vote
2
down vote
accepted
I just did a man synclient and the only file it refers to is /etc/X11/xorg.conf. That's not definitive proof of anything, but it's a good place to start. If you're using Wayland instead of X, I have no idea.
I don't know exactly when that file gets read, but it's sure to be read when X11 starts, so if you replace it with a backup and restart X that should do it.
Doing so will get you and any other GUI users logged out in the process which is a bit inconvenient.
If you're going to be doing this a lot, then you could write a script that builds two commands/scripts (or just do it manually), one to modify the settings and one to put them back using synclient. IIRC, changes made with synclient take place immediately, so you should be able to undo anything you've changed on the fly.
If you run synclient without any arguments, it will list all the current settings (before you modify things) so you can capture their values for the restore script. You'll have to parse and process the output yourself, but it's just key-value pairs, so it's not too hard.
I thought that maybe you could have a local user setup for X11, but it appears that this is not possible by design. However, the article shows a possible workaround for that if you really need it.
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
I just did a man synclient and the only file it refers to is /etc/X11/xorg.conf. That's not definitive proof of anything, but it's a good place to start. If you're using Wayland instead of X, I have no idea.
I don't know exactly when that file gets read, but it's sure to be read when X11 starts, so if you replace it with a backup and restart X that should do it.
Doing so will get you and any other GUI users logged out in the process which is a bit inconvenient.
If you're going to be doing this a lot, then you could write a script that builds two commands/scripts (or just do it manually), one to modify the settings and one to put them back using synclient. IIRC, changes made with synclient take place immediately, so you should be able to undo anything you've changed on the fly.
If you run synclient without any arguments, it will list all the current settings (before you modify things) so you can capture their values for the restore script. You'll have to parse and process the output yourself, but it's just key-value pairs, so it's not too hard.
I thought that maybe you could have a local user setup for X11, but it appears that this is not possible by design. However, the article shows a possible workaround for that if you really need it.
I just did a man synclient and the only file it refers to is /etc/X11/xorg.conf. That's not definitive proof of anything, but it's a good place to start. If you're using Wayland instead of X, I have no idea.
I don't know exactly when that file gets read, but it's sure to be read when X11 starts, so if you replace it with a backup and restart X that should do it.
Doing so will get you and any other GUI users logged out in the process which is a bit inconvenient.
If you're going to be doing this a lot, then you could write a script that builds two commands/scripts (or just do it manually), one to modify the settings and one to put them back using synclient. IIRC, changes made with synclient take place immediately, so you should be able to undo anything you've changed on the fly.
If you run synclient without any arguments, it will list all the current settings (before you modify things) so you can capture their values for the restore script. You'll have to parse and process the output yourself, but it's just key-value pairs, so it's not too hard.
I thought that maybe you could have a local user setup for X11, but it appears that this is not possible by design. However, the article shows a possible workaround for that if you really need it.
edited Mar 31 at 6:14
answered Mar 31 at 6:03
Joe
930816
930816
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f433375%2frevert-changes-made-by-synaptics-synclient%23new-answer', 'question_page');
);
Post as a guest
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
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
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
What kind of edits did you apply?
â mattia.b89
Mar 25 at 13:38
I was using
synclient- question updated to reflect this.â Tom Hale
Mar 28 at 9:50