morrolinux / i3expo-ng

Exposè for i3 WM. Fork of https://gitlab.com/d.reis/i3expo to fix crashes and improve features/usability
https://morrolinux.it
MIT License
158 stars 14 forks source link

i3expod not launching #25

Closed Mugworth closed 1 year ago

Mugworth commented 1 year ago

-- Linux Mint 23 -- python 3.10 -- i3 4.22

2023-01-10_19-26

morrolinux commented 1 year ago

Monitor(s) configuration?

Mugworth commented 1 year ago

I have only one monitor, under DVI-D-0, 1920x1200 resolution, and i didnt change anything in the config.

morrolinux commented 1 year ago

If you open a python interpreter and paste this:

import subprocess

def get_primary_output_name():
    stdout, stderr = subprocess.Popen('xrandr --listmonitors',
                                      shell=True, stdout=subprocess.PIPE).communicate()
    if stdout != '':
        monitorlines = stdout.decode().split("\n")
        # Search for the primary (marked with +*)
        # If none found (e.g. primary is on a disconnected output), take the first
        primary = None
        for m in monitorlines:
            if "+*" in m:
                primary = m
                break  # Early exit from the cycle
            elif "+" in m:
                primary = m  # We found a monitor. Keep it
        if primary != None:
            return primary.split()[-1]
    return None

get_primary_output_name()

what's the output?

Mugworth commented 1 year ago

Here it is 2023-01-12_20-46

Mugworth commented 1 year ago

I dont know how i didnt think about it earlier, but with default i3 configuration, i3expo is working perfectly, i will try to debugg my config and update this thread later, im sorry for wasting your time

Mugworth commented 1 year ago

Ok it seems its because of gaps, is expo not supposed to work with them or is it because of some bugs? My configuration of gaps: 2023-01-12_21-26

morrolinux commented 1 year ago

Umh, interesting. So it's fine if you disable gaps... Well I do use gaps myself and it works, the only difference is I don't use negative values for gaps. Have you tried setting your outer gaps to something non-negative, like 0?

Mugworth commented 1 year ago

Yeah without negative value it's working as expected, i guess i can live without it, thank you :)