#1093220 opening gui fails with sway backtrace

#1093220#5
Date:
2025-01-16 15:17:10 UTC
From:
To:
joey@darkstar:~>impass gui
Traceback (most recent call last):
  File "/usr/bin/impass", line 33, in <module>
    sys.exit(load_entry_point('impass==0.12', 'console_scripts', 'impass')())
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
  File "/usr/lib/python3/dist-packages/impass/__main__.py", line 818, in main
    func(args)
    ~~~~^^^^^^
  File "/usr/lib/python3/dist-packages/impass/__main__.py", line 481, in gui
    i3conn = i3ipc.Connection()
  File "/usr/lib/python3/dist-packages/i3ipc/connection.py", line 74, in __init__
    self._cmd_socket.connect(self._socket_path)
    ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory

I am not running sway, this is in gnome. But I did install sway recently.

I tried removing sway and python3-i3ipc. Then it failed with
"The i3ipc module is not found, so 'sway' pasting is not available."

Somehow, SWAYSOCK was set when logging into gnome on xorg. I had to unset that to
fix the problem.

#1093220#10
Date:
2025-01-17 00:22:34 UTC
From:
To:
I think this is caused by /etc/sway/config.d/50-systemd-user.conf