Revert changes made by synaptics synclient

The name of the pictureThe name of the pictureThe name of the pictureClash 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?







share|improve this question






















  • 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














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?







share|improve this question






















  • 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












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?







share|improve this question














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?









share|improve this question













share|improve this question




share|improve this question








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 using synclient - 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










  • I was using synclient - 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










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.






share|improve this answer






















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );








     

    draft saved


    draft discarded


















    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






























    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.






    share|improve this answer


























      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.






      share|improve this answer
























        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.






        share|improve this answer














        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.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 31 at 6:14

























        answered Mar 31 at 6:03









        Joe

        930816




        930816






















             

            draft saved


            draft discarded


























             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            Peggy Mitchell

            Palaiologos

            The Forum (Inglewood, California)