Window tiling, window stuck to top of screen

Forum Forums Official Releases antiX-21/22 “Grup Yorum” Window tiling, window stuck to top of screen

  • This topic has 29 replies, 6 voices, and was last updated Dec 2-9:45 pm by argonaut459.
Viewing 15 posts - 1 through 15 (of 30 total)
  • Author
    Posts
  • #93360
    Member
    argonaut459

      Good evening fellow antixer,
      I was expirmenting with window tiling, after I learned that info in the FAQ is outdated and the keys for it are different I found them in the config files.
      But now if I select tile to LEFT or to RIGHT
      It can’t be moved off the top of the screen anymore, only moved left and right along the screen.

      tiling top left or right moves it to much up, and the status bar can’t be accessed anymore.
      At the moment I’m using a vga monitor, and it’s even weirder when using that. But for now I’d be happy if the tiling would work without getting the windows stuck.

      System:
        Kernel: 4.9.0-279-antix.1-486-smp arch: i686 bits: 32 compiler: gcc
          v: 10.2.1 Desktop: IceWM v: 3.2.0 vt: 7 dm: slimski v: 1.5.0
          Distro: antiX-21_386-full Grup Yorum 31 October 2021
          base: Debian GNU/Linux 11 (bullseye)
      Machine:
        Type: Portable System: Dell product: Inspiron 1011 v: A00
          serial: <superuser required>
        Mobo: Dell model: CN0Y53 v: A00 serial: <superuser required> BIOS: Dell
          v: A00 date: 03/20/2009
      Battery:
        ID-1: BAT1 charge: 30.6 Wh (80.5%) condition: 38.0/44.0 Wh (86.5%)
          volts: 11.7 min: 11.1 model: Dell type: Li-ion serial: <filter>
          status: discharging
      Memory:
        RAM: total: 1.96 GiB used: 577.5 MiB (28.8%)
        RAM Report:
          permissions: Unable to run dmidecode. Root privileges required.
      CPU:
        Info: single core model: Intel Atom N270 bits: 32 type: MT smt: enabled
          arch: Bonnell rev: 2 cache: L1: 56 KiB L2: 512 KiB
        Speed (MHz): avg: 1067 min/max: 800/1600 cores: 1: 1067 2: 1067
          bogomips: 6383
        Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc
          cx8 de ds_cpl dtes64 dtherm dts est fpu fxsr ht lahf_lm mca mce mmx monitor
          movbe msr mtrr nx pae pat pbe pdcm pebs pge pni pse sep ss sse sse2 ssse3
          tm tm2 tsc vme xtpr
      Graphics:
        Device-1: Intel Mobile 945GSE Express Integrated Graphics vendor: Dell
          driver: i915 v: kernel arch: Gen3.5 ports: active: LVDS-1,VGA-1 empty: none
          bus-ID: 00:02.0 chip-ID: 8086:27ae class-ID: 0300
        Device-2: Syntek Integrated Webcam type: USB driver: uvcvideo
          bus-ID: 1-2:3 chip-ID: 174f:1403 class-ID: 0e02
        Display: x11 server: X.Org v: 1.20.11 driver: X: loaded: intel
          unloaded: fbdev,modesetting,vesa gpu: i915 display-ID: :0.0 screens: 1
        Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 506x285mm (19.92x11.22")
          s-diag: 581mm (22.86")
        Monitor-1: LVDS-1 mapped: LVDS1 pos: primary model: AU Optronics 0x10d1
          res: 1024x576 hz: 60 dpi: 118 size: 220x130mm (8.66x5.12")
          diag: 256mm (10.1") modes: 1024x576
        Monitor-2: VGA-1 mapped: VGA1 pos: primary model: Samsung SyncMaster
          serial: <filter> res: 1920x1080 hz: 60 dpi: 92
          size: 530x300mm (20.87x11.81") diag: 609mm (24") modes: max: 1920x1080
          min: 640x480
        OpenGL: renderer: Mesa DRI Intel 945GME x86/MMX/SSE2 v: 1.4 Mesa 20.3.5
          direct render: Yes
      Audio:
        Device-1: Intel NM10/ICH7 Family High Definition Audio vendor: Dell
          driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:27d8
          class-ID: 0403
        Sound Server-1: ALSA v: k4.9.0-279-antix.1-486-smp running: yes
      Network:
        Device-1: Broadcom BCM43228 802.11a/b/g/n vendor: Dell driver: wl v: kernel
          bus-ID: 03:00.0 chip-ID: 14e4:4359 class-ID: 0280
        IF: wlan0 state: up mac: <filter>
        IP v4: <filter> scope: global broadcast: <filter>
        IP v6: <filter> type: dynamic mngtmpaddr scope: global
        IP v6: <filter> scope: link
        Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: Dell
          driver: r8169 v: 2.3LK-NAPI port: 2000 bus-ID: 04:00.0 chip-ID: 10ec:8136
          class-ID: 0200
        IF: eth0 state: down mac: <filter>
        WAN IP: <filter>
      Bluetooth:
        Message: No bluetooth data found.
      Logical:
        Message: No logical block device data found.
      RAID:
        Message: No RAID data found.
      Drives:
        Local Storage: total: 223.57 GiB used: 4.01 GiB (1.8%)
        ID-1: /dev/sda vendor: Patriot model: Burst size: 223.57 GiB
          speed: <unknown> type: SSD serial: <filter> rev: E1.3 scheme: MBR
        Message: No optical or floppy data found.
      Partition:
        ID-1: / size: 39.08 GiB used: 4.01 GiB (10.3%) fs: ext4 dev: /dev/sda7
          label: rootantiX21 uuid: b990c422-28b1-4e04-9fe5-2330b4b492de
      Swap:
        ID-1: swap-1 type: partition size: 5 GiB used: 0 KiB (0.0%) priority: -1
          dev: /dev/sda5 label: swap uuid: 61d180d5-871f-44b2-b690-149fa9b43e37
      Unmounted:
        ID-1: /dev/sda1 size: 50 MiB fs: ntfs label: N/A uuid: EEBA32EBBA32B047
        ID-2: /dev/sda2 size: 19.53 GiB fs: ntfs label: N/A
          uuid: 525425FD5425E487
        ID-3: /dev/sda3 size: 4.88 GiB fs: ntfs label: Programme
          uuid: A40E08440E0811CA
        ID-4: /dev/sda4 size: 1 KiB fs: <superuser required> label: N/A uuid: N/A
        ID-5: /dev/sda6 size: 40 GiB fs: ext4 label: rootMX21
          uuid: 03b083a1-1c23-4c0e-a668-a3a7d745fa06
      USB:
        Hub-1: 1-0:1 info: Full speed or root hub ports: 8 rev: 2.0 speed: 480 Mb/s
          chip-ID: 1d6b:0002 class-ID: 0900
        Device-1: 1-2:3 info: Syntek Integrated Webcam type: Video
          driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA
          chip-ID: 174f:1403 class-ID: 0e02
        Device-2: 1-3:4 info: Realtek USB 2.0 multicard reader type: Mass Storage
          driver: ums-realtek interfaces: 1 rev: 2.0 speed: 480 Mb/s power: 500mA
          chip-ID: 0bda:0158 class-ID: 0806 serial: <filter>
        Hub-2: 2-0:1 info: Full speed or root hub ports: 2 rev: 1.1
          speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
        Device-1: 2-1:2 info: USB OPTICAL MOUSE type: Mouse
          driver: hid-generic,usbhid interfaces: 1 rev: 1.1 speed: 1.5 Mb/s
          power: 100mA chip-ID: 275d:0ba6 class-ID: 0301
        Hub-3: 3-0:1 info: Full speed or root hub ports: 2 rev: 1.1
          speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
        Hub-4: 4-0:1 info: Full speed or root hub ports: 2 rev: 1.1
          speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
        Hub-5: 5-0:1 info: Full speed or root hub ports: 2 rev: 1.1
          speed: 12 Mb/s chip-ID: 1d6b:0001 class-ID: 0900
      Sensors:
        System Temperatures: cpu: 55.0 C mobo: N/A
        Fan Speeds (RPM): N/A
      Info:
        Processes: 164 Uptime: 55m wakeups: 3 Init: SysVinit v: 2.96 runlevel: 5
        default: 5 Compilers: gcc: 10.2.1 alt: 10 Packages: apt: 1687 Shell: Bash
        v: 5.1.4 running-in: roxterm inxi: 3.3.19
      #93362
      Moderator
      Brian Masinick
        Helpful
        Up
        0
        ::

        For what it’s worth, I have my IceWM configuration settings in /home/masinick/.icewm; perhaps yours is in your .icewm directory.
        In my directory, I can see and freely modify these files:

        keys		   menu-numix-bevel   personal	   theme		toolbar-numix-square
        menu		   menu-numix-square  preferences  toolbar		toolbar-papirus
        menu-applications  menu-papirus       startup	   toolbar-numix-bevel	winoptions

        Yours may vary. If you have never created your own custom files, then you may, if you wish, copy files from /usr/share/icewm to /home/your-account/.icewm, then you may leave them intact or customize them to suit your interests.

        If you ever accidentally alter them and get in a bind, simply copy all of the files or the ones you are interested in, and modify them.
        You can also copy all these files to another (safe) location and/or back them up, your choice.

        • This reply was modified 5 months, 3 weeks ago by Brian Masinick.

        --
        Brian Masinick

        #93376
        Member
        iznit
          Helpful
          Up
          0
          ::

          argonaut459, I suppose you mean titlebar, not ‘statusbar’.
          Try switching to a different icewm theme and check does this occur only with a certain theme or all themes?

          For best help toward fixing this you can create an issue ticket over here https://github.com/bbidulock/icewm/issues

          #93382
          Moderator
          BobC
            Helpful
            Up
            0
            ::

            Once you start moving it left or right, you can then also move it up or down.

            #93477
            Member
            argonaut459
              Helpful
              Up
              0
              ::

              Once you start moving it left or right, you can then also move it up or down.

              No I can’t, thats the issue. They are pretty stuck on top / buttom of screen. If it were that easy I wouldn’t have asked here 😀

              Will try another theme
              switched to aidawata dark – still happens.

              I have my IceWM configuration settings in /home/masinick/.icewm; perhaps yours is in your .icewm directory.
              In my directory, I can see and freely modify these files

              I have no clue what you are trying to tell me there.
              I’ll really have to use a bigger screen and read this while I scrounge around here in the system.
              Still somehow I don’t get where to find what and how to open stuff.

              The sad part is, I can’t even pinpoint why this aggrevates me so much. Maybe its the small screen, maybe jittery mouse.
              With the bigger laptop of my GF thats running MX I don’t get so pissed so quick.
              Maybe I expect too much from myself when doing my own stuff 😀

              #93481
              Moderator
              BobC
                Helpful
                Up
                0
                ::

                Ok, well, adawaita is not an IceWM theme. Here is a pic that shows where to change the theme.

                My guess is you have the window maximized or fullscreen. If true there is nothing you can do to move it on that screen because you told it to take up the entire screen.

                PS: if you right click the title bar of the window or press alt+space you get that pulldown menu in the 2nd pic for that window

                Also, did you know you can left click on the titlebar and hold it down for a second, and then drag the window wherever?

                The antiX Magic themes are setup for use on laptops, BTW, but they are not the defaults. You can select a different theme by clicking a different one like I show in the first pic.

                • This reply was modified 5 months, 3 weeks ago by BobC.
                • This reply was modified 5 months, 3 weeks ago by BobC.
                #93497
                Member
                argonaut459
                  Helpful
                  Up
                  0
                  ::

                  Ok, well, adawaita is not an IceWM theme. Here is a pic that shows where to change the theme.

                  My guess is you have the window maximized or fullscreen. If true there is nothing you can do to move it on that screen because you told it to take up the entire screen.

                  PS: if you right click the title bar of the window or press alt+space you get that pulldown menu in the 2nd pic for that window

                  Also, did you know you can left click on the titlebar and hold it down for a second, and then drag the window wherever?

                  The antiX Magic themes are setup for use on laptops, BTW, but they are not the defaults. You can select a different theme by clicking a different one like I show in the first pic.

                  The aidawata was just used, as another theme was suggested. Im using Arc Dark, it is atleast pleasant to eye and still readable. That aidawata made black text on black background 😀
                  For the Taskbar im using BlueDay Medium. Nice color, and the icons aren’t as spread AntiX-Blue Medium.

                  The windows is not maximized when I try to tile it.
                  And yeah, clicking and dragging is what I tried to move the window 😀

                  If I try to tile the command center to the right, it gets move half of the screen, and using alt+space maximizeVert is selected.
                  No clue why. All i wanted to do is change the key combo to use the windows key for tiling.
                  Thats what the icewm key setting looks like

                  
                  ########################################################################
                  ### BobC 06/15/19 - all setting same as std antiX 19b1 except the following:
                  # Wingrid on Ctrl+ 1 thru 0 on number row
                  key "Super+left" wingrid-left.sh
                  key "super+right" wingrid-right.sh
                  key "Alt+Ctrl+3" wingrid-top.sh
                  key "Alt+Ctrl+4" wingrid-bottom.sh
                  
                  #93526
                  Moderator
                  BobC
                    Helpful
                    Up
                    0
                    ::

                    I thought I put in a post already that said WinGrid is not multi monitor capable? You need to use WinArrange or icesh to handle that. There are posts here, and on the IceWM site and Manual. WinArrange is already in the keys file.

                    • This reply was modified 5 months, 3 weeks ago by BobC.
                    #94018
                    Member
                    argonaut459
                      Helpful
                      Up
                      0
                      ::

                      Back to topic, as window tiling is still not working as expected.
                      I hope I changed the right command to “super+left / super+right”
                      What I expect it to do is tiling the current window left or right, and pressing the same button combo again that it goes back to how it was before tiling.
                      While being tiled, and I grab the status bar, it should be put anywhere on the desktop.

                      These last two thing are not possible.
                      I don’t know why it sets “maximize vertical” after I used the command.
                      I get the feeling I’m doing something wrong. :/

                      see screenshots. Hope they make it kind of clear what is happening.

                      #94025
                      Member
                      PPC
                        Helpful
                        Up
                        0
                        ::

                        What I expect it to do is tiling the current window left or right, and pressing the same button combo again that it goes back to how it was before tiling.
                        While being tiled, and I grab the status bar, it should be put anywhere on the desktop.

                        These last two thing are not possible.

                        The first thing is not possible – the IceWM tiling features are not toggles that you can switch on or off – if you select the option to tile the current window to take the left half of the screen that features does just that – it tries to place the window on the left half of the screen, over and over again, it does not try to place the window where you last had it before tiling it… As far as I know there is not way for the Window Manager to “remember” the previous window position. And, if you “tile” a window, it should always display the title bar. I can tile, in IceWM, the window to the top or the lower half of the screen, without any problem, or even any 1/4 of the screen- that’s the way Icewm’s pseudo-tiling should always work.

                        “While being tiled…”- one thing – “while being tiled” does not exist – in IceWM, it’s not a window state- the computer just calculates where you want to place the window and what size it should have and automates that for you, just the same as if you did it yourself… you can use a “tiled” window just as you would any other- you left click the title bar, hold down the button and drag the window- if you can’t do that, you are doing it wrong or there’s something wrong with your antiX…

                        Edit:
                        About your problem with “Maximize vertical” – I do not have that problem, but I’m not using the defaul icewm toolbar- If I do it, I still see the title bar of the window. To move it back down, you can “Tile” it to where you want, you can press and hold “Alt” and click in the window and drag it and/or left click it’s lower border and resize it…

                        Edit2:
                        You may have something wrong with the layer where Icewm’s toolbar is- did you ever mess with those settings?

                        P.

                        • This reply was modified 5 months, 2 weeks ago by PPC.
                        • This reply was modified 5 months, 2 weeks ago by PPC.
                        #94026
                        Moderator
                        BobC
                          Helpful
                          Up
                          0
                          ::

                          I thought I put in a post already that said WinGrid is not multi monitor capable? You need to use WinArrange or icesh to handle that. There are posts here, and on the IceWM site and Manual. WinArrange is already in the keys file.

                          Please read the above again.

                          When you ask WinGrid to fit that window to the 2 right quadrants (right half), it maximizes the vertical as part of that process. If you need to get fancier, use icesh.

                          What are you expecting Alt-space to do? It just brings up the Window menu. Arrow down to “Move” and press Enter. Now when you press arrows or move mouse the window will move.

                          Please make sure your system is up to date. Run the antiX Updater from the menu just to be sure.

                          #94029
                          Member
                          argonaut459
                            Helpful
                            Up
                            0
                            ::

                            Don’t have multimonitor, this happens with just this single one.
                            Don’t know if there is any difference, thats the first I found as the CTRL+ command in the FAQ didn’t work.
                            http://download.tuxfamily.org/antix/docs-antiX-21/FAQ/wingrid.html

                            Found these, and something which mention a KP rose (what ever that may be), and changed the first 2 entries to super+left / right, to see if it works.

                            #94032
                            Moderator
                            BobC
                              Helpful
                              Up
                              0
                              ::

                              PPC,

                              If you look above he isn’t using IceWM’s Tiling menu options. He has programmed additional keys to run WinGrid functions, so it will work just like those same WinGrid functions if they were run from the normally assigned keys.

                              He also has multiple screens, which I don’t think WinGrid is designed/tested to work with, but I don’t see that causing trouble right now, so maybe he only has one connected at the moment.

                              You are correct though that when you ask IceWM to tile a window, it just figures out how big it should be, and moves it where you asked. If there happens to be another window already there in that same space, it will just cover it up. IceWM’s tiling functions don’t automatically move other windows out of the way unless you use the Tile Vertically or Tile Horizontally options off the Tiling submenu or via their assigned keys, and those will rearrange all the windows on the screen, so I never use them.

                              #94038
                              Member
                              PPC
                                Helpful
                                Up
                                0
                                ::

                                If you look above he isn’t using IceWM’s Tiling menu options. He has programmed additional keys to run WinGrid functions,

                                You are right, Bob, of course, but argonaut also said something about using “IceWM’s tiling features”, so I (wrongly) assumed the user was refering Icewm, not wingrid.

                                To clarify, argonaut: IceWM now has 2 ways to perform “pseudo-tiling” on windows: wingrid (that, since at least since the last ice age, came with antiX, long before it came with other proprietary OSes) and now IceWM’s itself, thanks to Bob’s efforts, has it’s own way to tile windows- it can also be used with keybindings (I’ll post a link to the relevant thread once I find it) or by right clicking the Title bar of a Window > Tile > chose where you want to tile the window to. It’s been reported that Wingrid fails to work with a multiple screen setup (because it treats all screens just like a giant one- the same thing happens if you try to printscreen, using multiple screens). IceWm’s own tiling features do work on multiscreen systems just fine, from what has been reported here in the forum…

                                Edit: found it- try this, instead of the keybindings you added, it may work better for you:
                                https://www.antixforum.com/forums/topic/icewm-moving-windows-with-keyboard-shortcuts/#post-91658

                                edit2: just to cover all the bases, using a previous example from Bob, try to assign your keybindings to this commands:

                                to tile to the left side of the screen:
                                icesh -f sizeto 49% 100% top left

                                to tile to the right side of the screen
                                icesh -f sizeto 49% 100% top right

                                I ran out of ideas… good luck with your tilling experiments!

                                P.

                                • This reply was modified 5 months, 2 weeks ago by PPC.
                                • This reply was modified 5 months, 2 weeks ago by PPC.
                                • This reply was modified 5 months, 2 weeks ago by PPC.
                                #94041
                                Moderator
                                BobC
                                  Helpful
                                  Up
                                  0
                                  ::

                                  Argonaut, This is a numeric keypad. Note how the keys have arrows, just like a compass rose.

                                  You press the key pointing in the direction that you want your window to be at. Up makes it the top half, Right makes it the right half. The 9 key makes it that top right corner, Etc. 5 centers it.

                                  • This reply was modified 5 months, 2 weeks ago by BobC.
                                Viewing 15 posts - 1 through 15 (of 30 total)
                                • You must be logged in to reply to this topic.