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
Mathias Gumz
da285bcb11
Add chrome* to fluxbox-generate_menu
2015-01-29 13:24:57 +01:00
Daniel Campbell
fc245408d6
Fix printf bug in fluxbox-generate_menu
2015-01-25 13:37:31 +01:00
Mathias Gumz
6721c7c70b
Add 'lxterminal' and 'geany' to fbgm
...
Implements #305 (feature request "Recognize lxterminal and geany
(fluxbox-generate_menu)"
2015-01-24 19:17:02 +01:00
Sami Kerola
be2c52a146
util/fluxbox-generate_menu: default browswer variable can be empty
...
Noticed when debugging in mac.
2013-01-02 10:08:04 +01: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
Ryan Pavlik
f77f5d461b
util/Makefile.am,fluxbox-generate_menu.in: use EXEEXT
...
Needed to allow mingw-cross-env cross build
2011-10-31 10:54:09 -05:00
slakmagik
906166f42d
make XMESSAGE a variable and use it consistently
...
Previously, gxmessage was getting substituted in one place and not
another.
2011-03-29 08:44:51 +02:00
slakmagik
a8583b79ae
avoid trailing spaces between app and closing }
...
Add a few lines of code to prevent a few spaces in some menu output.
'{$app $options}' would expand to '{app }' if no options were set.
Also, while scattered throughout, in this particular spot the
unnecessary braces around some of the variables (and not around some
others) and inside flux's braces could be very visually confusing and
lead to editing errors, so removed those.
2011-03-29 08:44:51 +02:00
slakmagik
0fbb2cb73c
separate functions and main code
...
Transpose one function from main to the rest of the functions and one
block from the top of the script to the top of main. Add an 'End
functions' comment.
2011-03-29 08:44:51 +02:00
slakmagik
2034e5ef44
add the configuration file equivalent of '-in'
2011-03-29 08:44:51 +02:00
slakmagik
e312f35d1a
silence cmp
...
cmp's '-s' flag is POSIX - if it's as portable as that's supposed to
mean, that might be used instead.
2011-03-29 08:44:51 +02:00
Mathias Gumz
7a86dad21b
bugfix: do not create the temporary menufile 'somewhere' in the filesystem but next to the final one
2010-02-28 20:16:46 +01:00
Mark Tiefenbruck
bb05494751
add a few items to fbgm
2009-06-28 12:57:42 -07:00
Mark Tiefenbruck
520fa94ac6
add a few tops to fbgm
2008-07-02 10:06:03 -07:00
skiidoo
146a38c776
some additions/corrections for fbgm
2008-05-02 03:59:47 -07:00
Mark Tiefenbruck
9c105111d2
remove old svn $Id$ tags
2008-01-03 17:34:12 -08:00
Mark Tiefenbruck
934bd42ace
`hash -t' seems to be bash-only
2007-12-24 11:59:36 -08:00
Mark Tiefenbruck
088f418927
replaced which' with the bourne shell built-in
hash' and fixed some --program-prefix/suffix problems
2007-12-24 01:30:49 -08:00
Mark Tiefenbruck
d6e009af98
search subdirectories when looking for icons
2007-12-23 23:43:37 -08:00
Mark Tiefenbruck
1cca420f2e
"fix" `About' item in fbgm with tcsh, #1806327
2007-12-19 15:43:29 -08:00
Mark Tiefenbruck
7f6c3267e3
fix a few $HOME-related issues in fbgm
2007-12-19 15:10:31 -08:00
markt
e30f235daf
fix from NetBSD for using the home directory of the user who compiled fluxbox
...
also fix 'regenerate menu' code to use correct program name, rather than $0
2007-11-23 23:21:25 +00:00
mathias
d8455124e8
minor addons to fbgm (patch from Patrik Wenger <paddor at gmail dot com>)
2007-10-07 16:51:52 +00:00
fluxgen
fa4766ed75
added pidgin
2007-08-12 08:15:43 +00:00
markt
135019abf9
fixes for --program-prefix and --program-suffix, plus fixed overwriting init file on reconfigure
2007-07-07 23:11:04 +00:00
markt
9522db45a8
added some entries to fbgm, plus some minor bug fixes
2007-06-28 20:59:04 +00:00
markt
30834f9f6e
added seamonkey to fbgm
2007-05-17 16:06:40 +00:00
markt
805fae9340
this should be a whitespace separated list
2007-05-14 20:59:22 +00:00
mathias
118d4b14d2
patch from Hoeckner Bernhard (berhoeckner at gmx at) for fluxbox-generate_menu
2007-04-14 07:13:17 +00:00
simonb
383f99d4b6
Default value for $LAUNCHER, plus add util and util/fbrun to the
...
PATH when generating install menu so it can find fbrun.
data thus needs to come after util in toplevel subdir processing so
that fbrun is built
2007-03-31 11:28:46 +00:00
simonb
9ce423ab5f
emit [encoding] tags around the menus
2007-03-31 10:53:53 +00:00
fluxgen
a492e33a70
added fi_FI support, thanks Pasi Juvonen
2007-03-30 18:14:25 +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
markt
1cad4ca517
fix capitalization of valknut in fbgm
2007-01-02 04:45:54 +00:00
mathias
d93919e748
translations and minor updates to fbgm, patch from antonio gomes (izi)
2006-08-27 15:17:47 +00:00
simonb
87b691747c
typos, plus get rid of error message if "icons" isn't a dir...
2006-04-19 15:48:40 +00:00
simonb
4d5369221f
fbgm expansion - system utils menu
2006-04-19 15:44:18 +00:00
mathias
38a96263ad
no local or globbing in pure bourne
2006-04-19 05:15:33 +00:00
fluxgen
b5f6ac24f6
fix for nb_NO, thanks php-coder
2006-02-01 21:06:40 +00:00
fluxgen
c8885d8d9b
added nb_NO, Thanks Alexander Sornes
2006-02-01 20:57:13 +00:00
mathias
b7ddb0ca13
* minor addons to fbgm, close Gentoo #74523 and #110677 (Mathias)
2006-01-07 19:57:42 +00:00
mathias
bf7902dae8
Fixed #1335255 (Gentoo #110197 ), fbgm had some globbing related probs
...
Patch from thanx t35t0r
2005-10-23 16:22:32 +00:00
mathias
499b0655b9
small changes from fbsd
2005-10-12 20:59:12 +00:00
mathias
8c3cfbef7d
added 'education' submenu to fbgm, patch from lam
2005-08-17 04:24:55 +00:00
mathias
214defb6dd
added more apps to fbgm
2005-07-06 06:26:09 +00:00
mathias
093b06edd3
added kcommander, Valknut, dcgui-qt, quickdc, asami, amsn to fbgm
2005-07-05 21:46:13 +00:00
mathias
9049dd33d3
Fix #1223780 , fbgm updated
...
- added gnome-alsamixer
- use "kfmclient openProfile filemanagement" for konqueror as filebrowser
2005-06-30 09:55:50 +00:00
mathias
6c284b9c7c
fbgm used non-portable grep - option (-m) which is now replaced by
...
grep | head -n 1
2005-06-18 17:21:13 +00:00