DEV Community

manish srivastava
manish srivastava

Posted on

Internet image as desktop background without downloading it in your local machine :) Its Possible

Hello Friends,

Many of us download images from internet and then set it as wallpaper. In this short hack , I will let you know, how you can make any internet image as desktop background without downloading it in your local machine.

Image description

In ubuntu you need to run this command:

sudo apt-get install feh
feh --bg-scale /path/to/your/background/image.jpg
Enter fullscreen mode Exit fullscreen mode

change path to internet image:

feh --bg-scale https://bit.ly/3EnPMkc
Enter fullscreen mode Exit fullscreen mode

The above link is shorturl of https://upload.wikimedia.org/wikipedia/commons/b/b3/Shinjini_kathak_dance_indian_classical_san_Francisco.jpg

you can make feh to remember your choice next boot:
Once you've picked a wallpaper, feh stores the name in a file called .fehbg. That means you can tell it to restore the wallpaper on the next boot by checking to see what's inside that file. Add this line to your ~/.xinitrc file.

eval `cat $HOME/.fehbg` &
Enter fullscreen mode Exit fullscreen mode

Other things you can do:

(1) My readers may recall my post about the lorapora-sum of images, in which images are generated on each refresh ( check my previous posts). You can try this on your server by allowing feh to reload every 2 hours. As a simple home-made solution.

(2) If you are a "Administrator," you can update the season greeting as the desktop wallpaper on all computers connected to your network.

(3) New notices are delivered to employees' desktops on a daily basis. They are not required to open mail:)

Bye!!!

Top comments (1)

Collapse
 
tufail profile image
Tufail Shah

A way more simpler way is to set an image as wallpaper(how we do usually) and then delete that image altogether and the wallpaper will remain the same.