{"id":17382999,"url":"https://github.com/ggeorgovassilis/linuxscripts","last_synced_at":"2025-04-08T08:17:11.526Z","repository":{"id":19068230,"uuid":"22295160","full_name":"ggeorgovassilis/linuxscripts","owner":"ggeorgovassilis","description":"Script collection for linux","archived":false,"fork":false,"pushed_at":"2024-11-30T17:13:53.000Z","size":68,"stargazers_count":387,"open_issues_count":4,"forks_count":113,"subscribers_count":29,"default_branch":"master","last_synced_at":"2025-04-01T05:38:11.069Z","etag":null,"topics":["audio","home-automation","linux","networking","shell-script","usb","wlan-tool"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ggeorgovassilis.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}},"created_at":"2014-07-26T19:54:20.000Z","updated_at":"2025-03-29T20:54:19.000Z","dependencies_parsed_at":"2024-02-05T16:05:35.200Z","dependency_job_id":"7a4dc5f9-f093-49d2-9a32-20cfa3cb9930","html_url":"https://github.com/ggeorgovassilis/linuxscripts","commit_stats":{"total_commits":74,"total_committers":5,"mean_commits":14.8,"dds":0.06756756756756754,"last_synced_commit":"dc4e0073b37f44f4ccda9b83ecca4b3e03c08791"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggeorgovassilis%2Flinuxscripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggeorgovassilis%2Flinuxscripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggeorgovassilis%2Flinuxscripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ggeorgovassilis%2Flinuxscripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ggeorgovassilis","download_url":"https://codeload.github.com/ggeorgovassilis/linuxscripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801175,"owners_count":20998339,"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":["audio","home-automation","linux","networking","shell-script","usb","wlan-tool"],"created_at":"2024-10-16T07:40:10.658Z","updated_at":"2025-04-08T08:17:11.500Z","avatar_url":"https://github.com/ggeorgovassilis.png","language":"Shell","readme":"linuxscripts\n============\n\nScript collection for linux\n\n\n## powersave\n\nEnables some powersaving on the Asus N56VB and Ubuntu 12.04. Should work on other computers and Linuxes as well. In order to enable power saving run the script with an argument of either light, on or extra like this:\n\n```sh\npowersave.sh light\n```\n\nThe script contains self-explanatory functions grouped under a big CASE that enable various power saving features. Depending on your needs, you can re-arrange these functions to different cases. For example, I work mostly in a wireless setup, so I moved the \"disable_ethernet\" function to the \"light\" case. Also, when on the road, I don't do heavy processing, so I moved \"make_cpus_sleep\" to the \"on\" case - however my applications need a lot of CPU at work, so I'm not running the \"make_cpus_sleep\" function in the \"light\" setting. \n\n## powersave-acer-nitro5.sh\n\nScript for reducing power consumption of the Acer Nitro 5. Has four options low/medium/full/reset. The frist three do what they say, eg. \"low\" disables most CPU cores, pins frequency at the lowest value, reduces graphics card frequency etc. \"full\" undoes all power saving measures. \"reset\" is like \"low\", but first resets power saving settings - that's needed mostly after resuming from standby.\n\n## brightness\n\nAllows for finer brightness control for the Asus N56VB and Ubuntu 12.04. You probably need to adjust the \"B\" variable in the script.\n\n```sh\nbrightness.sh down\n```\n\n## usb-headset\n\nHandles some automatic volume adjustment (like enabling the headset and muting other equipment). You probably will have to adjust the device names.\n\n## wifi-picker\n\nUseful in a topology with a WLAN and multiple access points, will pick the AP with the strongest signal and connect. Must be run as root because iwlist\nwon't return a list of SSIDs otherwise.\n\n```sh\nwifi-picker.sh \u003cinterface\u003e \u003cSSID\u003e\n```\n\ne.g.\n\n```sh\nsudo wifi-picker.sh wlan0 home_wifi\n```\n\nNote: You might need to restart some applications or even services after running the script, e.g. Firefox won't be able to connect to Google or Facebook.\n\n## ip6-firewall\n\nExample script that shows how to harden an ip6 enabled web server. Closes down everything other than port 22 (ssh), 80 (http), 6081 (varnish) and ICMP and redirects traffic from port 80 to 6081.\n\n## some extra keyboard mappings\n\nExample script from [here](http://larsmichelsen.com/open-source/german-umlauts-on-us-keyboard-in-x-ubuntu-10-04/) that adds some special characters\nfor European languages to an US keyboard mapping. \n\n## control the tp-link hs100, hs110 and hs200 wlan smart plugs\n[See repository](https://github.com/ggeorgovassilis/linuxscripts/tree/master/tp-link-hs100-smartplug)\n\n## tools for proxying a nordvpn socks5 proxy\n\nRuns haproxy as a proxy to nordvpn. [See repository](https://github.com/ggeorgovassilis/linuxscripts/blob/master/nordvpn-proxy/README.md)\n\nSnoop around the nordvpn-proxy directory for other tools.\n\n## checksum-directory\nCompute the checksum of a directory and contents. Useful to make sure a location hasn't been corrupted. Must be invoked from directory to check.\n```sh\ncd /path/to/check\n/path/to/script/compute-checksum.sh\n```\nA\n```\ncompute-checksum.sh\n\n## qrcodes\nScript that converts a file to a series of QR codes and assembles QR codes back together into file. Doesn't work very well on big files :-(\n\nConvert \"file\" into a series of QR codes stored in the current directory as PNG images:\n\n```sh\nmake-qr.sh sourcefile\n```\n\nConvert QR codes back into file. Takes all PNG files named part.somenumber.png in the current directory:\n```sh\nrestore-qr.sh outputfile\n```\n\n## reset-pci_device\nReset a PCI device (like in my case, the Atheros wifi module) when the driver isn't responding and reloads the driver\n```sh\nreset-pci-device.sh\n```\n\n## acer-nitro5-powerbutton-workaround.sh\nAfter an update in October 2022, the power button doesn't work anymore in Ubuntu 20.04. This script works around the issue by tailing syslog.\nI added it to the startup application list which runs scripts after the user logs in to the desktop.\n\n## touchpad-volume-control.sh\nMulti-touch volume control. Allows sound volume change through touchpad gestures. Use a three-finger touch gesture to increase volume by scrolling up, decrease volume by scrolling down. You probably need to edit the script and set the touchpad event device in the \"touchpad_device\" variable. You also need to make that device readable for your user. The script needs to be run as the current user, not root. \n\n```sh\ntouchpad-volume-control.sh\n```\n\n## clamav\nRuns clamav in a docker container. See [clamav](https://github.com/ggeorgovassilis/linuxscripts/tree/master/clamav) for details.\n\n## toggle-keyboard-layout.sh\n\nAlt + Shift implementation that toggles between two keyboard layouts. You need to edit the script for keyboard layouts.\n\n```sh\ntoggle-keyboard-layout.sh\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggeorgovassilis%2Flinuxscripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fggeorgovassilis%2Flinuxscripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fggeorgovassilis%2Flinuxscripts/lists"}