<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/setbingwp/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 18 Nov 2014 11:11:24 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/setbingwp/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v12
+++ v13
@@ -26,11 +26,11 @@
 Installation
 ==========

-setBingWP.sh is only one single bash script. Download it and put it into any directory, don't forget to make it executable. Run it manually first and experiment with the command line switches until you are satisfied with the result. When testing, don't forget to use the -l switch, otherwise most desktop environments won't update the wallpaper as the file name hasn't changed. On Linux, that's all there is to it.
+_setBingWP.sh_ is only one single bash script. Download it and put it into any directory, don't forget to make it executable. Run it manually first and experiment with the command line switches until you are satisfied with the result. When testing, don't forget to use the -l switch, otherwise most desktop environments won't update the wallpaper as the file name hasn't changed. On Linux, that's all there is to it.

-On windows, you have to install Cygwin first (http://cygwin.com)). Make sure you select wget and imagemagick as well in the Cygwin installer as they're not included by default. Then, if you want to include image captions, copy the file C:\Windows\Fonts\arial.ttf to C:\cygwin64\usr\share\fonts\TTF\arial.ttf (you have to create the TTF directory first). Download the setBingWP.sh Script and the HelperFiles Directory including all content and leave the directory structure as is.
+On windows, you have to install Cygwin first (http://cygwin.com). Make sure you select wget and imagemagick as well in the Cygwin installer as they're not included by default. Then, if you want to include image captions, copy the file _C:\Windows\Fonts\arial.ttf_ to _C:\cygwin64\usr\share\fonts\TTF\arial.ttf_ (you have to create the TTF directory first). Download the _setBingWP.sh_ Script and the HelperFiles Directory including all content and leave the directory structure as is.

-On the Mac, you can get imagemagick from http://cactuslab.com/imagemagick/
+On the Mac, you can get imagemagick from http://cactuslab.com/imagemagick/. The installation is identical to Linux.

 Synopsis
 ==========
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Tue, 18 Nov 2014 11:11:24 -0000</pubDate><guid>https://sourceforge.net70337581bb15c60f2feb50885f473baaaa6a4780</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -36,7 +36,7 @@
 ==========
 Run setBingWP.sh -h to display the help:

-    Usage: setBingWp.sh -d [MATE|GNOME|CINNAMON|XFCE|OSX|WIN] [-c] [-r] [-o [TOP|BOTTOM]] [-i /path/to/images/dir] [-p [2-64]] [-s [8-24]] [-l]
+    Usage: setBingWp.sh -d [MATE|GNOME|CINNAMON|XFCE|OSX|WIN] [-c] [-r] [-o [TOP|BOTTOM]] [-i /path/to/images/dir] [-p [2-64]] [-s [8-24]] [-l] [-m [CONSOLE|SILENT|FILE]] [-w [CENTER|STRETCH|KEEP]]

     Command line switches:
        -d sets the desktop environment (one of MATE, GNOME, CINNAMON, XFCE, OSX, WIN). Required, no default.
@@ -47,6 +47,8 @@
        -p position of caption (distance from border of image, right value depends on screen size and resolution), value must be between 2 and 64. Default is 2.
        -s caption font size in points. Value between 8 and 24. Default is 16.
        -l use long file names (bingImage_YYYY-MM-DD_hh-mm-ss.jpg) instead of short ones (bingImage_YYYY-MM-DD.jpg)
+       -m : set log mode: CONSOLE, SILENT or FILE (default is CONSOLE). When set to FILE, it will log to /tmp/setBingWP.log
+       -w : position of wallpaper: CENTER, STRETCH or KEEP (default is KEEP)

 Automation
 ==========
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Tue, 18 Nov 2014 10:55:52 -0000</pubDate><guid>https://sourceforge.net1822abc410f23f8c96579b79546bb34ac658d0ef</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v10
+++ v11
@@ -26,9 +26,9 @@
 Installation
 ==========

-setBingWP.sh is only one single bash script. Download it and put it into any directory, don't forget to make it executable. Run it manually first and experiment with the command line switches until you are satisfied with the result. When testing, don't forget to use the -l switch, otherwise most desktop environments won't update the wallpaper as the file name hasn't changed. 
+setBingWP.sh is only one single bash script. Download it and put it into any directory, don't forget to make it executable. Run it manually first and experiment with the command line switches until you are satisfied with the result. When testing, don't forget to use the -l switch, otherwise most desktop environments won't update the wallpaper as the file name hasn't changed. On Linux, that's all there is to it.

-On windows, you have to install Cygwin first (http://cygwin.com)). Make sure you select wget and imagemagick as well in the Cygwin installer as they're not included by default. Then, if you want to include image captions, copy the file C:\Windows\Fonts\arial.ttf to C:\cygwin64\usr\share\fonts\TTF\arial.ttf (you have to create the TTF directory first).
+On windows, you have to install Cygwin first (http://cygwin.com)). Make sure you select wget and imagemagick as well in the Cygwin installer as they're not included by default. Then, if you want to include image captions, copy the file C:\Windows\Fonts\arial.ttf to C:\cygwin64\usr\share\fonts\TTF\arial.ttf (you have to create the TTF directory first). Download the setBingWP.sh Script and the HelperFiles Directory including all content and leave the directory structure as is.

 On the Mac, you can get imagemagick from http://cactuslab.com/imagemagick/

@@ -63,21 +63,23 @@

 Windows
 ----------
-On Windows it's most convenient to create a small batch file that you can simpoly launch by double-clicking on it. Mine looks like this:
+On Windows it's most convenient to create a small batch file that you can simply launch by double-clicking on it. Mine looks like this:

     set PATH=C:\cygwin64\bin;%PATH%
     C:\cygwin64\bin\bash.exe /cygdrive/c/Path/to/Script/SetBingWP/setBingWP.sh -d WIN -c -i /cygdrive/c/Daten/Bilder/bing -w CENTER

+You can then execute that batch file using Windows' task scheduler.
+
 Mac OSX
 ----------
-* Use _launchd_ (see http://stackoverflow.com/questions/6442364/running-script-upon-login-mac/13372744#13372744)
-* put setBingWP.sh in ~/bin/
-* create a second script, _~/bin/runSetBingWP.sh_, containing
+The best option is to use _launchd_ (see http://stackoverflow.com/questions/6442364/running-script-upon-login-mac/13372744#13372744)
+
+First, create the directory _~/bin/_ and put _setBingWP.sh_ in _~/bin/_. Then, create a second script, _~/bin/runSetBingWP.sh_, containing e.g.

       #!/bin/bash
       /Users/YourUserName/bin/setBingWP.sh -d OSX

-* create Directory _~/Library/LaunchAgents_ and file _~/Library/LaunchAgents/com.user.setbingwp.plist_ containing
+Then, create the directory _~/Library/LaunchAgents_ and the file _~/Library/LaunchAgents/com.user.setbingwp.plist_ containing

       
       
@@ -92,7 +94,7 @@
          &amp;lt;/dict&amp;gt;
       &amp;lt;/plist&amp;gt;

-* run _launchctl load ~/Library/LaunchAgents/com.user.setbingwp.plist_   
+Finally, run the command _launchctl load ~/Library/LaunchAgents/com.user.setbingwp.plist_   

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Tue, 18 Nov 2014 10:51:02 -0000</pubDate><guid>https://sourceforge.net296dc84421a0f3b94ac0ba39894301a4f62fbf11</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -63,6 +63,10 @@

 Windows
 ----------
+On Windows it's most convenient to create a small batch file that you can simpoly launch by double-clicking on it. Mine looks like this:
+
+    set PATH=C:\cygwin64\bin;%PATH%
+    C:\cygwin64\bin\bash.exe /cygdrive/c/Path/to/Script/SetBingWP/setBingWP.sh -d WIN -c -i /cygdrive/c/Daten/Bilder/bing -w CENTER

 Mac OSX
 ----------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Tue, 18 Nov 2014 10:39:04 -0000</pubDate><guid>https://sourceforge.netd5db1002ceefcc971aa7692d11f0e389ea16b041</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -52,12 +52,17 @@
 ==========
 Of course you can just run the script by hand, but must probably you'll want to automate this task. On a Linux PC that's up and running most of the time, you could just set up a cron job to run it e.g. once a day. The most convenient way on most boxes, however, is to have it run on whan you log in.

+Linux
+----------
 There are multiple ways to achieve this on Linux, and some of them depend on your desktop environment:

 * Cinnamon: Open _Menu - Settings - Startup Applications_ and create a new task there.
 * Xfce: tbd
 * GNOME: tbd
 * MATE: tbd
+
+Windows
+----------

 Mac OSX
 ----------
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Mon, 10 Nov 2014 17:21:43 -0000</pubDate><guid>https://sourceforge.net9030607d35fbb8b034f291919c6494f6c4123620</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -8,7 +8,7 @@

 Requirements / dependencies
 ==========
-* Bash (Linux, Mac OSX, Cygwin)
+* Bash (Linux and Mac OSX ship with bash, on Windows you have to install Cygwin)
 * wget (Linux, Cygwin) or curl (Mac OSX)
 * imagemagick (only if you want to include caption in image)
 * some basic GNU system tools like getopts, ping, cut, grep, etc.
@@ -27,6 +27,10 @@
 ==========

 setBingWP.sh is only one single bash script. Download it and put it into any directory, don't forget to make it executable. Run it manually first and experiment with the command line switches until you are satisfied with the result. When testing, don't forget to use the -l switch, otherwise most desktop environments won't update the wallpaper as the file name hasn't changed. 
+
+On windows, you have to install Cygwin first (http://cygwin.com)). Make sure you select wget and imagemagick as well in the Cygwin installer as they're not included by default. Then, if you want to include image captions, copy the file C:\Windows\Fonts\arial.ttf to C:\cygwin64\usr\share\fonts\TTF\arial.ttf (you have to create the TTF directory first).
+
+On the Mac, you can get imagemagick from http://cactuslab.com/imagemagick/

 Synopsis
 ==========
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Mon, 10 Nov 2014 15:53:13 -0000</pubDate><guid>https://sourceforge.neta76186ec4d0847b9b564fb9db638b5225daa6a31</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -52,13 +52,34 @@

 * Cinnamon: Open _Menu - Settings - Startup Applications_ and create a new task there.
 * Xfce: tbd
-* Mac OSX: Use __launchd__ (see http://stackoverflow.com/questions/6442364/running-script-upon-login-mac/13372744#13372744)
-** put setBingWP.sh in ~/bin/
-** create a second script, ~/bin/runSetBingWP.sh, containing
-    #!/bin/bash
-    /Users/&amp;lt;username&amp;gt;/bin/setBingWP.sh -d OSX
-** create Directory _~/Library/LaunchAgents_ and file _~/Library/LaunchAgents/com.user.setbingwp.plist_ containing
-   
+* GNOME: tbd
+* MATE: tbd
+
+Mac OSX
+----------
+* Use _launchd_ (see http://stackoverflow.com/questions/6442364/running-script-upon-login-mac/13372744#13372744)
+* put setBingWP.sh in ~/bin/
+* create a second script, _~/bin/runSetBingWP.sh_, containing
+
+      #!/bin/bash
+      /Users/YourUserName/bin/setBingWP.sh -d OSX
+
+* create Directory _~/Library/LaunchAgents_ and file _~/Library/LaunchAgents/com.user.setbingwp.plist_ containing
+
+      
+      
+      &amp;lt;plist version="1.0"&amp;gt;
+         &amp;lt;dict&amp;gt;
+            &amp;lt;key&amp;gt;Label&amp;lt;/key&amp;gt;
+            &amp;lt;string&amp;gt;com.user.setbingwp&amp;lt;/string&amp;gt;
+            &amp;lt;key&amp;gt;Program&amp;lt;/key&amp;gt;
+            &amp;lt;string&amp;gt;/Users/YourUserName/bin/runSetBingWP.sh&amp;lt;/string&amp;gt;
+            &amp;lt;key&amp;gt;RunAtLoad&amp;lt;/key&amp;gt;
+            &amp;lt;true/&amp;gt;
+         &amp;lt;/dict&amp;gt;
+      &amp;lt;/plist&amp;gt;
+
+* run _launchctl load ~/Library/LaunchAgents/com.user.setbingwp.plist_   

 [[members limit=20]]
 [[download_button]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Sat, 08 Nov 2014 22:49:19 -0000</pubDate><guid>https://sourceforge.net2a212f153254e02f87eec3deae5f2b2e3cca95fd</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -49,9 +49,15 @@
 Of course you can just run the script by hand, but must probably you'll want to automate this task. On a Linux PC that's up and running most of the time, you could just set up a cron job to run it e.g. once a day. The most convenient way on most boxes, however, is to have it run on whan you log in.

 There are multiple ways to achieve this on Linux, and some of them depend on your desktop environment:
-* Cinnamon: Open Menu -&amp;gt; Settings -&amp;gt; Startup Applications and create a new task there.
+
+* Cinnamon: Open _Menu - Settings - Startup Applications_ and create a new task there.
 * Xfce: tbd
-* Mac OSX: 
+* Mac OSX: Use __launchd__ (see http://stackoverflow.com/questions/6442364/running-script-upon-login-mac/13372744#13372744)
+** put setBingWP.sh in ~/bin/
+** create a second script, ~/bin/runSetBingWP.sh, containing
+    #!/bin/bash
+    /Users/&amp;lt;username&amp;gt;/bin/setBingWP.sh -d OSX
+** create Directory _~/Library/LaunchAgents_ and file _~/Library/LaunchAgents/com.user.setbingwp.plist_ containing

 [[members limit=20]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Sat, 08 Nov 2014 22:37:39 -0000</pubDate><guid>https://sourceforge.netfdd1603dce711e937cb0f74f3e422f1a9cf1deb9</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -32,17 +32,26 @@
 ==========
 Run setBingWP.sh -h to display the help:

-    Usage: setBingWp.sh -d [MATE|GNOME|CINNAMON|XFCE] [-c] [-r] [-o [TOP|BOTTOM]] [-i /path/to/images/dir] [-p [2-64]] [-s [8-24]] [-l]
+    Usage: setBingWp.sh -d [MATE|GNOME|CINNAMON|XFCE|OSX|WIN] [-c] [-r] [-o [TOP|BOTTOM]] [-i /path/to/images/dir] [-p [2-64]] [-s [8-24]] [-l]

     Command line switches:
-       -d sets the desktop environment (one of MATE, GNOME, CINNAMON, XFCE). Required, no default.
-       -c includes the Bing image caption into the wallpaper (requires imagemagick)
+       -d sets the desktop environment (one of MATE, GNOME, CINNAMON, XFCE, OSX, WIN). Required, no default.
+       -c includes the Bing image caption into the wallpaper (requires imagemagick to be installed)
        -o sets the caption's orientation to either TOP or BOTTOM of image. Default is TOP.
        -r removes previously downloaded images
        -i sets the directory, where the bing images are stored (directory must exist, the script won't create it). Default is ~/Pictures/bing
-       -p position of caption (distance from border of image, right value depends on screen resolution), value must be between 2 and 64. Default is 2.
+       -p position of caption (distance from border of image, right value depends on screen size and resolution), value must be between 2 and 64. Default is 2.
        -s caption font size in points. Value between 8 and 24. Default is 16.
        -l use long file names (bingImage_YYYY-MM-DD_hh-mm-ss.jpg) instead of short ones (bingImage_YYYY-MM-DD.jpg)
+
+Automation
+==========
+Of course you can just run the script by hand, but must probably you'll want to automate this task. On a Linux PC that's up and running most of the time, you could just set up a cron job to run it e.g. once a day. The most convenient way on most boxes, however, is to have it run on whan you log in.
+
+There are multiple ways to achieve this on Linux, and some of them depend on your desktop environment:
+* Cinnamon: Open Menu -&amp;gt; Settings -&amp;gt; Startup Applications and create a new task there.
+* Xfce: tbd
+* Mac OSX: 

 [[members limit=20]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Sat, 08 Nov 2014 21:19:06 -0000</pubDate><guid>https://sourceforge.net35f26354dd10ed455a1f1af511cc8016e93376ff</guid></item><item><title>Home modified by ph_z</title><link>https://sourceforge.net/p/setbingwp/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -32,17 +32,17 @@
 ==========
 Run setBingWP.sh -h to display the help:

-    Usage: setBingWp.sh -d [MATE|GNOME|CINNAMON|XFCE] [-c] [-r] [-o [TOP|BOTTOM]] [-i /path/to/images/dir] [-p [2-64]] [-s [8-24]] [-l]"
+    Usage: setBingWp.sh -d [MATE|GNOME|CINNAMON|XFCE] [-c] [-r] [-o [TOP|BOTTOM]] [-i /path/to/images/dir] [-p [2-64]] [-s [8-24]] [-l]

-    Command line switches:"
-       -d sets the desktop environment (one of MATE, GNOME, CINNAMON, XFCE). Required, no default."
-       -c includes the Bing image caption into the wallpaper (requires imagemagick)"
-       -o sets the caption's orientation to either TOP or BOTTOM of image. Default is TOP."
-       -r removes previously downloaded images"
-       -i sets the directory, where the bing images are stored (directory must exist, the script won't create it). Default is ~/Bilder/bing"
-       -p position of caption (distance from border of image, right value depends on screen resolution), value must be between 2 and 64. Default is 2."
-       -s caption font size in points. Value between 8 and 24. Default is 16."
-       -l use long file names (bingImage_YYYY-MM-DD_hh-mm-ss.jpg) instead of short ones (bingImage_YYYY-MM-DD.jpg)"
+    Command line switches:
+       -d sets the desktop environment (one of MATE, GNOME, CINNAMON, XFCE). Required, no default.
+       -c includes the Bing image caption into the wallpaper (requires imagemagick)
+       -o sets the caption's orientation to either TOP or BOTTOM of image. Default is TOP.
+       -r removes previously downloaded images
+       -i sets the directory, where the bing images are stored (directory must exist, the script won't create it). Default is ~/Pictures/bing
+       -p position of caption (distance from border of image, right value depends on screen resolution), value must be between 2 and 64. Default is 2.
+       -s caption font size in points. Value between 8 and 24. Default is 16.
+       -l use long file names (bingImage_YYYY-MM-DD_hh-mm-ss.jpg) instead of short ones (bingImage_YYYY-MM-DD.jpg)

 [[members limit=20]]
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">ph_z</dc:creator><pubDate>Sat, 08 Nov 2014 21:09:33 -0000</pubDate><guid>https://sourceforge.neta447ce0b029d7d9d26aef33e80d9f54117ed69c5</guid></item></channel></rss>