aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog10
-rw-r--r--doc/Makefile.am4
-rw-r--r--doc/fbsetroot.1 (renamed from doc/bsetroot.1)37
-rw-r--r--nls/C/Translation.m2
-rw-r--r--nls/be_BY/Translation.m2
-rw-r--r--nls/bg_BG/Translation.m2
-rw-r--r--nls/cs_CZ/Translation.m2
-rw-r--r--nls/da_DK/Translation.m2
-rw-r--r--nls/de_DE/Translation.m2
-rw-r--r--nls/es_ES/Translation.m2
-rw-r--r--nls/et_EE/Translation.m2
-rw-r--r--nls/fluxbox-nls.hh8
-rw-r--r--nls/fr_FR/Translation.m2
-rw-r--r--nls/it_IT/Translation.m2
-rw-r--r--nls/ja_JP/Translation.m2
-rw-r--r--nls/ko_KR/Translation.m2
-rw-r--r--nls/lv_LV/Translation.m2
-rw-r--r--nls/nl_NL/Translation.m2
-rw-r--r--nls/pl_PL/Translation.m2
-rw-r--r--nls/pt_BR/Translation.m2
-rw-r--r--nls/pt_PT/Translation.m2
-rw-r--r--nls/ru_RU/Translation.m2
-rw-r--r--nls/sl_SI/Translation.m2
-rw-r--r--nls/sv_SE/Translation.m2
-rw-r--r--nls/tr_TR/Translation.m2
-rw-r--r--nls/vi_VN/Translation.m2
-rw-r--r--util/Makefile.am8
-rw-r--r--util/fbsetbg14
-rw-r--r--util/fbsetroot.cc (renamed from util/bsetroot.cc)28
-rw-r--r--util/fbsetroot.hh (renamed from util/bsetroot.hh)12
-rwxr-xr-xutil/startfluxbox.in2
31 files changed, 84 insertions, 83 deletions
diff --git a/ChangeLog b/ChangeLog
index 9278b38..7fbc1f3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,14 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.14: 2Changes for 0.9.14:
3*05/07/07: 3*05/07/12:
4 Renaming of 'bsetroot' to 'fbsetroot' (Mathias)
5 blackbox's 'bsetroot' and fluxbox's 'bsetroot' have different syntax
6 nowadays and collide when you install fluxbox and blackbox. hence
7 the renaming
8 updated manpage, helper utils (fbgm, startfluxbox, fbsetbg), nls etc
9*05/07/06:
10 Added even more applications to fbgm (Mathias)
11 fluxbox-generate_menu.in
4 * Added info about locale path in -info argument (Thanks php-coder) 12 * Added info about locale path in -info argument (Thanks php-coder)
5 src/main.cc, nls/* 13 src/main.cc, nls/*
6*05/07/05: 14*05/07/05:
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 13d3c3b..7568c18 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -4,9 +4,9 @@
4SUBDIRS = ru 4SUBDIRS = ru
5CLEANFILES = fluxbox.1 fluxstyle.1 5CLEANFILES = fluxbox.1 fluxstyle.1
6MAINTAINERCLEANFILES = Makefile.in 6MAINTAINERCLEANFILES = Makefile.in
7man_MANS = fluxbox.1 bsetroot.1 fbrun.1 fbsetbg.1 \ 7man_MANS = fluxbox.1 fbsetroot.1 fbrun.1 fbsetbg.1 \
8 startfluxbox.1 fluxstyle.1 fbrun.1 8 startfluxbox.1 fluxstyle.1 fbrun.1
9EXTRA_DIST=fluxbox.1.in bsetroot.1 fbrun.1 startfluxbox.1 fbsetbg.1 \ 9EXTRA_DIST=fluxbox.1.in fbsetroot.1 fbrun.1 startfluxbox.1 fbsetbg.1 \
10 fluxstyle.1.in Coding_style 10 fluxstyle.1.in Coding_style
11distclean-local: 11distclean-local:
12 rm -f *\~ 12 rm -f *\~
diff --git a/doc/bsetroot.1 b/doc/fbsetroot.1
index 9d4bd07..ec8c088 100644
--- a/doc/bsetroot.1
+++ b/doc/fbsetroot.1
@@ -1,5 +1,5 @@
1.\" 1.\"
2.\" Man page for Bsetroot 2.\" Man page for fbsetroot
3.\" 3.\"
4.\" Copyright (c) 2000 by Wilbert Berendsen <wbsoft@xs4all.nl> 4.\" Copyright (c) 2000 by Wilbert Berendsen <wbsoft@xs4all.nl>
5.\" Copyright (c) 2004 by Curt "Asenchi" Micol <asenchi@asenchi.com> 5.\" Copyright (c) 2004 by Curt "Asenchi" Micol <asenchi@asenchi.com>
@@ -19,36 +19,35 @@
19.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 19.\" TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
20.\" PERFORMANCE OF THIS DOCUMENTATION 20.\" PERFORMANCE OF THIS DOCUMENTATION
21.\" 21.\"
22.TH bsetroot 1 "June 25th, 2004" "0.60.3" 22.TH fbsetroot 1 "July 8th, 2005" "0.9.13"
23.SH NAME 23.SH NAME
24bsetroot \- a simple background utility used by the Fluxbox window manager, ori 24fbsetroot \- a simple background utility used by the Fluxbox window manager, originally
25ginally written 25written for and by the original Blackbox window manager team.
26for and by the original Blackbox window manager team.
27.SH SYNOPSIS 26.SH SYNOPSIS
28.BR bsetroot " \-help" 27.BR fbsetroot " \-help"
29.br 28.br
30.B bsetroot 29.B fbsetroot
31.RI "[ \-display " display " ] \-solid " color 30.RI "[ \-display " display " ] \-solid " color
32.br 31.br
33.B bsetroot 32.B fbsetroot
34.RI "[ \-display " display " ] \-mod " "x y" " \-fg " color " \-bg " color 33.RI "[ \-display " display " ] \-mod " "x y" " \-fg " color " \-bg " color
35.br 34.br
36.B bsetroot 35.B fbsetroot
37.RI "[ \-display " display " ] \-gradient " texture " \-from " color " \-to " color 36.RI "[ \-display " display " ] \-gradient " texture " \-from " color " \-to " color
38.SH DESCRIPTION 37.SH DESCRIPTION
39Bsetroot is a utility that can control the appearance of the root window in 38fbsetroot is a utility that can control the appearance of the root window in
40three ways: Either give it a solid color, or write a two color modula pattern 39three ways: Either give it a solid color, or write a two color modula pattern
41to it, or render a gradient texture, based on two different colors. 40to it, or render a gradient texture, based on two different colors.
42.PP 41.PP
43Bsetroot resembles 42fbsetroot resembles
44.IR xsetroot (1) 43.IR xsetroot (1)
45in this functionality but it supports multiple screen displays, and gradient 44in this functionality but it supports multiple screen displays, and gradient
46textures the same way as Blackbox or Fluxbox does. 45textures the same way as Blackbox or Fluxbox does.
47It doesn't handle cursors etc. 46It doesn't handle cursors etc.
48Bsetroot was originally part of the Blackbox package and was carried over with 47fbsetroot was originally part of the Blackbox package and was carried over with
49the code that became Fluxbox. 48the code that became Fluxbox. It was called bsetroot back in those days.
50.SH OPTIONS 49.SH OPTIONS
51Bsetroot operates in three ways, you must choose one of the first 3 options: 50fbsetroot operates in three ways, you must choose one of the first 3 options:
52.TP 51.TP
53.BI \-solid " color" 52.BI \-solid " color"
54Sets the root window to specified color. 53Sets the root window to specified color.
@@ -75,7 +74,7 @@ color.
75.RE 74.RE
76.TP 75.TP
77.BI \-display " display" 76.BI \-display " display"
78Tells Bsetroot to connect to the specified display. 77Tells fbsetroot to connect to the specified display.
79.TP 78.TP
80.BI "\-bg, \-background " color 79.BI "\-bg, \-background " color
81Background color. 80Background color.
@@ -104,13 +103,7 @@ operation mode.
104.B \-help 103.B \-help
105Prints version info and short help text. 104Prints version info and short help text.
106.SH AUTHOR 105.SH AUTHOR
107Bsetroot is written and maintained by Brad Hughes 106fbsetroot is written and maintained by the Fluxbox Development Team
108.nh \" hyphenation off
109(blackbox@alug.org)
110.hy \" on again
111and Jeff Raven
112.nh
113(jraven@psu.edu).
114.PP 107.PP
115This manpage was modified by Curt "Asenchi" Micol <asenchi@asenchi.com> for 108This manpage was modified by Curt "Asenchi" Micol <asenchi@asenchi.com> for
116the Fluxbox window manager. 109the Fluxbox window manager.
diff --git a/nls/C/Translation.m b/nls/C/Translation.m
index 620b644..ebd8847 100644
--- a/nls/C/Translation.m
+++ b/nls/C/Translation.m
@@ -213,7 +213,7 @@ $set 17 #Workspace
2133 New Workspace 2133 New Workspace
2144 Remove Last 2144 Remove Last
215 215
216$set 18 #bsetroot 216$set 18 #fbsetroot
217 217
2181 %s: error: must specify one of: -solid, -mod, -gradient\n 2181 %s: error: must specify one of: -solid, -mod, -gradient\n
2192 Couldn't create pixmap atoms, giving up! 2192 Couldn't create pixmap atoms, giving up!
diff --git a/nls/be_BY/Translation.m b/nls/be_BY/Translation.m
index 1c3993d..3c2c771 100644
--- a/nls/be_BY/Translation.m
+++ b/nls/be_BY/Translation.m
@@ -211,7 +211,7 @@ $set 17 #Workspace
2113 Новае працоўнае месца 2113 Новае працоўнае месца
2124 Выдаліць апошняе 2124 Выдаліць апошняе
213 213
214$set 18 #bsetroot 214$set 18 #fbsetroot
215 215
2161 %s: памылка: павінна быць нешта з наступнага: -solid, -mod, -gradient\n 2161 %s: памылка: павінна быць нешта з наступнага: -solid, -mod, -gradient\n
2172 Couldn't create pixmap atoms, giving up! 2172 Couldn't create pixmap atoms, giving up!
diff --git a/nls/bg_BG/Translation.m b/nls/bg_BG/Translation.m
index 7397653..a82f35e 100644
--- a/nls/bg_BG/Translation.m
+++ b/nls/bg_BG/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Ново Работно Място 1043 Ново Работно Място
1054 Махни Последното 1054 Махни Последното
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s: error: must specify one of: -solid, -mod, -gradient\n 1091 %s: error: must specify one of: -solid, -mod, -gradient\n
1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/cs_CZ/Translation.m b/nls/cs_CZ/Translation.m
index ef8eb6b..20ab710 100644
--- a/nls/cs_CZ/Translation.m
+++ b/nls/cs_CZ/Translation.m
@@ -210,7 +210,7 @@ $set 17 #Workspace
2103 Novб plocha 2103 Novб plocha
2114 Odstranit poslednн 2114 Odstranit poslednн
212 212
213$set 18 #bsetroot 213$set 18 #fbsetroot
214 214
2151 %s: error: must specify one of: -solid, -mod, -gradient\n 2151 %s: error: must specify one of: -solid, -mod, -gradient\n
2162 Couldn't create pixmap atoms, giving up! 2162 Couldn't create pixmap atoms, giving up!
diff --git a/nls/da_DK/Translation.m b/nls/da_DK/Translation.m
index da98671..0e555d5 100644
--- a/nls/da_DK/Translation.m
+++ b/nls/da_DK/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Nyt skrivebord 1043 Nyt skrivebord
1054 Fjern sidste 1054 Fjern sidste
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s: fejl: specificйr en af fшlgende: -solid, -mod, -gradient\n 1091 %s: fejl: specificйr en af fшlgende: -solid, -mod, -gradient\n
1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/de_DE/Translation.m b/nls/de_DE/Translation.m
index 6c28c4d..8036e97 100644
--- a/nls/de_DE/Translation.m
+++ b/nls/de_DE/Translation.m
@@ -206,7 +206,7 @@ $set 17 #Workspace
2063 Neuer Desktop 2063 Neuer Desktop
2074 Letzten Desktop entfernen 2074 Letzten Desktop entfernen
208 208
209$set 18 #bsetroot 209$set 18 #fbsetroot
210 210
2111 %s: error: must specify one of: -solid, -mod, -gradient\n 2111 %s: error: must specify one of: -solid, -mod, -gradient\n
2122 Couldn't create pixmap atoms, giving up! 2122 Couldn't create pixmap atoms, giving up!
diff --git a/nls/es_ES/Translation.m b/nls/es_ES/Translation.m
index 6008ef7..11489c6 100644
--- a/nls/es_ES/Translation.m
+++ b/nls/es_ES/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Escritorio nuevo 1043 Escritorio nuevo
1054 Quitar el ъltimo escritorio 1054 Quitar el ъltimo escritorio
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s: error: es necesario especifiar uno de: -solid, -mod, -gradient\n 1091 %s: error: es necesario especifiar uno de: -solid, -mod, -gradient\n
1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/et_EE/Translation.m b/nls/et_EE/Translation.m
index e36a681..023ed30 100644
--- a/nls/et_EE/Translation.m
+++ b/nls/et_EE/Translation.m
@@ -102,7 +102,7 @@ $set 17 #Workspace
1023 Uus tццlaud 1023 Uus tццlaud
1034 Eemalda viimane 1034 Eemalda viimane
104 104
105$set 18 #bsetroot 105$set 18 #fbsetroot
106 106
1071 %s: viga: pead mддratlema ьhe jдrgnevaist: -solid, -mod, -gradient\n 1071 %s: viga: pead mддratlema ьhe jдrgnevaist: -solid, -mod, -gradient\n
1083 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1083 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/fluxbox-nls.hh b/nls/fluxbox-nls.hh
index a6c9079..26057a9 100644
--- a/nls/fluxbox-nls.hh
+++ b/nls/fluxbox-nls.hh
@@ -202,10 +202,10 @@ enum {
202 WorkspaceNewWorkspace = 3, 202 WorkspaceNewWorkspace = 3,
203 WorkspaceRemoveLast = 4, 203 WorkspaceRemoveLast = 4,
204 204
205 bsetrootSet = 18, 205 fbsetrootSet = 18,
206 bsetrootMustSpecify = 1, 206 fbsetrootMustSpecify = 1,
207 bsetrootNoPixmapAtoms = 2, 207 fbsetrootNoPixmapAtoms = 2,
208 bsetrootUsage = 3, 208 fbsetrootUsage = 3,
209 209
210 mainSet = 19, 210 mainSet = 19,
211 mainDISPLAYRequiresArg = 1, 211 mainDISPLAYRequiresArg = 1,
diff --git a/nls/fr_FR/Translation.m b/nls/fr_FR/Translation.m
index 27c6333..cac5c5b 100644
--- a/nls/fr_FR/Translation.m
+++ b/nls/fr_FR/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Nouveau bureau 1043 Nouveau bureau
1054 Supprimer le dernier 1054 Supprimer le dernier
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s: Erreur: il faut prйciser: -solid, -mod, -gradient\n 1091 %s: Erreur: il faut prйciser: -solid, -mod, -gradient\n
1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/it_IT/Translation.m b/nls/it_IT/Translation.m
index 888fe0b..9add2e1 100644
--- a/nls/it_IT/Translation.m
+++ b/nls/it_IT/Translation.m
@@ -103,7 +103,7 @@ $set 17 #Workspace
1033 Crea una nuova 1033 Crea una nuova
1044 Elimina l'ultima 1044 Elimina l'ultima
105 105
106$set 18 #bsetroot 106$set 18 #fbsetroot
107 107
1081 %s: errore: specicare una delle opzioni : -solid, -mod, -gradient\n 1081 %s: errore: specicare una delle opzioni : -solid, -mod, -gradient\n
1093 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1093 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/ja_JP/Translation.m b/nls/ja_JP/Translation.m
index 9441ba0..b4e868f 100644
--- a/nls/ja_JP/Translation.m
+++ b/nls/ja_JP/Translation.m
@@ -106,7 +106,7 @@ $set 17 #Workspace
1063 ї·µ¬ҐпЎјҐЇҐ№ҐЪЎјҐ№єоА® 1063 ї·µ¬ҐпЎјҐЇҐ№ҐЪЎјҐ№єоА®
1074 ЛцИш¤ОҐпЎјҐЇҐ№ҐЪЎјҐ№¤тєпЅь 1074 ЛцИш¤ОҐпЎјҐЇҐ№ҐЪЎјҐ№¤тєпЅь
108 108
109$set 18 #bsetroot 109$set 18 #fbsetroot
110 110
1111 %s: error: јЎ¤ОГ椫¤й°м¤Д¤тБЄВт¤·¤К¤±¤м¤Р¤К¤к¤Ю¤»¤у: -solid, -mod, -gradient\n 1111 %s: error: јЎ¤ОГ椫¤й°м¤Д¤тБЄВт¤·¤К¤±¤м¤Р¤К¤к¤Ю¤»¤у: -solid, -mod, -gradient\n
1123 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1123 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/ko_KR/Translation.m b/nls/ko_KR/Translation.m
index c74627f..3bd2807 100644
--- a/nls/ko_KR/Translation.m
+++ b/nls/ko_KR/Translation.m
@@ -210,7 +210,7 @@ $set 17 #Workspace
2103 »х АЫѕч°ш°Ј ГЯ°Ў 2103 »х АЫѕч°ш°Ј ГЯ°Ў
2114 ё¶Бцё· °Н Б¦°Е 2114 ё¶Бцё· °Н Б¦°Е
212 212
213$set 18 #bsetroot 213$set 18 #fbsetroot
214 214
2151 %s: error: must specify one of: -solid, -mod, -gradient\n 2151 %s: error: must specify one of: -solid, -mod, -gradient\n
2162 Couldn't create pixmap atoms, giving up! 2162 Couldn't create pixmap atoms, giving up!
diff --git a/nls/lv_LV/Translation.m b/nls/lv_LV/Translation.m
index d09f105..0a4998e 100644
--- a/nls/lv_LV/Translation.m
+++ b/nls/lv_LV/Translation.m
@@ -103,7 +103,7 @@ $set 17 #Workspace
1033 Jauna Darba vieta 1033 Jauna Darba vieta
1044 Noтemt Pзdзjo 1044 Noтemt Pзdзjo
105 105
106$set 18 #bsetroot 106$set 18 #fbsetroot
107 107
1081 %s: kпыda: jвnosaka viens no: -solid, -mod, -gradient\n 1081 %s: kпыda: jвnosaka viens no: -solid, -mod, -gradient\n
1093 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1093 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/nl_NL/Translation.m b/nls/nl_NL/Translation.m
index 3493cbf..2381c80 100644
--- a/nls/nl_NL/Translation.m
+++ b/nls/nl_NL/Translation.m
@@ -105,7 +105,7 @@ $set 17 #Workspace
1053 Nieuw werkveld 1053 Nieuw werkveld
1064 Verwijder laatste 1064 Verwijder laatste
107 107
108$set 18 #bsetroot 108$set 18 #fbsetroot
109 109
1101 %s: error: must specify one of: -solid, -mod, -gradient\n 1101 %s: error: must specify one of: -solid, -mod, -gradient\n
1113 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1113 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/pl_PL/Translation.m b/nls/pl_PL/Translation.m
index 69c4e89..1c13f3a 100644
--- a/nls/pl_PL/Translation.m
+++ b/nls/pl_PL/Translation.m
@@ -217,7 +217,7 @@ $set 17 #Workspace
2173 Nowy Pulpit 2173 Nowy Pulpit
2184 Usuс Ostatni 2184 Usuс Ostatni
219 219
220$set 18 #bsetroot 220$set 18 #fbsetroot
221 221
2221 %s: bі±d: musisz okre¶liж jedno z: -solid, -mod, -gradient\n 2221 %s: bі±d: musisz okre¶liж jedno z: -solid, -mod, -gradient\n
2232 Nie mogк stowrzyж elementуw pixmap - dajк sobie spokуj! 2232 Nie mogк stowrzyж elementуw pixmap - dajк sobie spokуj!
diff --git a/nls/pt_BR/Translation.m b/nls/pt_BR/Translation.m
index 4bc3145..1fb44c6 100644
--- a/nls/pt_BR/Translation.m
+++ b/nls/pt_BR/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Nova Area de Trabalho 1043 Nova Area de Trabalho
1054 Remover Ultima 1054 Remover Ultima
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n 1091 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n
1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/pt_PT/Translation.m b/nls/pt_PT/Translation.m
index 1aee9a0..162c16b 100644
--- a/nls/pt_PT/Translation.m
+++ b/nls/pt_PT/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Nova Area de Trabalho 1043 Nova Area de Trabalho
1054 Remover Ultima Area de Trabalho 1054 Remover Ultima Area de Trabalho
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n 1091 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n
1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/ru_RU/Translation.m b/nls/ru_RU/Translation.m
index 454ff3a..1c4d24e 100644
--- a/nls/ru_RU/Translation.m
+++ b/nls/ru_RU/Translation.m
@@ -154,7 +154,7 @@ $set 17 #Workspace
1543 оПЧЩК ТБВПЮЙК УФПМ 1543 оПЧЩК ТБВПЮЙК УФПМ
1554 хДБМЙФШ РПУМЕДОЙК 1554 хДБМЙФШ РПУМЕДОЙК
156 156
157$set 18 #bsetroot 157$set 18 #fbsetroot
158 158
1591 %s: ПЫЙВЛБ: ОЕПВИПДЙНП ЪБДБФШ ПДЙО ЙЪ УМЕДХАЭЙИ ЛМАЮЕК: -solid, -mod, -gradient\n 1591 %s: ПЫЙВЛБ: ОЕПВИПДЙНП ЪБДБФШ ПДЙО ЙЪ УМЕДХАЭЙИ ЛМАЮЕК: -solid, -mod, -gradient\n
1603 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1603 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/sl_SI/Translation.m b/nls/sl_SI/Translation.m
index 9b96ec1..3228cc7 100644
--- a/nls/sl_SI/Translation.m
+++ b/nls/sl_SI/Translation.m
@@ -105,7 +105,7 @@ $set 17 #Workspace
1053 Nova delovna povr№ina 1053 Nova delovna povr№ina
1064 Odstrani zadnjo 1064 Odstrani zadnjo
107 107
108$set 18 #bsetroot 108$set 18 #fbsetroot
109 109
1101 %s: napaka: doloиiti je treba eno: -solid, -mod, -gradient\n 1101 %s: napaka: doloиiti je treba eno: -solid, -mod, -gradient\n
1113 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1113 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/sv_SE/Translation.m b/nls/sv_SE/Translation.m
index 87670cf..2458774 100644
--- a/nls/sv_SE/Translation.m
+++ b/nls/sv_SE/Translation.m
@@ -105,7 +105,7 @@ $set 17 #Workspace
1053 Nytt skrivbord 1053 Nytt skrivbord
1064 Ta bort sista 1064 Ta bort sista
107 107
108$set 18 #bsetroot 108$set 18 #fbsetroot
109 109
1101 %s: fel: mеste specifiera en av: -solid, -mod, -gradient\n 1101 %s: fel: mеste specifiera en av: -solid, -mod, -gradient\n
1113 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ 1113 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/tr_TR/Translation.m b/nls/tr_TR/Translation.m
index 74444c8..af871cc 100644
--- a/nls/tr_TR/Translation.m
+++ b/nls/tr_TR/Translation.m
@@ -104,7 +104,7 @@ $set 17 #Workspace
1043 Yeni Masaьstь 1043 Yeni Masaьstь
1054 Son Masaьstьnь Kaldэr 1054 Son Masaьstьnь Kaldэr
106 106
107$set 18 #bsetroot 107$set 18 #fbsetroot
108 108
1091 %s : hata : -solid, -mod yada -gradient'den en az birisini belirlemek zorundasэnэz\n 1091 %s : hata : -solid, -mod yada -gradient'den en az birisini belirlemek zorundasэnэz\n
1103 %s 2.0 : Telif hakkэ (c) 1997-2000 Brad Hughes\n\n\ 1103 %s 2.0 : Telif hakkэ (c) 1997-2000 Brad Hughes\n\n\
diff --git a/nls/vi_VN/Translation.m b/nls/vi_VN/Translation.m
index b538b79..39e7459 100644
--- a/nls/vi_VN/Translation.m
+++ b/nls/vi_VN/Translation.m
@@ -185,7 +185,7 @@ $set 17 #Workspace
1853 KhГґng gian mб»›i 1853 KhГґng gian mб»›i
1864 XГіa khГґng gian cuб»‘i 1864 XГіa khГґng gian cuб»‘i
187 187
188$set 18 #bsetroot 188$set 18 #fbsetroot
189 189
1901 %s: lб»—i: cбє§n Д‘Ж°a ra mб»™t trong cГЎc tб»« khГіa sau: -solid, -mod, -gradient\n 1901 %s: lб»—i: cбє§n Д‘Ж°a ra mб»™t trong cГЎc tб»« khГіa sau: -solid, -mod, -gradient\n
1912 KhГґng thб»ѓ tбєЎo cГЎc pixmap! 1912 KhГґng thб»ѓ tбєЎo cГЎc pixmap!
diff --git a/util/Makefile.am b/util/Makefile.am
index 3e45aa6..58a232f 100644
--- a/util/Makefile.am
+++ b/util/Makefile.am
@@ -2,9 +2,9 @@
2SUBDIRS= fbrun 2SUBDIRS= fbrun
3INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk 3INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk
4bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox 4bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox
5bin_PROGRAMS= bsetroot 5bin_PROGRAMS= fbsetroot
6bsetroot_SOURCES= bsetroot.cc bsetroot.hh 6fbsetroot_SOURCES= fbsetroot.cc fbsetroot.hh
7bsetroot_LDADD= ../src/FbRootWindow.o ../src/FbAtoms.o \ 7fbsetroot_LDADD=../src/FbRootWindow.o ../src/FbAtoms.o \
8 ../src/FbTk/libFbTk.a 8 ../src/FbTk/libFbTk.a
9 9
10MAINTAINERCLEANFILES= Makefile.in 10MAINTAINERCLEANFILES= Makefile.in
@@ -16,7 +16,7 @@ all-local: startfluxbox
16clean-local: 16clean-local:
17 rm -f startfluxbox fluxbox-generate_menu 17 rm -f startfluxbox fluxbox-generate_menu
18 18
19bsetroot.o: bsetroot.cc ../config.h $(srcdir)/bsetroot.hh \ 19fbsetroot.o: fbsetroot.cc ../config.h $(srcdir)/fbsetroot.hh \
20 $(top_srcdir)/src/FbRootWindow.hh $(top_srcdir)/src/FbAtoms.hh 20 $(top_srcdir)/src/FbRootWindow.hh $(top_srcdir)/src/FbAtoms.hh
21 21
22startfluxbox: startfluxbox.in 22startfluxbox: startfluxbox.in
diff --git a/util/fbsetbg b/util/fbsetbg
index a75f461..eaa1f9d 100644
--- a/util/fbsetbg
+++ b/util/fbsetbg
@@ -61,7 +61,7 @@ display_usage() {
61 cat << EOF 61 cat << EOF
62Usage: $command [-u/-U [wallpapersetter]] [-fFcCtTaA /path/to/wallpaper] 62Usage: $command [-u/-U [wallpapersetter]] [-fFcCtTaA /path/to/wallpaper]
63 [-r/-R /path/to/wallpaperdirectory] 63 [-r/-R /path/to/wallpaperdirectory]
64 [-b/-B bsetrootoptions] [-l] [-h] [-i] [-p] 64 [-b/-B fbsetrootoptions] [-l] [-h] [-i] [-p]
65Use \`\`$command -h'' for a complete help message. 65Use \`\`$command -h'' for a complete help message.
66 66
67EOF 67EOF
@@ -80,7 +80,7 @@ Options:
80 ( if your bgsetter doesn't support this 80 ( if your bgsetter doesn't support this
81 we fall back to -f ) 81 we fall back to -f )
82 -u Use specified wallpapersetter, use no argument to forget. 82 -u Use specified wallpapersetter, use no argument to forget.
83 -b Forward the options to bsetroot. 83 -b Forward the options to fbsetroot.
84 -r set random wallpaper from a directory 84 -r set random wallpaper from a directory
85 85
86 -F,-C,-T,-A,-U,-B,-R same as uncapsed but without remembering. 86 -F,-C,-T,-A,-U,-B,-R same as uncapsed but without remembering.
@@ -174,7 +174,7 @@ message() {
174remembercommand() { 174remembercommand() {
175 grep -vs "|${DISPLAY}$" ${lastwallpaper} > ${lastwallpaper}.tmp 175 grep -vs "|${DISPLAY}$" ${lastwallpaper} > ${lastwallpaper}.tmp
176 mv -f ${lastwallpaper}.tmp ${lastwallpaper} 176 mv -f ${lastwallpaper}.tmp ${lastwallpaper}
177 if [ "$option" = bsetroot ]; then 177 if [ "$option" = fbsetroot ]; then
178 echo $option'|'$wallpaper'|'$DISPLAY >> $lastwallpaper 178 echo $option'|'$wallpaper'|'$DISPLAY >> $lastwallpaper
179 return 179 return
180 fi 180 fi
@@ -262,11 +262,11 @@ while [ $# -gt 0 ]; do
262 wallpaper=$2 262 wallpaper=$2
263 remember=false 263 remember=false
264 break ;; 264 break ;;
265 -b) option=bsetroot 265 -b) option=fbsetroot
266 shift 266 shift
267 wallpaper=$* 267 wallpaper=$*
268 break ;; 268 break ;;
269 -B) option=bsetroot 269 -B) option=fbsetroot
270 shift 270 shift
271 wallpaper=$* 271 wallpaper=$*
272 remember=false 272 remember=false
@@ -461,8 +461,8 @@ if [ -z "$DISPLAY" ]; then
461fi 461fi
462 462
463 463
464if [ "$option" = bsetroot ]; then 464if [ "$option" = fbsetroot ]; then
465 bsetroot $wallpaper 465 fbsetroot $wallpaper
466 if [ ! "$remember" = false ]; then 466 if [ ! "$remember" = false ]; then
467 remembercommand 467 remembercommand
468 fi 468 fi
diff --git a/util/bsetroot.cc b/util/fbsetroot.cc
index 56cec1a..434f150 100644
--- a/util/bsetroot.cc
+++ b/util/fbsetroot.cc
@@ -20,7 +20,7 @@
20 20
21// $Id$ 21// $Id$
22 22
23#include "bsetroot.hh" 23#include "fbsetroot.hh"
24 24
25#include "../src/FbTk/I18n.hh" 25#include "../src/FbTk/I18n.hh"
26#include "../src/FbTk/ImageControl.hh" 26#include "../src/FbTk/ImageControl.hh"
@@ -52,7 +52,7 @@
52 52
53using namespace std; 53using namespace std;
54 54
55bsetroot::bsetroot(int argc, char **argv, char *dpy_name) 55fbsetroot::fbsetroot(int argc, char **argv, char *dpy_name)
56 : FbTk::App(dpy_name), m_app_name(argv[0]) { 56 : FbTk::App(dpy_name), m_app_name(argv[0]) {
57 57
58 pixmaps = (Pixmap *) 0; 58 pixmaps = (Pixmap *) 0;
@@ -121,7 +121,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
121 if ((mod + sol + grd) != true) { 121 if ((mod + sol + grd) != true) {
122 _FB_USES_NLS; 122 _FB_USES_NLS;
123 cerr<<m_app_name<< 123 cerr<<m_app_name<<
124 _FBTEXT(bsetroot, MustSpecify, 124 _FBTEXT(fbsetroot, MustSpecify,
125 "Error: must specify one of: -solid, -mod, -gradient\n", 125 "Error: must specify one of: -solid, -mod, -gradient\n",
126 "user didn't give one of the required options")<<endl; 126 "user didn't give one of the required options")<<endl;
127 127
@@ -142,7 +142,7 @@ bsetroot::bsetroot(int argc, char **argv, char *dpy_name)
142} 142}
143 143
144 144
145bsetroot::~bsetroot() { 145fbsetroot::~fbsetroot() {
146 XKillClient(display(), AllTemporary); 146 XKillClient(display(), AllTemporary);
147 147
148 if (pixmaps) { // should always be true 148 if (pixmaps) { // should always be true
@@ -164,7 +164,7 @@ bsetroot::~bsetroot() {
164 Eterm and xchat will be able to use 164 Eterm and xchat will be able to use
165 transparent background 165 transparent background
166*/ 166*/
167void bsetroot::setRootAtoms(Pixmap pixmap, int screen) { 167void fbsetroot::setRootAtoms(Pixmap pixmap, int screen) {
168 Atom atom_root, atom_eroot, type; 168 Atom atom_root, atom_eroot, type;
169 unsigned char *data_root, *data_eroot; 169 unsigned char *data_root, *data_eroot;
170 int format; 170 int format;
@@ -196,7 +196,7 @@ void bsetroot::setRootAtoms(Pixmap pixmap, int screen) {
196 196
197 if (atom_root == None || atom_eroot == None) { 197 if (atom_root == None || atom_eroot == None) {
198 _FB_USES_NLS; 198 _FB_USES_NLS;
199 cerr<<_FBTEXT(bsetroot, NoPixmapAtoms, "Couldn't create pixmap atoms, giving up!", "Couldn't create atoms to point at root pixmap")<<endl; 199 cerr<<_FBTEXT(fbsetroot, NoPixmapAtoms, "Couldn't create pixmap atoms, giving up!", "Couldn't create atoms to point at root pixmap")<<endl;
200 exit(1); 200 exit(1);
201 } 201 }
202 202
@@ -209,7 +209,7 @@ void bsetroot::setRootAtoms(Pixmap pixmap, int screen) {
209/** 209/**
210 Draws pixmaps with a single color 210 Draws pixmaps with a single color
211*/ 211*/
212void bsetroot::solid() { 212void fbsetroot::solid() {
213 register int screen = 0; 213 register int screen = 0;
214 214
215 pixmaps = new Pixmap[ScreenCount(display())]; 215 pixmaps = new Pixmap[ScreenCount(display())];
@@ -244,7 +244,7 @@ void bsetroot::solid() {
244 Draws pixmaps with an 16x16 pattern with 244 Draws pixmaps with an 16x16 pattern with
245 fg and bg colors. 245 fg and bg colors.
246*/ 246*/
247void bsetroot::modula(int x, int y) { 247void fbsetroot::modula(int x, int y) {
248 char data[32]; 248 char data[32];
249 long pattern; 249 long pattern;
250 250
@@ -322,7 +322,7 @@ void bsetroot::modula(int x, int y) {
322/** 322/**
323 draws pixmaps with a fluxbox texure 323 draws pixmaps with a fluxbox texure
324*/ 324*/
325void bsetroot::gradient() { 325void fbsetroot::gradient() {
326 // using temporaray pixmap and then copying it to background pixmap, as it'll 326 // using temporaray pixmap and then copying it to background pixmap, as it'll
327 // get crashed somewhere on the way causing apps like XChat chrashing 327 // get crashed somewhere on the way causing apps like XChat chrashing
328 // as the pixmap has been destroyed 328 // as the pixmap has been destroyed
@@ -378,12 +378,12 @@ void bsetroot::gradient() {
378/** 378/**
379 Shows information about usage 379 Shows information about usage
380*/ 380*/
381void bsetroot::usage(int exit_code) { 381void fbsetroot::usage(int exit_code) {
382 _FB_USES_NLS; 382 _FB_USES_NLS;
383 cerr<<m_app_name<<" 2.3 : (c) 2003-2004 Fluxbox Development Team"<<endl; 383 cerr<<m_app_name<<" 2.3 : (c) 2003-2005 Fluxbox Development Team"<<endl;
384 cerr<<m_app_name<<" 2.1 : (c) 2002 Claes Nasten"<<endl; 384 cerr<<m_app_name<<" 2.1 : (c) 2002 Claes Nasten"<<endl;
385 cerr<<m_app_name<<" 2.0 : (c) 1997-2000 Brad Hughes\n"<<endl; 385 cerr<<m_app_name<<" 2.0 : (c) 1997-2000 Brad Hughes\n"<<endl;
386 cerr<<_FBTEXT(bsetroot, Usage, 386 cerr<<_FBTEXT(fbsetroot, Usage,
387 " -display <string> display connection\n" 387 " -display <string> display connection\n"
388 " -mod <x> <y> modula pattern\n" 388 " -mod <x> <y> modula pattern\n"
389 " -foreground, -fg <color> modula foreground color\n" 389 " -foreground, -fg <color> modula foreground color\n"
@@ -393,7 +393,7 @@ void bsetroot::usage(int exit_code) {
393 " -to <color> gradient end color\n\n" 393 " -to <color> gradient end color\n\n"
394 " -solid <color> solid color\n\n" 394 " -solid <color> solid color\n\n"
395 " -help print this help text and exit\n", 395 " -help print this help text and exit\n",
396 "bsetroot usage options")<<endl; 396 "fbsetroot usage options")<<endl;
397 exit(exit_code); 397 exit(exit_code);
398} 398}
399 399
@@ -421,7 +421,7 @@ int main(int argc, char **argv) {
421 } 421 }
422 } 422 }
423 423
424 bsetroot app(argc, argv, display_name); 424 fbsetroot app(argc, argv, display_name);
425 425
426 return (0); 426 return (0);
427} 427}
diff --git a/util/bsetroot.hh b/util/fbsetroot.hh
index c4ad614..a66b716 100644
--- a/util/bsetroot.hh
+++ b/util/fbsetroot.hh
@@ -20,8 +20,8 @@
20 20
21// $Id$ 21// $Id$
22 22
23#ifndef BSETROOT_HH 23#ifndef FBSETROOT_HH
24#define BSETROOT_HH 24#define FBSETROOT_HH
25 25
26#include "../src/FbTk/App.hh" 26#include "../src/FbTk/App.hh"
27 27
@@ -31,10 +31,10 @@ class ImageControl;
31 31
32}; 32};
33 33
34class bsetroot : public FbTk::App { 34class fbsetroot : public FbTk::App {
35public: 35public:
36 bsetroot(int argc, char **argv, char * dpy_name= 0); 36 fbsetroot(int argc, char **argv, char * dpy_name= 0);
37 ~bsetroot(); 37 ~fbsetroot();
38 38
39 void gradient(); 39 void gradient();
40 void modula(int, int); 40 void modula(int, int);
@@ -52,4 +52,4 @@ private:
52}; 52};
53 53
54 54
55#endif // BSETROOT_HH 55#endif // FBSETROOT_HH
diff --git a/util/startfluxbox.in b/util/startfluxbox.in
index 74f9a96..154ccdb 100755
--- a/util/startfluxbox.in
+++ b/util/startfluxbox.in
@@ -44,7 +44,7 @@ else
44# 44#
45# This sets a black background 45# This sets a black background
46 46
47@pkgbindir@/bsetroot -solid black 47@pkgbindir@/fbsetroot -solid black
48 48
49# This shows the fluxbox-splash-screen 49# This shows the fluxbox-splash-screen
50# fbsetbg -C @pkgdatadir@/splash.jpg 50# fbsetbg -C @pkgdatadir@/splash.jpg