Edit the Exit Session window

Forum Forums New users New Users and General Questions Edit the Exit Session window

  • This topic has 5 replies, 4 voices, and was last updated Nov 12-7:33 am by blur13.
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #93015
    Member
    Mad Daimond

      OS: AntiX 19, IceWM-rox
      Can you edit the Exit Session window (where you can turn off/reboot/lock the screen and etc.) somehow? I want to add the two custom buttons to this menu.

      #93019
      Forum Admin
      rokytnji
        Helpful
        Up
        0
        ::

        I think you are are looking exitantix.sh file.

        locate exitantix.sh

        I am on my MX linux box right now but my best guess is it is in /usr/local/bin.

        I could be wrong though.

        Always make a backup of original before editing. In case your edit breaks things. That way. I usually rename stuff to er
        exitantix.sh.bk`
        or exitantix.sh.old for my backup names.

        Sometimes I drive a crooked road to get my mind straight.
        Not all who Wander are Lost.
        I'm not outa place. I'm from outer space.

        Linux Registered User # 475019
        How to Search for AntiX solutions to your problems

        #93021
        Member
        blur13
          Helpful
          Up
          0
          ::

          /usr/local/lib/desktop-session/desktop-session-exit.py

          #93026
          Forum Admin
          rokytnji
            Helpful
            Up
            0
            ::

            Shows how out of date I am. No worries.

            Sometimes I drive a crooked road to get my mind straight.
            Not all who Wander are Lost.
            I'm not outa place. I'm from outer space.

            Linux Registered User # 475019
            How to Search for AntiX solutions to your problems

            #93043
            Moderator
            BobC
              Helpful
              Up
              0
              ::

              I would look in ~/.icewm/preferences to see what program runs when you click the Logout menu button. My guess is that could be overridden with an entry in prefoverride.

              On my installed antiX 21 system it says

              #  Command to start logout
              LogoutCommand="desktop-session-exit"

              Maybe its different on yours?

              On mine desktop-session-exit is a script program in /usr/local/bin. You could copy the program that currently runs, change the copy, and point your IceWM to use your version of it instead.

              • This reply was modified 5 months, 4 weeks ago by BobC.
              #93055
              Member
              blur13
                Helpful
                Up
                0
                ::

                If desktop-session-exit is run without any flags it defaults to

                /usr/local/lib/desktop-session/desktop-session-exit.py

                which in turn uses desktop-session-exit with flags for the buttons.

                ie desktop-session-exit -r for restart.

                I’ve dabbled a bit with this. For instance, I use desktop-session-exit -R (thats a capital R) at the end of a script that switches to HDMI output when I connect a laptop to a tv. This restarts the session so that the desktop wallpaper, conky, etc all get reset to the new proper size.

                Anyways, if you want to edit or add buttons to the exit gui then modify the python script.

              Viewing 6 posts - 1 through 6 (of 6 total)
              • You must be logged in to reply to this topic.