{"id":16612951,"url":"https://github.com/ttys3/gnome-nautilus-scripts","last_synced_at":"2026-04-24T04:33:34.602Z","repository":{"id":101550219,"uuid":"269635603","full_name":"ttys3/gnome-nautilus-scripts","owner":"ttys3","description":"my personal GNOME nautilus file manager scripts, put it under ~/.local/share/nautilus/scripts and have fun -_-","archived":false,"fork":false,"pushed_at":"2020-06-11T17:51:20.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-26T15:12:55.907Z","etag":null,"topics":[],"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/ttys3.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}},"created_at":"2020-06-05T12:55:14.000Z","updated_at":"2020-06-11T17:51:22.000Z","dependencies_parsed_at":"2023-06-05T10:30:18.150Z","dependency_job_id":null,"html_url":"https://github.com/ttys3/gnome-nautilus-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ttys3/gnome-nautilus-scripts","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fgnome-nautilus-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fgnome-nautilus-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fgnome-nautilus-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fgnome-nautilus-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ttys3","download_url":"https://codeload.github.com/ttys3/gnome-nautilus-scripts/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ttys3%2Fgnome-nautilus-scripts/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32209893,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-12T01:45:26.562Z","updated_at":"2026-04-24T04:33:34.587Z","avatar_url":"https://github.com/ttys3.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gnome-nautilus-scripts\n\nGNOME nautilus file manager scripts\n\n## usage\n\nput it under `~/.local/share/nautilus/scripts` and have fun -_-\n\n## included scripts\n\n1. `copy-filename.py`: copy base filename to clipboard\n\n2. `copy-filepath.py`: copy full path filename to clipboard\n\n## dev\n\n### method 1: use exists stubs\n\n```bash\npip install --user PyGObject-stubs\n```\n\n### method 2: make the stubs yourself\n\nsee \u003chttps://github.com/pygobject/pygobject-stubs/issues/5#issuecomment-639541725\u003e\n\n\u003e if you do NOT have pycharm installed, you need to clone the intellij-community repo:\n\u003e `git clone --depth 1 https://github.com/JetBrains/intellij-community.git /tmp/idea`\n\u003e\n\u003e and replace the command below\n\u003e\n\u003e `PYTHONPATH=$HOME/Apps/pycharm-community/plugins/python-ce/helpers python3 -m generator3`\n\u003e\n\u003e with\n\u003e \n\u003e `python3 /tmp/idea/python/helpers/generator3/__main__.py`\n\n\n```bash\nmkdir /tmp/out\nfor typelib in Atk GLib GModule GObject Gdk GdkPixbuf Gio Gtk Pango; do\n    PYTHONPATH=$HOME/Apps/pycharm-community/plugins/python-ce/helpers python3 -m generator3 -d /tmp/out -p gi.repository.$typelib $(python3 -c \"import gi; gi.require_versions({'Atk': '1.0', 'GModule': '2.0', 'Gdk': '3.0', 'GdkPixbuf': '2.0', 'Gtk': '3.0', 'Pango': '1.0'}); from gi.repository import $typelib; print($typelib.__path__[-1])\")\ndone\n\n#make pyCharm can use it:\nmv /tmp/out/gi ~/.local/lib/python3.8/site-packages/gi-stubs\n# or you can put the gi-stubs dir to anywhere but just remember to add to your project\n# see https://www.jetbrains.com/help/pycharm/stubs.html#reuse-stubs\n```\n\n`$HOME/Apps/pycharm-community` is the pycharm installation path of mine, please use your own path.\n\nexplain:\n\n`python3 -c \"import gi; gi.require_versions({'Gtk': '3.0'}); from gi.repository import Gtk; print(Gtk.__path__[-1])\"` will ouput\n\n`/usr/lib64/girepository-1.0/Gtk-3.0.typelib`\n\nwhen we run \n\n`PYTHONPATH=$HOME/Apps/pycharm-community/plugins/python-ce/helpers python3 -m generator3 -d /tmp/out -p gi.repository.Gtk /usr/lib64/girepository-1.0/Gtk-3.0.typelib`\n\nthe JetBrains generator3 will generate stubs for `gi.repository.Gtk` package by parsing the G-IR binary database file `/usr/lib64/girepository-1.0/Gtk-3.0.typelib`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Fgnome-nautilus-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fttys3%2Fgnome-nautilus-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fttys3%2Fgnome-nautilus-scripts/lists"}