{"id":16082097,"url":"https://github.com/varunon9/useful-shell-scripts","last_synced_at":"2025-10-07T22:05:08.356Z","repository":{"id":93827764,"uuid":"81122611","full_name":"varunon9/useful-shell-scripts","owner":"varunon9","description":"Shell scripts for changing wallpaper, custom notifications and change brightness (Ubuntu) ","archived":false,"fork":false,"pushed_at":"2017-03-17T15:42:57.000Z","size":139,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-10T22:47:41.722Z","etag":null,"topics":["change-brightness-ubuntu","custom-notification","periodically-change-wallpeper","shell-scripts"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/varunon9.png","metadata":{"files":{"readme":"README.md","changelog":"change-wallpaper.sh","contributing":null,"funding":null,"license":"LICENSE.md","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":"2017-02-06T19:19:42.000Z","updated_at":"2017-02-06T19:30:57.000Z","dependencies_parsed_at":"2023-03-14T22:15:51.769Z","dependency_job_id":null,"html_url":"https://github.com/varunon9/useful-shell-scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fuseful-shell-scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fuseful-shell-scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fuseful-shell-scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/varunon9%2Fuseful-shell-scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/varunon9","download_url":"https://codeload.github.com/varunon9/useful-shell-scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247332524,"owners_count":20921852,"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":["change-brightness-ubuntu","custom-notification","periodically-change-wallpeper","shell-scripts"],"created_at":"2024-10-09T11:25:27.914Z","updated_at":"2025-10-07T22:05:08.240Z","avatar_url":"https://github.com/varunon9.png","language":"Shell","readme":"# Some Useful Linux Shell scripts\n\n### Shell scripts for changing wallpaper, custom notifications and change brightness (Ubuntu) \n\nOkay, so I have been using ubuntu for more than 2 years now and it is really a nice experience. However there \nare some issues like  changing brightness via settings in Ubuntu doesn't work. \nAlso it would be cool to have features like periodically changing wallpapers, using our own custom notifications etc.\nSo I searched web and found commands to accomplish above tasks. I created script files for these commands and \nused crontab to achieve desired behaviour. \n\n##### Do not forget to add executable permission to these scripts. \n\n#### Change brightness in Ubuntu\nAs mentioned earlier, changing brightness via settings doesn't work so you can use brightness.sh. \nOpen a terminal and move to this repository. Run `sh brightness.sh`\n\n#### Periodically change wallpaper\nYou can use change-wallpaper.sh combined with crontab to change desktop wallpapers periodically.\nJust replace directory path in change-wallpaper.sh file (DIR variable) to your own directory path containing \nwallpepers and edit crontab to add this task. \n\n1. Open a terminal\n2. Move to this repository folder\n3. Add execute permission to change-wallpaper.sh `sudo chmod 755 change-wallpaper.sh`\n4. edit crontab file. use `crontab -e` and add `0 */1 * * * sh /home/varun/Desktop/scripts/change-wallpaper.sh`\n5. You can check your entry using `crontab -l`\n6. change-wallpaper.sh will be executed per hour. You can modify params to suit your needs.\n\n![Crontab entry](./screenshots/crontab.png) \n\n#### Use notification to display quotes and emoji periodically\nI maintained a quote.txt file containing some quotes and used greeting.sh combined with crontab to periodically \ndisplay quotes. Just add following entry in crontab file to display quote per half an hour.\n\n`*/30 * * * * bash /home/varun/Desktop/scripts/greeting.sh`\n\n![Displaying quote](./screenshots/notification.png)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunon9%2Fuseful-shell-scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvarunon9%2Fuseful-shell-scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvarunon9%2Fuseful-shell-scripts/lists"}