📜  Daily bing ubuntu - Shell-Bash (1)

📅  最后修改于: 2023-12-03 14:40:36.163000             🧑  作者: Mango

Daily Bing Ubuntu - Shell-Bash

Introduction

Daily Bing Ubuntu is a simple Shell-Bash script that sets the daily Bing image as your desktop background on Ubuntu operating system. The script automatically retrieves the Bing image of the day and sets it as your desktop wallpaper.

Features
  • Automatically sets Bing image of the day as your desktop wallpaper
  • Easy to configure and use
  • Lightweight and fast
Installation
  1. Download the script from the following repository: https://github.com/username/daily-bing-ubuntu
  2. Open the terminal and navigate to the downloaded script directory
  3. Run the following command to give the script executable permissions:
chmod +x daily-bing-ubuntu.sh
  1. Configure the settings in the script to fit your preferences
  2. Run the script using the following command:
./daily-bing-ubuntu.sh
Settings

The script comes with a few settings that can be configured to fit your preferences.

Image Resolution

The script retrieves Bing image of the day in a default resolution of 1920x1080. However, if you prefer a different resolution, you can change it by modifying the RESOLUTION variable in the script. For example, if you prefer a resolution of 1366x768, you can change the variable as follows:

RESOLUTION=1366x768
Wallpaper Placement

By default, the script sets the wallpaper in "stretched" mode. However, you can change the wallpaper placement by modifying the WALLPAPER_PLACEMENT variable in the script. The possible values for this variable are:

  • centered
  • scaled
  • stretched
  • zoom
  • spanned

For example, if you prefer the wallpaper to be centered, you can change the variable as follows:

WALLPAPER_PLACEMENT=centered
Using Different Desktop Environments

The script is designed to work with the default Ubuntu desktop environment, which uses the Gnome desktop manager. However, if you use a different desktop environment, you will need to modify the script to use the corresponding desktop manager.

Conclusion

Daily Bing Ubuntu is a simple and lightweight Shell-Bash script that sets the daily Bing image as your desktop background on Ubuntu operating system. It is easy to configure and use and comes with a few settings that can be customized to fit your preferences. Try it out and enjoy the beautiful Bing images on your desktop every day!