Is there a way to export all KWin Window Rules in KDE at once?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







1















One of the happy surprises switching to Ubuntu again from the ever increasingly bloated Windows (10) was to find the simple KWin Rules, very clear and with focus stealing prevention (its so disruptive to have a random or background confirmation pop up while working on something in Windows).



Anyway, I have one default one for windows, and then others for specific windows (and then one for krunner screwed it up and the application launcher, so I'm trying to export all before resetting), but I just realized export only does them one at a time. And I couldn't find any location for the actual config to backup. Below are a few links I could find and it doesn't look like there is a way export in bulk. amiwrong?



No response about a location for the config data:
https://forum.kde.org/viewtopic.php?f=17&t=157045



General lack of import/export of KDE settings:
https://www.reddit.com/r/kde/comments/8f4az2/is_there_a_way_to_export_and_backup_kde_setings/ and
https://www.reddit.com/r/kde/comments/3bi2k1/is_there_a_way_to_export_settings_in_kde/










share|improve this question























  • Have you looked at ~/.config/kwinrulesrc? Maybe you can just copy that over to another system. Maybe the new system will "see" those rules after a logout or reboot?

    – DK Bose
    Apr 7 at 4:50






  • 1





    That's it, thank you!

    – alchemy
    Apr 7 at 23:03











  • If my comment works for you, please feel free to use it as part of an answer and then ping me by typing @DK and pressing tab to autocomplete my user name.

    – DK Bose
    Apr 8 at 5:09











  • @DKBose ..pinging, thanks again

    – alchemy
    Apr 8 at 17:10


















1















One of the happy surprises switching to Ubuntu again from the ever increasingly bloated Windows (10) was to find the simple KWin Rules, very clear and with focus stealing prevention (its so disruptive to have a random or background confirmation pop up while working on something in Windows).



Anyway, I have one default one for windows, and then others for specific windows (and then one for krunner screwed it up and the application launcher, so I'm trying to export all before resetting), but I just realized export only does them one at a time. And I couldn't find any location for the actual config to backup. Below are a few links I could find and it doesn't look like there is a way export in bulk. amiwrong?



No response about a location for the config data:
https://forum.kde.org/viewtopic.php?f=17&t=157045



General lack of import/export of KDE settings:
https://www.reddit.com/r/kde/comments/8f4az2/is_there_a_way_to_export_and_backup_kde_setings/ and
https://www.reddit.com/r/kde/comments/3bi2k1/is_there_a_way_to_export_settings_in_kde/










share|improve this question























  • Have you looked at ~/.config/kwinrulesrc? Maybe you can just copy that over to another system. Maybe the new system will "see" those rules after a logout or reboot?

    – DK Bose
    Apr 7 at 4:50






  • 1





    That's it, thank you!

    – alchemy
    Apr 7 at 23:03











  • If my comment works for you, please feel free to use it as part of an answer and then ping me by typing @DK and pressing tab to autocomplete my user name.

    – DK Bose
    Apr 8 at 5:09











  • @DKBose ..pinging, thanks again

    – alchemy
    Apr 8 at 17:10














1












1








1








One of the happy surprises switching to Ubuntu again from the ever increasingly bloated Windows (10) was to find the simple KWin Rules, very clear and with focus stealing prevention (its so disruptive to have a random or background confirmation pop up while working on something in Windows).



Anyway, I have one default one for windows, and then others for specific windows (and then one for krunner screwed it up and the application launcher, so I'm trying to export all before resetting), but I just realized export only does them one at a time. And I couldn't find any location for the actual config to backup. Below are a few links I could find and it doesn't look like there is a way export in bulk. amiwrong?



No response about a location for the config data:
https://forum.kde.org/viewtopic.php?f=17&t=157045



General lack of import/export of KDE settings:
https://www.reddit.com/r/kde/comments/8f4az2/is_there_a_way_to_export_and_backup_kde_setings/ and
https://www.reddit.com/r/kde/comments/3bi2k1/is_there_a_way_to_export_settings_in_kde/










share|improve this question














One of the happy surprises switching to Ubuntu again from the ever increasingly bloated Windows (10) was to find the simple KWin Rules, very clear and with focus stealing prevention (its so disruptive to have a random or background confirmation pop up while working on something in Windows).



Anyway, I have one default one for windows, and then others for specific windows (and then one for krunner screwed it up and the application launcher, so I'm trying to export all before resetting), but I just realized export only does them one at a time. And I couldn't find any location for the actual config to backup. Below are a few links I could find and it doesn't look like there is a way export in bulk. amiwrong?



No response about a location for the config data:
https://forum.kde.org/viewtopic.php?f=17&t=157045



General lack of import/export of KDE settings:
https://www.reddit.com/r/kde/comments/8f4az2/is_there_a_way_to_export_and_backup_kde_setings/ and
https://www.reddit.com/r/kde/comments/3bi2k1/is_there_a_way_to_export_settings_in_kde/







kubuntu kde kde5






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 7 at 1:15









alchemyalchemy

264




264













  • Have you looked at ~/.config/kwinrulesrc? Maybe you can just copy that over to another system. Maybe the new system will "see" those rules after a logout or reboot?

    – DK Bose
    Apr 7 at 4:50






  • 1





    That's it, thank you!

    – alchemy
    Apr 7 at 23:03











  • If my comment works for you, please feel free to use it as part of an answer and then ping me by typing @DK and pressing tab to autocomplete my user name.

    – DK Bose
    Apr 8 at 5:09











  • @DKBose ..pinging, thanks again

    – alchemy
    Apr 8 at 17:10



















  • Have you looked at ~/.config/kwinrulesrc? Maybe you can just copy that over to another system. Maybe the new system will "see" those rules after a logout or reboot?

    – DK Bose
    Apr 7 at 4:50






  • 1





    That's it, thank you!

    – alchemy
    Apr 7 at 23:03











  • If my comment works for you, please feel free to use it as part of an answer and then ping me by typing @DK and pressing tab to autocomplete my user name.

    – DK Bose
    Apr 8 at 5:09











  • @DKBose ..pinging, thanks again

    – alchemy
    Apr 8 at 17:10

















Have you looked at ~/.config/kwinrulesrc? Maybe you can just copy that over to another system. Maybe the new system will "see" those rules after a logout or reboot?

– DK Bose
Apr 7 at 4:50





Have you looked at ~/.config/kwinrulesrc? Maybe you can just copy that over to another system. Maybe the new system will "see" those rules after a logout or reboot?

– DK Bose
Apr 7 at 4:50




1




1





That's it, thank you!

– alchemy
Apr 7 at 23:03





That's it, thank you!

– alchemy
Apr 7 at 23:03













If my comment works for you, please feel free to use it as part of an answer and then ping me by typing @DK and pressing tab to autocomplete my user name.

– DK Bose
Apr 8 at 5:09





If my comment works for you, please feel free to use it as part of an answer and then ping me by typing @DK and pressing tab to autocomplete my user name.

– DK Bose
Apr 8 at 5:09













@DKBose ..pinging, thanks again

– alchemy
Apr 8 at 17:10





@DKBose ..pinging, thanks again

– alchemy
Apr 8 at 17:10










1 Answer
1






active

oldest

votes


















2














As suggested by @DK Bose, ~/.config/kwinrulesrc is where these settings reside.






share|improve this answer


























    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131773%2fis-there-a-way-to-export-all-kwin-window-rules-in-kde-at-once%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









    2














    As suggested by @DK Bose, ~/.config/kwinrulesrc is where these settings reside.






    share|improve this answer






























      2














      As suggested by @DK Bose, ~/.config/kwinrulesrc is where these settings reside.






      share|improve this answer




























        2












        2








        2







        As suggested by @DK Bose, ~/.config/kwinrulesrc is where these settings reside.






        share|improve this answer















        As suggested by @DK Bose, ~/.config/kwinrulesrc is where these settings reside.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Apr 8 at 18:54

























        answered Apr 8 at 17:08









        alchemyalchemy

        264




        264






























            draft saved

            draft discarded




















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1131773%2fis-there-a-way-to-export-all-kwin-window-rules-in-kde-at-once%23new-answer', 'question_page');
            }
            );

            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







            Popular posts from this blog

            How did Captain America manage to do this?

            迪纳利

            南乌拉尔铁路局