{"id":18942325,"url":"https://github.com/dobrowit/pt4u","last_synced_at":"2026-02-27T03:32:10.968Z","repository":{"id":258052393,"uuid":"871941002","full_name":"Dobrowit/PT4U","owner":"Dobrowit","description":"My various scripts for poking around in Ubuntu.","archived":false,"fork":false,"pushed_at":"2025-03-09T14:21:10.000Z","size":8612,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-17T04:38:00.602Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Roff","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Dobrowit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2024-10-13T11:29:16.000Z","updated_at":"2025-03-09T14:21:15.000Z","dependencies_parsed_at":"2024-12-19T00:21:44.549Z","dependency_job_id":"1042dc66-d53f-4ede-b050-8fb0581bfcb6","html_url":"https://github.com/Dobrowit/PT4U","commit_stats":null,"previous_names":["dobrowit/pt4u"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Dobrowit/PT4U","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobrowit%2FPT4U","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobrowit%2FPT4U/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobrowit%2FPT4U/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobrowit%2FPT4U/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Dobrowit","download_url":"https://codeload.github.com/Dobrowit/PT4U/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Dobrowit%2FPT4U/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29883718,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-26T23:51:21.483Z","status":"online","status_checked_at":"2026-02-27T02:00:06.759Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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-11-08T12:32:25.134Z","updated_at":"2026-02-27T03:32:10.943Z","avatar_url":"https://github.com/Dobrowit.png","language":"Roff","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PT4U - Power Tools for Ubuntu\n\n  - UbuntuPL - szybkie 🚀 wykonywanie czynności poinstalacyjnych (instalacja oprogramowania ustawienia systemu i profilu bieżącego użytkownika).\n  - chkmousec - pomaga ustalić ustawienia kursora myszy\n  - debdesk - sprawdza pliki .desktop i ustala z jakimi pakietami deb są powiązane\n  - desk2menu - przekształca pliki .desktop do menu Fluxbox\n  - smb2home - szybko i bezpiecznie montuj zasoby SMB (np. z serwera NAS) w katalogu domowym\n  - imap_header_scanner - skanuje skrzynkę e-mail przez IMAP w poszukiwaniu unikalnych nagłówków wiadomości (skrypt badawczy)\n  - pyburner - prosty wielowątkowy benchmark do testowania systemów zdalnych np. VPS (oparte na standardowych bibliotekach python)\n\n## debdesk\nLooks for .desktop files and checks if they work and checks which deb package they belong to.\n\n![Zrzut ekranu z 2024-10-12 19-18-49](https://github.com/user-attachments/assets/575e04b7-d8b7-4ff0-a470-3f4e08010cdf)\n\n## desk2menu\nMassive conversion of .desktop files to a Fluxbox menu - with GUI.\n\nTODO:\n - localize (English and Polish using .po files)\n\n![Zrzut ekranu z 2024-10-11 09-27-19](https://github.com/user-attachments/assets/cc028c1d-1e1d-4b58-b483-186517bd7a2f)\n\n## smb2home\nA script to quickly mount SMB resources from within your home directory.\n```\nsmb2home [option]\n \u003cshare\u003e            Mount network share \u003cshare\u003e for the current user\n \u003cshare\u003e -u \u003cuser\u003e  Mount network share \u003cshare\u003e for the user \u003cuser\u003e\n -a                 Mount all shares (from the list -ls)\n \u003cshare\u003e -d         Unmount share \u003cshare\u003e\n -da                Unmount all shares (from the list -ls)\n -ls                List shares on the server for the current user\n -ls -u \u003cuser\u003e      List shares on the server for the user \u003cuser\u003e\n -l                 List mounted shares\n -s \u003cip\u003e            Save the SMB server address\n -p \u003cuser\u003e          Save the password for the user \u003cuser\u003e\n -i                 Configuration information\n -h                 Help\n```\n\nThe share name \u003cshare\u003e is not a full address. If the share has the address:\n\n\u003e  smb://192.168.0.10/myfiles\n\nthen for \u003cshare\u003e, you enter:\n\n\u003e  myfiles\n\n### DIRECTORY FOR MOUNTING SHARES\n\u003e  /home/user/mnt\n\nIf this directory does not exist, it will be created. Individual shares will be mounted in subdirectories named after the share. For a share named myfiles, the directory will be /home/user/mnt/myfiles.\n\n### PASSWORD\nThe password for the specified user is retrieved from the keyring. If you do not provide a username, the current user will be used. To edit the keyring, use seahorse (GUI) or secret-tool (CLI). The password is searched by three keys:\n```\n  protocol = 'smb'\n  user = user\n  server = 192.168.0.10\n```\n\nYou can add the password to the keyring using the Nautilus file manager. Mount the share. If prompted to remember the password, save it permanently. To edit and view stored passwords, use the seahorse application.\n\nYou can also use the command:\n\n\u003e  secret-tool store protocol smb user user server 192.168.0.10\n\n### SERVER ADDRESS\nThe server address must be provided as an IP address or domain, e.g.:\n\n\u003e  192.168.0.10\n\nYou can change the address directly in this script, at the beginning in the variable SRV or by saving it in the file /home/user/.smb2home.\n\n### USERNAME\nYou must provide a username if the current user is different from the one on the SMB server.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobrowit%2Fpt4u","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdobrowit%2Fpt4u","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdobrowit%2Fpt4u/lists"}