Commit graph

61 commits

Author SHA1 Message Date
Thomas Lübking
31e758f1f1 fix display $WPSETTER
BUG: 1031
2016-09-03 20:08:14 +02:00
Thomas Lübking
e8021e3697 handle DISPLAY :x and :x.0 idem
Patch originally provided by Francesco Poli to Debian

BUG: 1052
2016-09-03 20:08:14 +02:00
Thomas Lübking
2cfffee19b handle subdirs and symlinks in $wallpaperdir
Thanks for the base patch, kindly provided by some Anonymous coward
on the bugtracker ;-)

BUG: 1065
2016-09-03 20:08:14 +02:00
Mathias Gumz
a11035440c fix fbsetbg in combination with picky shells
in *BSD, /bin/sh is Almquist Shell(ash). the 'hash' built-in command of ash
returns 0, always. 'hash' is not usable for find_it() function in
util/fbsetbg and util/fluxbox-generate_menu.in.

this patch changes the behavior of find_it(): when 'hash' is detected to
not work correctly, switch back to 'which'.


this patch is the work of Yamashiro, Jun and appeared first as patch-160
on sourceforge: https://sourceforge.net/p/fluxbox/patches/160/. i submit
it on behalf of the author.
2016-04-25 20:11:14 +02:00
Oliver Gondža
c7462f09a4 fbsetbg: Report wallpaper directory path when invalid 2015-08-10 21:52:49 +02:00
Sami Kerola
dcdfdfd56b utils: remove bashisms
fbsetbg: The random number generation used 'time' shell internal, which
does not exist in all shells.  Allowing 'ps' output to be part of cksum
input will increase entropy and enhance quality of the randomness.

fbsetbg: The second fix is more important.  In posix shell there is no
'==' comparision operator.

fluxbox-generate_menu: There are no quarantees about echo accepting
options, so use 'printf' for more advanced outputing.
2013-01-02 10:01:00 +01:00
skizzhg
fbf5ce8b30 Changed fbsetbg's tips to the new behaviour. 2011-04-11 17:46:26 +02:00
Jeremiah Mahler
14a8a2b440 fbsetbg: improved aspect-ratio-filling for feh (thanks Jeremiah Mahler <jmmahler at gmail com>
Closes http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=583704
2011-02-21 20:16:00 +01:00
Jim Ramsay
ed28c69b8d Cleaned up 'fbsetbg -h' output
Reordered the "Options" section and made it more clear that for setting solid,
gradient, or pattern textures, one should also refer to fbsetroot(1).
2009-05-28 14:31:54 -04:00
Jim Ramsay
ae2d4b6b53 Don't complain on '-z' if there's no lastwallpaper
This hides the odd cornercase of users with no lastwallpaper file and no
background set in their style or overlay.

Adapted from the patch at
http://sourceforge.net/tracker/?func=detail&aid=2389567&group_id=35398&atid=413962
2009-05-26 16:36:43 -04:00
Mark Tiefenbruck
c52a84a170 make wallpapers do The Right Thing (tm) 2008-08-05 23:40:18 -07:00
Mark Tiefenbruck
f1fd7f464b fix issue with multiple spaces in filename in fbsetbg 2008-01-23 03:45:59 -08:00
Mark Tiefenbruck
97c5f12615 use hash instead of which in fbsetbg 2008-01-23 03:30:59 -08:00
Mark Tiefenbruck
9c105111d2 remove old svn $Id$ tags 2008-01-03 17:34:12 -08:00
markt
622d75f642 fix for fbsetbg -l when last wallpaper was using fbsetroot 2007-04-18 18:12:29 +00:00
markt
48c3af9f9c fixed a little bug in fbsetbg when DISPLAY doesn't have .0 after it 2007-03-24 16:34:32 +00:00
markt
ed96d79a14 command -v seems to cause problems for some distros, despite being POSIX and built into sh 2007-02-22 16:51:35 +00:00
markt
590b6c93d9 replace which' in fbsetbg and fbgm with command -v' 2007-01-02 05:43:25 +00:00
mathias
0e2a8b9a43 fix for the fbsetbg-fix from yesterday 2006-09-21 09:41:18 +00:00
mathias
750caf08b8 fixed little issue with fbsetbg showing the warning about missing wpsetters even if the user only pipes arguments towards fbsetroot 2006-09-20 19:44:07 +00:00
markt
53adbd9921 allow aspect/centered/tiled options with random in fbsetbg 2006-08-04 23:28:34 +00:00
simonb
c5b67f9a42 portability fixes for couple of shell scripts 2006-04-17 09:47:40 +00:00
mathias
c3e6efb4e2 little fix for fbsetbg (patch from mark tiefenbruck) 2006-01-23 22:52:56 +00:00
fluxgen
7768406cbd create .fluxbox directory and lastwallpaper file if they dont exist 2005-11-13 21:30:45 +00:00
mathias
1fe9ef3056 Renaming of 'bsetroot' to 'fbsetroot' (Mathias)
blackbox's 'bsetroot' and fluxbox's 'bsetroot' have different syntax
nowadays and collide when you install fluxbox and blackbox. hence
the renaming.
2005-07-12 04:56:05 +00:00
simonb
b7d3dc2fa3 fix 'which' program compatibility.
Test the capabilities of the one we find, rather than guessing
based on the system type
2005-03-10 13:53:26 +00:00
mathias
f4d3d79d38 close #1111378, -S (smooth) to wmsetbg's aspect-setting 2005-01-31 16:40:08 +00:00
mathias
799b01b5d6 made the error-message a bit better 2005-01-12 13:41:04 +00:00
mathias
09439fe83a added support for hsetroot (http://thegraveyard.org/hsetroot.php)
to fbsetbg
2004-12-10 02:45:19 +00:00
mathias
993c17cf2e svn propset svn:keywords "Id" 2004-11-19 11:37:27 +00:00
rathnor
e68a7a4e72 fbsetbg xmessage-related updates 2004-06-17 16:12:20 +00:00
rathnor
e7ebe530bc fbsetbg updates from han 2004-03-11 00:08:34 +00:00
fluxgen
4fb8e18d03 Fix missing sanitycheck as found by Tom Ryan 2004-01-22 05:48:41 +00:00
fluxgen
bac37c3de7 copyright update 2004-01-17 01:29:40 +00:00
fluxgen
7485d12ac2 random number fixes 2004-01-03 01:23:59 +00:00
fluxgen
5286977393 patch from Han, minor fixes and fbsetbg random background 2003-12-29 00:00:28 +00:00
fluxgen
5d4980a9c6 support for bsetroot in fbsetbg 2003-12-12 13:07:47 +00:00
fluxgen
1f0a30eb0a remembering -u option and a new non remembering option -U, same functionality as before, Patch from Han 2003-12-08 19:31:40 +00:00
rathnor
5722b04b97 util updates from han 2003-11-23 01:19:01 +00:00
rathnor
ecd7c04834 fbsetbg update from han 2003-10-16 15:54:20 +00:00
rathnor
ae729342e9 avoid using getopts in fbsetbg, plus other tweaks 2003-10-08 14:00:47 +00:00
fluxgen
9c3cd9002d update from Han 2003-09-29 11:59:35 +00:00
fluxgen
39e9e25d5b update from Han 2003-09-20 16:03:30 +00:00
fluxgen
d539b5257e update from Han 2003-09-18 12:15:17 +00:00
fluxgen
6241304199 update from Han 2003-09-03 11:55:29 +00:00
fluxgen
bb374e2cca minor fix 2003-08-26 20:32:27 +00:00
fluxgen
5baf2304df update from Han 2003-08-17 13:30:35 +00:00
fluxgen
e9f9c6104b update from han 2003-08-04 16:49:25 +00:00
fluxgen
c9168c884b update from Han 2003-07-29 09:29:45 +00:00
rathnor
8500132b0a more updates from han 2003-07-20 11:23:51 +00:00