one screen two application split equally – IceWM Tiling [SOLVED]

Forum Forums New users New Users and General Questions one screen two application split equally – IceWM Tiling [SOLVED]

  • This topic has 63 replies, 10 voices, and was last updated Dec 23-9:15 am by blur13.
Viewing 15 posts - 1 through 15 (of 64 total)
  • Author
    Posts
  • #72794
    Member
    newmant1

      Hi, Antix-Team,
      Two reduced size application to be expanded equally half for each with the click and throw actions, it does not work with icewm.
      With two reduced size applications, one could left clicked on one application then drag and throw to the extreme left (it would automatically occupy half portion of the left screen.),then did the a left click on the second application and throw to the the extreme right ( it would automatically occupy half of the right screen.) Like that , one could
      have a screen equally divided by two applications.

      I tried to search the forums for a similar questionnaire but couldn’t find one, or it could my way of searching went wrong.
      Any leads? Please help only when you are free, no hurry, help would be very much appreciated.

      Sincerely,
      Newmant1

      • This topic was modified 1 year, 4 months ago by anticapitalista. Reason: solved
      • This topic was modified 1 year, 4 months ago by ModdIt.
      • This topic was modified 1 year, 4 months ago by BobC.
      #72801
      Member
      Xecure
        Helpful
        Up
        1
        ::

        Light window managers don’t have so many mouse interaction options. They usually default to key combinations.

        For icewm in antiX:
        Alt+Ctrl+1 or Ctrl+Shift+KP_Left resize the window to the left size of the screen.
        Alt+Ctrl+1 or Ctrl+Shift+KP_Right resize the window to occupy the right size of the screen.

        I don’t like these defaults, but they are the ones set in antiX. You can use them or change them (editing ~/.icewm/keys)

        antiX Live system enthusiast.
        General Live Boot Parameters for antiX.

        #72802
        Member
        ModdIt
          Helpful
          Up
          0
          ::

          Lot you could use buried in the forum someplace.
          wmadjust script from BobC and PPC is one.
          You can also use wingrid scripts from usr/local/bin

          Or search for autostart applications, start on a given desktop with a given size and position
          automagicaly. Work from BobC and some help from ice devs, and little helpful input and testing from me, but got it working in the end together..

          Somewher there are posts on pseudo tiling with ice, maybe they point to the wingrid scripts.

          more options combining with wmctrl.

          I autostart on workspaces to a given size, find it very useful. My daughter has left and right split, she has a giant screen so for her a good option.

          I think you can also find some options for window placement in the icewm preferences. I am using preferences(2.9.0) that is latest set. You do not neccesarily need latest, I put it in while figuring out how I had managed to make icewm unstable. It was my fault. Nuff said..

          #72806
          Moderator
          BobC
            Helpful
            Up
            0
            ::

            Let’s see if the forum allows me to post, now. LOL, after everyone else gets to answer!

            Anyway, As was stated above, IceWm is primarily keyboard oriented as far as being able to programatically control window movement, size and placement not specifically allowed for on the right-click menu, or controllable just by dragging one of the window edges.

            Maybe other features exist built in we don’t know about?
            Or maybe it could be enhanced, but I would expect that would be difficult.

            Moddit is correct in that the best time to decide window size and placement in IceWM is when you open the window, directing it to create the window the way you like it in the first place. It’s then easy to move the window around afterwards.

            I’m wondering if there is any way a snap-to grid would help…

            #72808
            Member
            ModdIt
              Helpful
              Up
              0
              ::

              This in the prefs uses icesh, Crazy what ice can do

              key “Alt+Left” icesh -f left top sizeto 50% 100%
              key “Alt+Right” icesh -f right top sizeto 50% 100%

              Some excellent info here
              https://web.archive.org/web/20100613011705/http://polishlinux.org/apps/window-managers/icewm-a-desktop-for-windows-emmigrants/

              • This reply was modified 1 year, 4 months ago by ModdIt.
              #72811
              Forum Admin
              anticapitalista
                Helpful
                Up
                1
                ::

                Light window managers don’t have so many mouse interaction options. They usually default to key combinations.

                For icewm in antiX:
                Alt+Ctrl+1 or Ctrl+Shift+KP_Left resize the window to the left size of the screen.
                Alt+Ctrl+1 or Ctrl+Shift+KP_Right resize the window to occupy the right size of the screen.

                I don’t like these defaults, but they are the ones set in antiX. You can use them or change them (editing ~/.icewm/keys)

                This works best IMO except there is a typo – Alt+Ctrl+2 or Ctrl+Shift+KP_Right resize the window to occupy the right size of the screen.

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #72812
                Moderator
                BobC
                  Helpful
                  Up
                  1
                  ::

                  WinGrid is not built into the standard IceWM package, but comes with antiX built-in and available to use under all of the default window managers. The entire list of keys for IceWM is located at ~/.icewm/keys, which can easily be accessed from Menu>Control Centre>Edit IceWM Settings>keys tab

                  Since WinGrid works for all of antiX’s GUI window managers, there is also a WinGrid section in the FAQ at:
                  https://download.tuxfamily.org/antix/docs-antiX-19/FAQ/wingrid.html

                  #72814
                  Member
                  rayluo
                    Helpful
                    Up
                    0
                    ::

                    Since WinGrid works for all of antiX’s GUI window managers, there is also a WinGrid section in the FAQ at:
                    https://download.tuxfamily.org/antix/docs-antiX-19/FAQ/wingrid.html

                    Arranging windows is a common need. I struggled with it in antiX, and I believed I once stumbled upon that FAQ page before. But as a relatively new learner, I was confused by the FAQ’s clearly mentioning those hotkeys “Ctrl1, Ctrl2, …” and the fact that those hotkeys do NOT work out-of-the-box. I gave up (and settled with the “Tile Vertically” feature from the task bar).

                    For icewm in antiX:
                    Alt+Ctrl+1 or Ctrl+Shift+KP_Left resize the window to the left size of the screen.
                    Alt+Ctrl+2 or Ctrl+Shift+KP_Right resize the window to occupy the right size of the screen.

                    I don’t like these defaults, but they are the ones set in antiX. You can use them or change them (editing ~/.icewm/keys)

                    Thanks for the hint, @Xecure and @anticapitalista ! Now I learn this new trick! It would definitely improve my efficiency!

                    I would still suggest to improve the WinGrid FAQ page a little bit, by mentioning its default control key is “Ctrl+Alt”, not the “Ctrl”. (If you may point me to a repo and file that contain that page, I can submit a Pull Request there.)

                    #72825
                    Member
                    blur13
                      Helpful
                      Up
                      0
                      ::

                      Xecure,

                      I agree with you that those keybindings are a bit burdensome. Out of curiosity, what have you changed them to?

                      #72833
                      Moderator
                      BobC
                        Helpful
                        Up
                        0
                        ::

                        There’s nothing wrong with suggesting something that would be an improvement in the keyboard mapping. The problem is what key combinations actually work are available, and don’t cause conflicts with other critical applications.

                        #72834
                        Moderator
                        BobC
                          Helpful
                          Up
                          0
                          ::

                          Using the up, down, left and right works fine with the Super (Windows) key to move and resize the current window to 1/2 of the screen.
                          # Wingrid Half screen on Super+

                          key "Super+Left" wingrid-left.sh
                          key "Super+Right" wingrid-right.sh
                          key "Super+Up" wingrid-top.sh
                          key "Super+Down" wingrid-bottom.sh

                          I used Wingrid because when did try the icesh suggestion, it didn’t work on my main laptop.

                          #72836
                          Member
                          newmant1
                            Helpful
                            Up
                            0
                            ::

                            Hi all Antix-Team

                            Ok, tried For icewm in antiX:
                            “Alt+Ctrl+1” to resize the window to the left size of the screen.
                            “Alt+Ctrl+2 ” to resize the window to occupy the right size of the screen.
                            Above these two works.

                            But below these doesn’t work
                            “Ctrl+Shift+KP_Left”
                            “Ctrl+Shift+KP_Right”
                            KP_left means? the left arrow pointing to left is it? KP_right means? arrow pointing right is it? if it is those arrow, not working for these as both application disappears the moment I used either left or right arrow.
                            From Moddit ” key “ Alt+Left” icesh -f left top sizeto 50% 100% key “Alt+Right” icesh -f right top sizeto 50% 100% ”

                            If the “KP_Left” buttons is “left arrow” and for the “KP_Right” buttons is “Right button” , my testing on my keyboard is not happening to what Moddit had mentioned, rather it shows page forward and page backward when these arrow is depressed with Alt keys.

                            Please update this questionnare as closed once someone answered those “KP_left; KP_right” buttons.

                            Thanks to all Kind Assistants for making the water clearer with each answers.

                            Wishes all a GoodDay.
                            Newmant1

                            • This reply was modified 1 year, 4 months ago by newmant1.
                            #72838
                            Member
                            ModdIt
                              Helpful
                              Up
                              1
                              ::

                              you may have to activate some things in /home/yourusername/.icewm/preferences
                              Long long list of possibilitys there.

                              Ice is extremely powerful, takes a while to even scratch the surface regarding the capabilitys.

                              Please read over at Icewm site, and poke around in the net. read about the config, start options and icesh.

                              Fluxbox and ICEWM are, opinion the best of the best. I just stuck with ice, maybe just because it felt familiar,
                              I used win 7 for years at work. Look and feel is somewhat similar although ice trashes windoze in many many ways.

                              #72846
                              Member
                              blur13
                                Helpful
                                Up
                                1
                                ::

                                newmant1,
                                KP stands for KeyPad, so KP_left is the numeric keypad left arrow key. A numeric keypad is usually not present on laptop size keyboards, instead its usually mapped to Fn+u etc. What you are doing when the applications “disappear” is switching workspaces.

                                BobC,
                                I think your suggestion of using the Super key is great, its easier than simultaneously hitting ctrl shift.

                                #72847
                                Forum Admin
                                anticapitalista
                                  Helpful
                                  Up
                                  1
                                  ::

                                  Default IceWM keys – mostly written by BobC

                                  ########################################################################
                                  #Sample icewm keys for antiX.
                                  ########################################################################
                                  ### BobC 08/14/19 - removed Alt+Ctrl Grow and shrink keys - don't work, mute wasn't working either, move to Alt+Ctrl+KP_Insert (0 key),
                                  ########################################################################
                                  ### BobC 08/13/19 - added Alt+Ctrl Grow and shrink keys to fit with WinArrange in preferences
                                  
                                  #######key "Alt+Ctrl+KP_Add" wingrid-grow.sh # +-Grow window
                                  #######key "Alt+Ctrl+KP_Subtract" wingrid-shrink.sh # --Shrink window
                                  
                                  ########################################################################
                                  ### BobC 08/12/19 - fixed lower volume key
                                  ### BobC 08/04/19 - multimedia keys added
                                  ########################################################################
                                  
                                  ###Added the antixscreenshot on the Print key (same as MX)
                                  key "Print" antixscreenshot.sh
                                  
                                  ###Added the more common multimedia keys
                                  ###Multimedia keys
                                  key "XF86AudioLowerVolume"	amixer sset Master 5%-
                                  key "XF86AudioRaiseVolume"	amixer sset Master 5%+
                                  key "XF86AudioMute"		amixer sset Master toggle
                                  key "XF86AudioPlay"		xmms --play-pause
                                  key "XF86AudioStop"		xmms --stop
                                  key "XF86AudioPrev"		xmms --rew
                                  key "XF86AudioNext"		xmms --fwd
                                  key "XF86AudioRecord"	simplescreenrecorder 
                                  key "XF86HomePage"		desktop-defaults-run -b --new-window
                                  key "XF86Search"		desktop-defaults-run -b http://www.duckduckgo.com
                                  key "XF86Eject"			unplugdrive.sh
                                  key "XF86Calculator"	/bin/sh -c "galculator || gnome-calculator || xcalc || ( type bc >/dev/null 2>&1 && xterm -e bc -l)"
                                  key "XF86Mail"			desktop-defaults-run -e
                                  
                                  ###Brightness keys
                                  key "XF86MonBrightnessDown" backlight-brightness -5
                                  key "XF86MonBrightnessUp"   backlight-brightness +5
                                  
                                  #Switch screens - this is only useful if you have multiple screens
                                  #switchkey "Super+p"			icewm-menu-xrandr
                                  
                                  ########################################################################
                                  ### BobC 06/15/19 - all setting same as std antiX 19b1 except the following:
                                  # Wingrid on Ctrl+ 1 thru 0 on number row
                                  key "Alt+Ctrl+1" wingrid-left.sh
                                  key "Alt+Ctrl+2" wingrid-right.sh
                                  key "Alt+Ctrl+3" wingrid-top.sh
                                  key "Alt+Ctrl+4" wingrid-bottom.sh
                                  key "Alt+Ctrl+5" wingrid-topleft.sh
                                  key "Alt+Ctrl+6" wingrid-topright.sh
                                  key "Alt+Ctrl+7" wingrid-bottomleft.sh
                                  key "Alt+Ctrl+8" wingrid-bottomright.sh
                                  key "Alt+Ctrl+9" wingrid-maximize.sh
                                  key "Alt+Ctrl+0" wingrid-close.sh
                                  key "Alt+Ctrl+minus" wingrid-shrink.sh
                                  key "Alt+Ctrl+equal" wingrid-grow.sh
                                  key "Alt+Ctrl+plus" wingrid-grow.sh
                                  key "Alt+Ctrl+grave" wingrid-center.sh
                                  # Wingrid on Ctrl+ KP rose
                                  key "Ctrl+Shift+KP_Left" wingrid-left.sh # Left-Move window to Left 
                                  key "Ctrl+Shift+KP_Right" wingrid-right.sh # Right-Move window to Right 
                                  key "Ctrl+Shift+KP_Up" wingrid-top.sh # Up-Move window Top 
                                  key "Ctrl+Shift+KP_Down" wingrid-bottom.sh # Down-Move window to Bottom 
                                  key "Ctrl+Shift+KP_Home" wingrid-topleft.sh # Home-Move window to Top Left 
                                  key "Ctrl+Shift+KP_Prior" wingrid-topright.sh # PgUp-Move window Top Right 
                                  key "Ctrl+Shift+KP_End" wingrid-bottomleft.sh # End-Move window to Bottom Left 
                                  key "Ctrl+Shift+KP_Next" wingrid-bottomright.sh # PgDn-Move window to Bottom Right 
                                  key "Ctrl+Shift+KP_Insert" wingrid-maximize.sh # 0-Maximize window 
                                  key "Ctrl+Shift+KP_Begin" wingrid-center.sh # 5-Center window
                                  key "Ctrl+Shift+KP_Delete" wingrid-close.sh # .-Close window
                                  key "Ctrl+Shift+KP_Add" wingrid-grow.sh # +-Grow window
                                  key "Ctrl+Shift+KP_Subtract" wingrid-shrink.sh # --Shrink window
                                  # app-select on Ctrl+Space
                                  key "Ctrl+Space" app-select
                                  ########################################################################
                                  
                                  # suggested
                                  key "Alt+F2" gexec
                                  #key "Ctrl+Shift+Delete" desktop-session-exit
                                  #key "Ctrl+Alt+e" desktop-defaults-run -e
                                  key "Ctrl+Alt+t" desktop-defaults-run -t
                                  #key "Ctrl+Shift+t" desktop-defaults-run -r -t
                                  #key "Ctrl+Alt+u" gftp
                                  #key "Ctrl+Alt+i" desktop-defaults-run -i
                                  #key "Ctrl+Alt+o" libreoffice
                                  #key "Ctrl+Alt+p" desktop-defaults-run -t htop
                                  #key "Ctrl+Shift+p" desktop-defaults-run -r -t htop
                                  #key "Ctrl+Alt+a" desktop-defaults-run -a
                                  #key "Ctrl+Alt+s" antixscreenshot.sh
                                  #key "Ctrl+Alt+d" gksu synaptic
                                  #key "Ctrl+Alt+f" desktop-defaults-run -fm
                                  #key "Ctrl+Shift+f" desktop-defaults-run -r -fm
                                  #key "Ctrl+Alt+g" desktop-defaults-run -te
                                  #key "Ctrl+Shift+g" desktop-defaults-run -r -te
                                  #key "Ctrl+Alt+h" desktop-defaults-run -b file:/usr/share/antiX/FAQ/index.html
                                  #key "Ctrl+Alt+k" desktop-session-exit
                                  #key "Ctrl+Alt+l" xlock
                                  #key "Ctrl+Alt+z" grsync
                                  #key "Ctrl+Alt+x" xkill
                                  #key "Ctrl+Alt+c" antixcc.sh
                                  #key "Ctrl+Alt+v" desktop-defaults-run -v
                                  key "Ctrl+Alt+b" desktop-defaults-run -b
                                  
                                  #Set Volume
                                  key "Alt+Ctrl+KP_Divide" amixer -c 0 set Master 5- # lower volume
                                  key "Alt+Ctrl+KP_Multiply" amixer -c 0 set Master 5+ # raise volume
                                  key "Alt+Ctrl+KP_Insert" amixer sset Master toggle # mute on/off
                                  
                                  # F* keys examples
                                  # Open a terminal
                                  #key "F1" desktop-defaults-run -t
                                  # Open a dialog to run programs	
                                  #key "F2" gexec	
                                  # Open file manager			
                                  #key "F3" desktop-defaults-run -fm
                                  # Open browser
                                  #key "F4" desktop-defaults-run -b
                                  # Open antiX control centre	 
                                  #key "F5" antixcc.sh
                                  # Take a screenshot			
                                  #key "F6" antixscreenshot.sh		

                                  Philosophers have interpreted the world in many ways; the point is to change it.

                                  antiX with runit - leaner and meaner.

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