{"id":29222430,"url":"https://github.com/jfriedlein/add_metadata2file_xattr_gui_py","last_synced_at":"2026-04-24T12:04:10.207Z","repository":{"id":301302453,"uuid":"1008798076","full_name":"jfriedlein/add_metadata2File_xattr_GUI_py","owner":"jfriedlein","description":"Python graphical user interface that allows to easily add metadata to a file using xattr (Linux)","archived":false,"fork":false,"pushed_at":"2025-06-26T06:28:45.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-26T07:22:41.961Z","etag":null,"topics":["caja","gui","linux","metadata","python","xattr"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jfriedlein.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-06-26T05:41:28.000Z","updated_at":"2025-06-26T06:28:48.000Z","dependencies_parsed_at":"2025-06-26T07:33:06.684Z","dependency_job_id":null,"html_url":"https://github.com/jfriedlein/add_metadata2File_xattr_GUI_py","commit_stats":null,"previous_names":["jfriedlein/add_metadata2file_xattr_gui_py"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jfriedlein/add_metadata2File_xattr_GUI_py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfriedlein%2Fadd_metadata2File_xattr_GUI_py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfriedlein%2Fadd_metadata2File_xattr_GUI_py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfriedlein%2Fadd_metadata2File_xattr_GUI_py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfriedlein%2Fadd_metadata2File_xattr_GUI_py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jfriedlein","download_url":"https://codeload.github.com/jfriedlein/add_metadata2File_xattr_GUI_py/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jfriedlein%2Fadd_metadata2File_xattr_GUI_py/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263254113,"owners_count":23437995,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["caja","gui","linux","metadata","python","xattr"],"created_at":"2025-07-03T03:33:06.538Z","updated_at":"2026-04-24T12:04:05.164Z","avatar_url":"https://github.com/jfriedlein.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# add_metadata2File_xattr_GUI_py\nPython graphical user interface that allows to easily add metadata to a file using xattr (Linux)\n\n\n## What this does\nInstead of putting some information into the filename of e.g. a picture, you can use this GUI to add all the information you want into the metadata of a file.\n\nThis is set up for Linux using xattr and python.\n\nSome limitations for xattr exist (data size ~kByte, etc.). Also note that copying files with xattr can be strange.\n\n## How-to\n### Usage with file explorer caja\n- Download the \"xattr_gui.py\" script and place it into ~/.config/caja/scripts\n- You probably need to add some python packages (tkinter, xattr, ...)\n- Select a file in the file explorer caja, right-click on the file -\u003e \"Scripts\" -\u003e \"xattr_gui.py\"\n- A python GUI opens which loads the file attributes for the selected file, e.g. for the python script itself:\n\n\u003cimg src=\"https://github.com/jfriedlein/add_metadata2File_xattr_GUI_py/blob/main/xattr%20Note%20setter%20-%20start%20screen.png\" width=\"500\"\u003e\n\n- In the text box after \"Attribute name:\", you can enter the name of the attribute, e.g. \"internal length parameter\"\n- In the text box after \"Note:\", you can add your text or value, here e.g. \"2 mm\"\n- Clicking on the button \"Store\" will save the attribute using xattr\n- Once one or more attributes exist for a file, a drop-down menu appears which allows to show/edit existing attributes or \"Add new attribute...\"\n\n\u003cimg src=\"https://github.com/jfriedlein/add_metadata2File_xattr_GUI_py/blob/main/xattr%20Note%20setter%20-%20existing%20attribute.png\" width=\"500\"\u003e\n\n- With this window open, you can also drag\u0026drop a different file into it to add or check its attributes\n- Note, in the python script the GUI is set as \"always on top\" to ease drag\u0026drop. In case you don't like this, you remove the Python code line setting the window as topmost.\n\n## Health warning\nThis is a quick\u0026dirty 2 hour AI-based implementation.\n\n## ToDos\n- Text selection is not possible in my \"Note:\" field, why?\n- Check why file copies add each byte as hex\n- collect the needed python packages\n- This could be packed into a standalone python executable to avoid the need for a python installation and the GUI packages.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfriedlein%2Fadd_metadata2file_xattr_gui_py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjfriedlein%2Fadd_metadata2file_xattr_gui_py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjfriedlein%2Fadd_metadata2file_xattr_gui_py/lists"}