How to move window button position












3















While I working on some pdf file, I've found the window button (Maximize, Minimize, Close) has a bad position, they're in line with pdf tools button.



ugly window button :(
This seems had to do with the fact that I used Lubuntu, in which Lubuntu uses Openbox window manager, whereas Evince uses GTK (CMIIW). I try installed Okular, and it seemed to do fine without problem.



How do I make it look like this—if possible?



desired










share|improve this question


















  • 2





    Some clarifications, please. What is CMIIW? Is your problem with Evince? Evince, I assume is using "client-side decorations" and so its buttons will be drawn by Evince itself and not the window manager of your OS. Okular does not use CSD and so, its buttons are placed by the window manager.

    – DK Bose
    yesterday











  • Thanks ! I followed your suggestion about CSD, and discovered a package called gtk3-nocsd, it fixes the problem that bugging me since installing Lubuntu. Thanks ! You're a lifesaver :D

    – Liso
    22 hours ago






  • 1





    @DKBose your method looks as answer, consider to write it this way :)

    – N0rbert
    12 hours ago











  • @N0rbert, I posted an answer and linked to a related question. One answer there has fewer votes but is better, IMO!

    – DK Bose
    2 hours ago
















3















While I working on some pdf file, I've found the window button (Maximize, Minimize, Close) has a bad position, they're in line with pdf tools button.



ugly window button :(
This seems had to do with the fact that I used Lubuntu, in which Lubuntu uses Openbox window manager, whereas Evince uses GTK (CMIIW). I try installed Okular, and it seemed to do fine without problem.



How do I make it look like this—if possible?



desired










share|improve this question


















  • 2





    Some clarifications, please. What is CMIIW? Is your problem with Evince? Evince, I assume is using "client-side decorations" and so its buttons will be drawn by Evince itself and not the window manager of your OS. Okular does not use CSD and so, its buttons are placed by the window manager.

    – DK Bose
    yesterday











  • Thanks ! I followed your suggestion about CSD, and discovered a package called gtk3-nocsd, it fixes the problem that bugging me since installing Lubuntu. Thanks ! You're a lifesaver :D

    – Liso
    22 hours ago






  • 1





    @DKBose your method looks as answer, consider to write it this way :)

    – N0rbert
    12 hours ago











  • @N0rbert, I posted an answer and linked to a related question. One answer there has fewer votes but is better, IMO!

    – DK Bose
    2 hours ago














3












3








3


0






While I working on some pdf file, I've found the window button (Maximize, Minimize, Close) has a bad position, they're in line with pdf tools button.



ugly window button :(
This seems had to do with the fact that I used Lubuntu, in which Lubuntu uses Openbox window manager, whereas Evince uses GTK (CMIIW). I try installed Okular, and it seemed to do fine without problem.



How do I make it look like this—if possible?



desired










share|improve this question














While I working on some pdf file, I've found the window button (Maximize, Minimize, Close) has a bad position, they're in line with pdf tools button.



ugly window button :(
This seems had to do with the fact that I used Lubuntu, in which Lubuntu uses Openbox window manager, whereas Evince uses GTK (CMIIW). I try installed Okular, and it seemed to do fine without problem.



How do I make it look like this—if possible?



desired







18.04 lubuntu window-manager






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked yesterday









LisoLiso

6,60222145




6,60222145








  • 2





    Some clarifications, please. What is CMIIW? Is your problem with Evince? Evince, I assume is using "client-side decorations" and so its buttons will be drawn by Evince itself and not the window manager of your OS. Okular does not use CSD and so, its buttons are placed by the window manager.

    – DK Bose
    yesterday











  • Thanks ! I followed your suggestion about CSD, and discovered a package called gtk3-nocsd, it fixes the problem that bugging me since installing Lubuntu. Thanks ! You're a lifesaver :D

    – Liso
    22 hours ago






  • 1





    @DKBose your method looks as answer, consider to write it this way :)

    – N0rbert
    12 hours ago











  • @N0rbert, I posted an answer and linked to a related question. One answer there has fewer votes but is better, IMO!

    – DK Bose
    2 hours ago














  • 2





    Some clarifications, please. What is CMIIW? Is your problem with Evince? Evince, I assume is using "client-side decorations" and so its buttons will be drawn by Evince itself and not the window manager of your OS. Okular does not use CSD and so, its buttons are placed by the window manager.

    – DK Bose
    yesterday











  • Thanks ! I followed your suggestion about CSD, and discovered a package called gtk3-nocsd, it fixes the problem that bugging me since installing Lubuntu. Thanks ! You're a lifesaver :D

    – Liso
    22 hours ago






  • 1





    @DKBose your method looks as answer, consider to write it this way :)

    – N0rbert
    12 hours ago











  • @N0rbert, I posted an answer and linked to a related question. One answer there has fewer votes but is better, IMO!

    – DK Bose
    2 hours ago








2




2





Some clarifications, please. What is CMIIW? Is your problem with Evince? Evince, I assume is using "client-side decorations" and so its buttons will be drawn by Evince itself and not the window manager of your OS. Okular does not use CSD and so, its buttons are placed by the window manager.

– DK Bose
yesterday





Some clarifications, please. What is CMIIW? Is your problem with Evince? Evince, I assume is using "client-side decorations" and so its buttons will be drawn by Evince itself and not the window manager of your OS. Okular does not use CSD and so, its buttons are placed by the window manager.

– DK Bose
yesterday













Thanks ! I followed your suggestion about CSD, and discovered a package called gtk3-nocsd, it fixes the problem that bugging me since installing Lubuntu. Thanks ! You're a lifesaver :D

– Liso
22 hours ago





Thanks ! I followed your suggestion about CSD, and discovered a package called gtk3-nocsd, it fixes the problem that bugging me since installing Lubuntu. Thanks ! You're a lifesaver :D

– Liso
22 hours ago




1




1





@DKBose your method looks as answer, consider to write it this way :)

– N0rbert
12 hours ago





@DKBose your method looks as answer, consider to write it this way :)

– N0rbert
12 hours ago













@N0rbert, I posted an answer and linked to a related question. One answer there has fewer votes but is better, IMO!

– DK Bose
2 hours ago





@N0rbert, I posted an answer and linked to a related question. One answer there has fewer votes but is better, IMO!

– DK Bose
2 hours ago










1 Answer
1






active

oldest

votes


















2














A related question is How do I disable client side decoration globally in GNOME? and one answer refers to using gtk3-nocsd.



gtk3-nocsd is in the repositories and can be installed using sudo apt install gtk3-nocsd. Logging out and logging back in is needed to enable it.



The present question refers to Evince which is an application using client-side decorations (CSD) by default. After enabling gtk3-nocsd and logging out and logging in, the maximize, minimize, and close buttons are still in the top-right corner.



However, Lubuntu has the obconf package that allows the user to alter what appears in a window's title bar, assuming CSD has been disabled.



Pressing Alt+F2 and typing obconf will launch the Openbox Configuration Manager. The Appearance tab allows the user to move the maximize, minimize, and close buttons to the top-left corner of the title bar by changing the original order from "NLIMC" to "CIMLN" or whatever the user desires.



obconf



The image below shows both PCManFM (foreground) and Evince (background) with the buttons on the left.



Just for completeness, Okular is a qt-based application and currently doesn't apply CSD.



After changing order of title bar components






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%2f1123372%2fhow-to-move-window-button-position%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














    A related question is How do I disable client side decoration globally in GNOME? and one answer refers to using gtk3-nocsd.



    gtk3-nocsd is in the repositories and can be installed using sudo apt install gtk3-nocsd. Logging out and logging back in is needed to enable it.



    The present question refers to Evince which is an application using client-side decorations (CSD) by default. After enabling gtk3-nocsd and logging out and logging in, the maximize, minimize, and close buttons are still in the top-right corner.



    However, Lubuntu has the obconf package that allows the user to alter what appears in a window's title bar, assuming CSD has been disabled.



    Pressing Alt+F2 and typing obconf will launch the Openbox Configuration Manager. The Appearance tab allows the user to move the maximize, minimize, and close buttons to the top-left corner of the title bar by changing the original order from "NLIMC" to "CIMLN" or whatever the user desires.



    obconf



    The image below shows both PCManFM (foreground) and Evince (background) with the buttons on the left.



    Just for completeness, Okular is a qt-based application and currently doesn't apply CSD.



    After changing order of title bar components






    share|improve this answer




























      2














      A related question is How do I disable client side decoration globally in GNOME? and one answer refers to using gtk3-nocsd.



      gtk3-nocsd is in the repositories and can be installed using sudo apt install gtk3-nocsd. Logging out and logging back in is needed to enable it.



      The present question refers to Evince which is an application using client-side decorations (CSD) by default. After enabling gtk3-nocsd and logging out and logging in, the maximize, minimize, and close buttons are still in the top-right corner.



      However, Lubuntu has the obconf package that allows the user to alter what appears in a window's title bar, assuming CSD has been disabled.



      Pressing Alt+F2 and typing obconf will launch the Openbox Configuration Manager. The Appearance tab allows the user to move the maximize, minimize, and close buttons to the top-left corner of the title bar by changing the original order from "NLIMC" to "CIMLN" or whatever the user desires.



      obconf



      The image below shows both PCManFM (foreground) and Evince (background) with the buttons on the left.



      Just for completeness, Okular is a qt-based application and currently doesn't apply CSD.



      After changing order of title bar components






      share|improve this answer


























        2












        2








        2







        A related question is How do I disable client side decoration globally in GNOME? and one answer refers to using gtk3-nocsd.



        gtk3-nocsd is in the repositories and can be installed using sudo apt install gtk3-nocsd. Logging out and logging back in is needed to enable it.



        The present question refers to Evince which is an application using client-side decorations (CSD) by default. After enabling gtk3-nocsd and logging out and logging in, the maximize, minimize, and close buttons are still in the top-right corner.



        However, Lubuntu has the obconf package that allows the user to alter what appears in a window's title bar, assuming CSD has been disabled.



        Pressing Alt+F2 and typing obconf will launch the Openbox Configuration Manager. The Appearance tab allows the user to move the maximize, minimize, and close buttons to the top-left corner of the title bar by changing the original order from "NLIMC" to "CIMLN" or whatever the user desires.



        obconf



        The image below shows both PCManFM (foreground) and Evince (background) with the buttons on the left.



        Just for completeness, Okular is a qt-based application and currently doesn't apply CSD.



        After changing order of title bar components






        share|improve this answer













        A related question is How do I disable client side decoration globally in GNOME? and one answer refers to using gtk3-nocsd.



        gtk3-nocsd is in the repositories and can be installed using sudo apt install gtk3-nocsd. Logging out and logging back in is needed to enable it.



        The present question refers to Evince which is an application using client-side decorations (CSD) by default. After enabling gtk3-nocsd and logging out and logging in, the maximize, minimize, and close buttons are still in the top-right corner.



        However, Lubuntu has the obconf package that allows the user to alter what appears in a window's title bar, assuming CSD has been disabled.



        Pressing Alt+F2 and typing obconf will launch the Openbox Configuration Manager. The Appearance tab allows the user to move the maximize, minimize, and close buttons to the top-left corner of the title bar by changing the original order from "NLIMC" to "CIMLN" or whatever the user desires.



        obconf



        The image below shows both PCManFM (foreground) and Evince (background) with the buttons on the left.



        Just for completeness, Okular is a qt-based application and currently doesn't apply CSD.



        After changing order of title bar components







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered 2 hours ago









        DK BoseDK Bose

        14.3k124285




        14.3k124285






























            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%2f1123372%2fhow-to-move-window-button-position%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

            數位音樂下載

            When can things happen in Etherscan, such as the picture below?

            格利澤436b