Skip to content

Linux support #2

@howff

Description

@howff

What is preventing this from running on Linux?

I've tried this on ubuntu:

sudo apt install tkdnd
pip install imageio tkinterdnd2

I changed import TkinterDnD2 as tkDnD to import tkinterdnd2 as tkDnD (not sure why the case is different)

I had to comment out self.iconbitmap(resource_directory(ICON_FILE)) (not sure why but it gave the error

  File "./imquick.py", line 861, in <module>
    app = ImQuick(root, file_in)
  File "./imquick.py", line 56, in __init__
    self.iconbitmap(resource_directory(ICON_FILE))
  File "/usr/lib/python3.8/tkinter/__init__.py", line 2080, in wm_iconbitmap
    return self.tk.call('wm', 'iconbitmap', self._w, bitmap)
_tkinter.TclError: bitmap "resources/ImQuick.ico" not defined

even though that file definitely exists).

After that it seems to work ok.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions