![]() Simply add the following line to your ~/.bash_profile (since it sounds like you are using Bash): wsl.exe -u root -e sh -c "service docker status > /dev/null || service docker start" However, if you really do want to go this route, there's a much easier way than the other answer. That said, it's not a horrible option for WSL, at least on Windows 10. Second, modifications like this tend to "accumulate" over time, making troubleshooting your shell more difficult in the future. First, I like to keep my startup scripts as lean as possible for best performance. Personally, I'm not a huge fan of this method. You've already seen the other answer to modify your startup scripts. If you want it to automatically start, there are several options: ![]() Run this instead of trying to manually replicate the startup process. You can see the full script by examining /etc/init.d/docker. This handles the daemonization of it along with many other tasks. If you intend to use the default settings you do not need to add these wallpapers.įor a pack of wallpapers ready to use with this app check out the custom set recommended by the app author called ‘Firewatch’ or a basic pack I whipped up together in a couple of minutes.The standard way to run the Docker Engine daemon (without Docker Desktop) under WSL Ubuntu is simply: sudo service docker start If you plan to use the –time flag you’ll also need to add wallpapers with the following prefies: day-*, night-* (for –time 2) plus evening-* (for –time 3) and morning-* (for –time 4). Instead you’ll need to find some (e.g., Googling and saving images) and name them accordingly: WEATHER | FILENAME You can override this by using the –city Name argument: python3 ~/WeatherDesk.py -city Riga Finding WallpapersĪlthough WeatherDesk is set up to handle weather wallpapers it doesn’t come pre-bundled with any. If you want to specify a specific wallpaper folder location run: python3 ~/WeatherDesk.py -dir /path/to/wallpapersīy default the app will ascertain your location based on your IP address. You’ll need to download some (see below for more on that). Next, open a Terminal and run the app using the following command: python3 ~/WeatherDesk.pyĪssuming you’re in the right directory the app should complain that there are no wallpapers in the ~/.weatherdesk_walls folder it creates. WeatherDesk on Github Use WeatherDesk on Ubuntu 16.04 LTSįirst things first, get the latest version of the app via Github: Alternatively see our simplified instructions below. You can head on over to the Github project page linked below for full details on how to download, configure and run the app. The GPL v3 licensed app is written in Python 3 and requires no dependencies - but it does require a bit of effort to get it up and running. KDE users are out of luck though as Raju says the DE doesn’t offer a way to change wallpapers programmatically. WeatherDesk works with most modern Linux desktops, including Unity, Cinnamon and MATE. The result is a new Python 3 app called WeatherDesk. OMG! Reader Bharadwaj Raju liked the concept of WeatherPaper so much that he set about creating a continuation of it. It was a simple concept and wonderfully neat. Sadly, WeatherPaper was discontinued a long time ago. So, for example, if it started raining outside your wallpaper would change to a rainy vista, but when the clouds moved on and the sun popped back out you’d get a sun-filled background. WeatherPaper was a simple GUI app that would automatically change your desktop wallpaper to an image matching the current weather conditions in your location. Cast your minds way, way, way back in time and see if you can remember an app we wrote about called WeatherPaper.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |