https://github.com/KSt3ve/Forbidden_Background
Shell script for automatic changing background program with remote control and launch the program when the computer starts up.
https://github.com/KSt3ve/Forbidden_Background
Last synced: 5 months ago
JSON representation
Shell script for automatic changing background program with remote control and launch the program when the computer starts up.
- Host: GitHub
- URL: https://github.com/KSt3ve/Forbidden_Background
- Owner: KSt3ve
- Created: 2023-11-11T22:46:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-21T22:06:54.000Z (over 1 year ago)
- Last Synced: 2024-08-13T07:05:06.198Z (8 months ago)
- Language: PowerShell
- Size: 35.2 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
- jimsghstars - KSt3ve/Forbidden_Background - Shell script for automatic changing background program with remote control and launch the program when the computer starts up. (PowerShell)
README
# Forbidden_Background
## Overview
Forbidden_Background is a collection of bash and powershell scripts designed to remotely take control of a computer's background.
## Version and Status
- Version: 1.0
- Update: 21/11/2023
- Status: stable## Features
- Bash scipt for quick background pc control (disapear after reboot pc) - The bash script will allow you to take control of a computer background only one time (the script will not re-run after )
- Powershell script to change and maintains control (even after reboot) - The Powershell
- Remote computer background control
- Update of wallpapers displayed on computer via poastebin## Installation
### 1. Download the script on the computer
To take control of a computer background, you need to clone the repo on the computer
```
git clone https://github.com/KSt3ve/Forbidden_Background
```### 2. Create the pastebin
Next; you need to create a pastebin account on ```https://pastebin.com/``` and set ```Paste Expiration:``` to Never
Next, fill the pastebin like this :
```
{
"images":[
{
"image_1": "https://images4.alphacoders.com/201/20198.jpg",
"image_2": "..."
}
]
}
```### 3. Change the different informations in the code
Change the pastebin id in Forbidden_bg.ps1 and Forbidden_bg.sh
```
pastebin_url="https://pastebin.com/raw/Your_Pastebin_ID"
```Change the directory where you want your images to be :
#### For Bash Script:
Forbidden_bg.sh : ```image_dir="/mnt/c/Your/Path"```
#### For PowerShell Script:
Forbidden_bg.ps1 : ```$imageDir = "C:\Your\Path"```
CreateScheduledTask.ps1 : ```$powerShellScriptPath = "C:\Path_To_Ps1_File\Forbidden_bg.ps1"``` and ```$taskName = "Your_Task_Name"```
### 4. Script Execution Instructions
#### For Bash Script:
1. Open a Linux terminal.
2. Navigate to the script directory.
3. Run the following command: `./Forbidden_bg.sh`#### For PowerShell Script:
1. Place the `Forbidden_bg.ps1` file in the same path specified in the `CreateScheduledTask.ps1` file under `$powerShellScriptPath`.
2. Open a PowerShell terminal with administrative privileges.
3. Run the command: `./CreateScheduledTask.ps1`
4. The script will create a scheduled task in the Windows Task Scheduler, ensuring that the `Forbidden_bg.ps1` program is executed on every computer startup.### project made by KSt3ve