IceWM system dialog

Forum Forums General Software IceWM system dialog

  • This topic has 23 replies, 5 voices, and was last updated May 7-8:33 pm by blur13.
Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #105992
    Member
    shloz

      Is there a command I can use in the terminal or a script to invoke the IceWM system dialog? The dialog that opens when pressing ctrl+alt+del or whatever is configured as KeySysDialog…

      Searched all over and can’t seem to find what the command for that would be.

      Thanks

      #106047
      Moderator
      BobC
        Helpful
        Up
        0
        ::

        It still works from a terminal in mine, but maybe yours is configured differently.

        xdotool should be able to send the keystrokes?

        #106052
        Member
        shloz
          Helpful
          Up
          0
          ::

          I’m using a converted Chromebook (Dell 3180) which doesn’t have a delete key. ctrl+alt+backspace brings up the dialog but no matter what I try with xdotool, no luck. So I changed KeySysDialog to ctrl+alt+x and now xdotool works. I was wondering if there is a direct command that invokes that dialog so I can keep KeySysDialog at default and still invoke that dialog from a terminal or script… (I need it for my custom menu)

          #106056
          Moderator
          Brian Masinick
            Helpful
            Up
            0
            ::

            We have a few Chromebook users here who DO run antiX; hopefully one of them with specific knowledge will provide their expertise and assistance.

            --
            Brian Masinick

            #106062
            Member
            Robin
              Helpful
              Up
              0
              ::

              if there is a direct command that invokes that dialog so I can keep KeySysDialog at default and still invoke that dialog from a terminal or script

              I have searched also for this some time ago, but it looks to me this is an icewm internal thing you can’t invoke from outside. Maybe I’m wrong, so somebody else might be able to show us how to achieve this.

              Windows is like a submarine. Open a window and serious problems will start.

              #106098
              Moderator
              BobC
                Helpful
                Up
                0
                ::

                On a machine with Ctrl+Alt+Del keys this dialog box comes up. The menu and toolbar are disabled at that point. Did you try my xdotool suggestion?

                Attachments:
                #106102
                Member
                Robin
                  Helpful
                  Up
                  0
                  ::

                  Did you try my xdotool suggestion?

                  No, not by now, but it’s a great suggestion, Bob. many thanks for the hint. Personally I don’t need it right now, but it’s good to keep this in mind. The interesting question will be: to which window ID should we send the keystrokes to bring up the logoff dialog?

                  Windows is like a submarine. Open a window and serious problems will start.

                  #106105
                  Member
                  blur13
                    Helpful
                    Up
                    0
                    ::

                    Cool, I had no idea about this menu. But why are the Reboot and Shutdown options greyed out? That makes it a lot less useful.

                    #106113
                    Moderator
                    BobC
                      Helpful
                      Up
                      0
                      ::

                      I am not running from USB, so didn’t try the logout, reboot and shutdown options.

                      I was surprised that nothing else works while its displayed.

                      #106115
                      Member
                      blur13
                        Helpful
                        Up
                        0
                        ::

                        I am not running from USB and the Reboot and Shutdown options are not selectable.

                        #106120
                        Moderator
                        BobC
                          Helpful
                          Up
                          0
                          ::

                          If one was installing IceWM and X-Windows on a generic core system, you wouldn’t have things like antiX’s desktop system with its logout exit program, so you would need those functionalities provided somehow or the user would need to add them or create them, or key commands by hand for each.

                          IceWM is available for many systems and needs to fill the gaps of window manager functions expected wherever its installed.

                          #106121
                          Moderator
                          Brian Masinick
                            Helpful
                            Up
                            0
                            ::

                            If one was installing IceWM and X-Windows on a generic core system, you wouldn’t have things like antiX’s desktop system with its logout exit program, so you would need those functionalities provided somehow or the user would need to add them or create them, or key commands by hand for each.

                            IceWM is available for many systems and needs to fill the gaps of window manager functions expected wherever its installed.

                            There are “many ways to skin a cat”, as the expression goes.
                            I’ve had the practice of using alias commands since before I used Linux – on my UNIX workstation, and before that, I had VAX/VMS command definitions, and when I used both VMS and UNIX systems, I created common shortcuts, whether keys bound to definitions or short abbreviations as defined on both systems to perform similar tasks.

                            With that background, here are two of the many convenience aliases I currently have; these are for rebooting and powering off my system:

                            alias pow='sudo poweroff'
                            alias rb='sudo reboot'

                            --
                            Brian Masinick

                            #106126
                            Member
                            blur13
                              Helpful
                              Up
                              0
                              ::

                              I’ve got icewm installed on a MX linux system and there all the entries are available, including shutdown and reboot. I looked into the preference file in antix and the shutdown/reboot commands are defined as follow:

                              # Command to shutdown the system
                              ShutdownCommand=”sudo halt”

                              # Command to reboot the system
                              RebootCommand=”sudo reboot”

                              I dont see why these cant be run from the system dialog.

                              #106133
                              Moderator
                              Brian Masinick
                                Helpful
                                Up
                                0
                                ::

                                I’m not sure what, if anything, those commands are “connected to”, but I can tell you this, if you bind an IceWM key to either or both of these commands then they will work as expected, whether another mechanism is present or not.

                                If you need specifics let me know and I’ll provide a couple of specifics, including the names of the files and resources; looks like you already found the command, just not what “invokes it”.

                                I’m on another system right now, or I’d tell you now.

                                --
                                Brian Masinick

                                #106143
                                Moderator
                                Brian Masinick
                                  Helpful
                                  Up
                                  0
                                  ::

                                  I rebooted to antiX 22 so I could provide you with a direct answer.

                                  In the ~/.icewm/keys file, you can set assign specific keys to particular functions.

                                  For instance, I have these keys set at the moment.

                                  `more keys
                                  key “Ctrl+Space” app-select
                                  key “Ctrl+Alt+b” desktop-defaults-run -b
                                  key “Alt+g” firefox
                                  key Alt+1 /bin/sh -c “wmctrl -s 0
                                  key Alt+2 /bin/sh -c “wmctrl -s 1
                                  key Alt+3 /bin/sh -c “wmctrl -s 2
                                  key Alt+4 /bin/sh -c “wmctrl -s 3

                                  So when I press Alt G I open Firefox, I get Firefox. When I press Alt 1, 2, 3, or 4 I switch between my four workspaces. Ctrl space opens app-select.

                                  If you want to run specific commands, such as reboot or halt, associate them with keys that are not already defined.
                                  Note, however, that you can easily halt or reboot using the current antiX Menu with IceWM – Menu –> Logout, which brings up the dialog allowing you to
                                  Lock Screen, Logout, Restart Session, Reboot, Suspend, or Shutdown. I hope that helps.

                                  --
                                  Brian Masinick

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