What is the “Leave” option on the power menu in lubuntu?












0















In the default panel on Lubuntu (LXQT Desktop), there are multiple power options:



Leave option screenshot



What does the "Leave" option do?










share|improve this question

























  • I don't have it, but it uses the same icon as "Shutdown" so that seems a reasonable guess.

    – Jeff Schaller
    Feb 23 at 21:43











  • Yeah it doesn’t do anything it’s weird

    – Mark Deven
    Feb 23 at 23:12
















0















In the default panel on Lubuntu (LXQT Desktop), there are multiple power options:



Leave option screenshot



What does the "Leave" option do?










share|improve this question

























  • I don't have it, but it uses the same icon as "Shutdown" so that seems a reasonable guess.

    – Jeff Schaller
    Feb 23 at 21:43











  • Yeah it doesn’t do anything it’s weird

    – Mark Deven
    Feb 23 at 23:12














0












0








0








In the default panel on Lubuntu (LXQT Desktop), there are multiple power options:



Leave option screenshot



What does the "Leave" option do?










share|improve this question
















In the default panel on Lubuntu (LXQT Desktop), there are multiple power options:



Leave option screenshot



What does the "Leave" option do?







lubuntu






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 24 at 18:50









Haxiel

3,1801920




3,1801920










asked Feb 23 at 19:34









Mark DevenMark Deven

1126




1126













  • I don't have it, but it uses the same icon as "Shutdown" so that seems a reasonable guess.

    – Jeff Schaller
    Feb 23 at 21:43











  • Yeah it doesn’t do anything it’s weird

    – Mark Deven
    Feb 23 at 23:12



















  • I don't have it, but it uses the same icon as "Shutdown" so that seems a reasonable guess.

    – Jeff Schaller
    Feb 23 at 21:43











  • Yeah it doesn’t do anything it’s weird

    – Mark Deven
    Feb 23 at 23:12

















I don't have it, but it uses the same icon as "Shutdown" so that seems a reasonable guess.

– Jeff Schaller
Feb 23 at 21:43





I don't have it, but it uses the same icon as "Shutdown" so that seems a reasonable guess.

– Jeff Schaller
Feb 23 at 21:43













Yeah it doesn’t do anything it’s weird

– Mark Deven
Feb 23 at 23:12





Yeah it doesn’t do anything it’s weird

– Mark Deven
Feb 23 at 23:12










1 Answer
1






active

oldest

votes


















1














A bit of searching led me to the GitHub repository for LXQT and this issue about customizing the 'Leave' options.



So the repo contains the lxqt-leave.desktop.in file:



[Desktop Entry]
Type=Application
Name=Leave
GenericName=Leave
Comment=Leave dialog
Exec=lxqt-leave
Icon=system-shutdown
Categories=System;X-Leave;
OnlyShowIn=LXQt;


Comparing that to the lxqt-shutdown.desktop.in file:



[Desktop Entry]
Type=Application
Name=Shutdown
GenericName=Shutdown
Comment=shutdown the machine
Exec=lxqt-leave --shutdown
Icon=system-shutdown
Categories=System;X-Leave;
OnlyShowIn=LXQt;


There is a difference in the Exec argument here. While 'Shutdown' specifies lxqt-leave --shutdown, the 'Leave' option simply runs lxqt-leave.



So what is the behaviour then? The man page has some information on this:




lxqt-leave is a graphical Qt tool for easily triggering leave session
actions: logout, reboot, shutdown, hibernate, and lock screen. If run
with an argument, the dialog is not shown and the action is executed
directly.




So the documentation says the the 'Leave' option (which is equivalent to running lxqt-leave) should give you a dialog from which you'd be able to select login & power management options, such as logout, hibernate, shutdown, reboot. I am not a user of Lubuntu, so I can't be more specific about why that does not happen for you. Perhaps you can try running lxqt-leave from a command-line and see if it works as intended or if it throws an error.






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',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f502561%2fwhat-is-the-leave-option-on-the-power-menu-in-lubuntu%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









    1














    A bit of searching led me to the GitHub repository for LXQT and this issue about customizing the 'Leave' options.



    So the repo contains the lxqt-leave.desktop.in file:



    [Desktop Entry]
    Type=Application
    Name=Leave
    GenericName=Leave
    Comment=Leave dialog
    Exec=lxqt-leave
    Icon=system-shutdown
    Categories=System;X-Leave;
    OnlyShowIn=LXQt;


    Comparing that to the lxqt-shutdown.desktop.in file:



    [Desktop Entry]
    Type=Application
    Name=Shutdown
    GenericName=Shutdown
    Comment=shutdown the machine
    Exec=lxqt-leave --shutdown
    Icon=system-shutdown
    Categories=System;X-Leave;
    OnlyShowIn=LXQt;


    There is a difference in the Exec argument here. While 'Shutdown' specifies lxqt-leave --shutdown, the 'Leave' option simply runs lxqt-leave.



    So what is the behaviour then? The man page has some information on this:




    lxqt-leave is a graphical Qt tool for easily triggering leave session
    actions: logout, reboot, shutdown, hibernate, and lock screen. If run
    with an argument, the dialog is not shown and the action is executed
    directly.




    So the documentation says the the 'Leave' option (which is equivalent to running lxqt-leave) should give you a dialog from which you'd be able to select login & power management options, such as logout, hibernate, shutdown, reboot. I am not a user of Lubuntu, so I can't be more specific about why that does not happen for you. Perhaps you can try running lxqt-leave from a command-line and see if it works as intended or if it throws an error.






    share|improve this answer




























      1














      A bit of searching led me to the GitHub repository for LXQT and this issue about customizing the 'Leave' options.



      So the repo contains the lxqt-leave.desktop.in file:



      [Desktop Entry]
      Type=Application
      Name=Leave
      GenericName=Leave
      Comment=Leave dialog
      Exec=lxqt-leave
      Icon=system-shutdown
      Categories=System;X-Leave;
      OnlyShowIn=LXQt;


      Comparing that to the lxqt-shutdown.desktop.in file:



      [Desktop Entry]
      Type=Application
      Name=Shutdown
      GenericName=Shutdown
      Comment=shutdown the machine
      Exec=lxqt-leave --shutdown
      Icon=system-shutdown
      Categories=System;X-Leave;
      OnlyShowIn=LXQt;


      There is a difference in the Exec argument here. While 'Shutdown' specifies lxqt-leave --shutdown, the 'Leave' option simply runs lxqt-leave.



      So what is the behaviour then? The man page has some information on this:




      lxqt-leave is a graphical Qt tool for easily triggering leave session
      actions: logout, reboot, shutdown, hibernate, and lock screen. If run
      with an argument, the dialog is not shown and the action is executed
      directly.




      So the documentation says the the 'Leave' option (which is equivalent to running lxqt-leave) should give you a dialog from which you'd be able to select login & power management options, such as logout, hibernate, shutdown, reboot. I am not a user of Lubuntu, so I can't be more specific about why that does not happen for you. Perhaps you can try running lxqt-leave from a command-line and see if it works as intended or if it throws an error.






      share|improve this answer


























        1












        1








        1







        A bit of searching led me to the GitHub repository for LXQT and this issue about customizing the 'Leave' options.



        So the repo contains the lxqt-leave.desktop.in file:



        [Desktop Entry]
        Type=Application
        Name=Leave
        GenericName=Leave
        Comment=Leave dialog
        Exec=lxqt-leave
        Icon=system-shutdown
        Categories=System;X-Leave;
        OnlyShowIn=LXQt;


        Comparing that to the lxqt-shutdown.desktop.in file:



        [Desktop Entry]
        Type=Application
        Name=Shutdown
        GenericName=Shutdown
        Comment=shutdown the machine
        Exec=lxqt-leave --shutdown
        Icon=system-shutdown
        Categories=System;X-Leave;
        OnlyShowIn=LXQt;


        There is a difference in the Exec argument here. While 'Shutdown' specifies lxqt-leave --shutdown, the 'Leave' option simply runs lxqt-leave.



        So what is the behaviour then? The man page has some information on this:




        lxqt-leave is a graphical Qt tool for easily triggering leave session
        actions: logout, reboot, shutdown, hibernate, and lock screen. If run
        with an argument, the dialog is not shown and the action is executed
        directly.




        So the documentation says the the 'Leave' option (which is equivalent to running lxqt-leave) should give you a dialog from which you'd be able to select login & power management options, such as logout, hibernate, shutdown, reboot. I am not a user of Lubuntu, so I can't be more specific about why that does not happen for you. Perhaps you can try running lxqt-leave from a command-line and see if it works as intended or if it throws an error.






        share|improve this answer













        A bit of searching led me to the GitHub repository for LXQT and this issue about customizing the 'Leave' options.



        So the repo contains the lxqt-leave.desktop.in file:



        [Desktop Entry]
        Type=Application
        Name=Leave
        GenericName=Leave
        Comment=Leave dialog
        Exec=lxqt-leave
        Icon=system-shutdown
        Categories=System;X-Leave;
        OnlyShowIn=LXQt;


        Comparing that to the lxqt-shutdown.desktop.in file:



        [Desktop Entry]
        Type=Application
        Name=Shutdown
        GenericName=Shutdown
        Comment=shutdown the machine
        Exec=lxqt-leave --shutdown
        Icon=system-shutdown
        Categories=System;X-Leave;
        OnlyShowIn=LXQt;


        There is a difference in the Exec argument here. While 'Shutdown' specifies lxqt-leave --shutdown, the 'Leave' option simply runs lxqt-leave.



        So what is the behaviour then? The man page has some information on this:




        lxqt-leave is a graphical Qt tool for easily triggering leave session
        actions: logout, reboot, shutdown, hibernate, and lock screen. If run
        with an argument, the dialog is not shown and the action is executed
        directly.




        So the documentation says the the 'Leave' option (which is equivalent to running lxqt-leave) should give you a dialog from which you'd be able to select login & power management options, such as logout, hibernate, shutdown, reboot. I am not a user of Lubuntu, so I can't be more specific about why that does not happen for you. Perhaps you can try running lxqt-leave from a command-line and see if it works as intended or if it throws an error.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Feb 24 at 18:08









        HaxielHaxiel

        3,1801920




        3,1801920






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f502561%2fwhat-is-the-leave-option-on-the-power-menu-in-lubuntu%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 to make a Squid Proxy server?

            第一次世界大戦

            Touch on Surface Book