diff options
31 files changed, 84 insertions, 83 deletions
@@ -1,6 +1,14 @@ | |||
1 | (Format: Year/Month/Day) | 1 | (Format: Year/Month/Day) |
2 | Changes for 0.9.14: | 2 | Changes 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 @@ | |||
4 | SUBDIRS = ru | 4 | SUBDIRS = ru |
5 | CLEANFILES = fluxbox.1 fluxstyle.1 | 5 | CLEANFILES = fluxbox.1 fluxstyle.1 |
6 | MAINTAINERCLEANFILES = Makefile.in | 6 | MAINTAINERCLEANFILES = Makefile.in |
7 | man_MANS = fluxbox.1 bsetroot.1 fbrun.1 fbsetbg.1 \ | 7 | man_MANS = fluxbox.1 fbsetroot.1 fbrun.1 fbsetbg.1 \ |
8 | startfluxbox.1 fluxstyle.1 fbrun.1 | 8 | startfluxbox.1 fluxstyle.1 fbrun.1 |
9 | EXTRA_DIST=fluxbox.1.in bsetroot.1 fbrun.1 startfluxbox.1 fbsetbg.1 \ | 9 | EXTRA_DIST=fluxbox.1.in fbsetroot.1 fbrun.1 startfluxbox.1 fbsetbg.1 \ |
10 | fluxstyle.1.in Coding_style | 10 | fluxstyle.1.in Coding_style |
11 | distclean-local: | 11 | distclean-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 |
24 | bsetroot \- a simple background utility used by the Fluxbox window manager, ori | 24 | fbsetroot \- a simple background utility used by the Fluxbox window manager, originally |
25 | ginally written | 25 | written for and by the original Blackbox window manager team. |
26 | for 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 |
39 | Bsetroot is a utility that can control the appearance of the root window in | 38 | fbsetroot is a utility that can control the appearance of the root window in |
40 | three ways: Either give it a solid color, or write a two color modula pattern | 39 | three ways: Either give it a solid color, or write a two color modula pattern |
41 | to it, or render a gradient texture, based on two different colors. | 40 | to it, or render a gradient texture, based on two different colors. |
42 | .PP | 41 | .PP |
43 | Bsetroot resembles | 42 | fbsetroot resembles |
44 | .IR xsetroot (1) | 43 | .IR xsetroot (1) |
45 | in this functionality but it supports multiple screen displays, and gradient | 44 | in this functionality but it supports multiple screen displays, and gradient |
46 | textures the same way as Blackbox or Fluxbox does. | 45 | textures the same way as Blackbox or Fluxbox does. |
47 | It doesn't handle cursors etc. | 46 | It doesn't handle cursors etc. |
48 | Bsetroot was originally part of the Blackbox package and was carried over with | 47 | fbsetroot was originally part of the Blackbox package and was carried over with |
49 | the code that became Fluxbox. | 48 | the code that became Fluxbox. It was called bsetroot back in those days. |
50 | .SH OPTIONS | 49 | .SH OPTIONS |
51 | Bsetroot operates in three ways, you must choose one of the first 3 options: | 50 | fbsetroot 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" |
54 | Sets the root window to specified color. | 53 | Sets 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" |
78 | Tells Bsetroot to connect to the specified display. | 77 | Tells fbsetroot to connect to the specified display. |
79 | .TP | 78 | .TP |
80 | .BI "\-bg, \-background " color | 79 | .BI "\-bg, \-background " color |
81 | Background color. | 80 | Background color. |
@@ -104,13 +103,7 @@ operation mode. | |||
104 | .B \-help | 103 | .B \-help |
105 | Prints version info and short help text. | 104 | Prints version info and short help text. |
106 | .SH AUTHOR | 105 | .SH AUTHOR |
107 | Bsetroot is written and maintained by Brad Hughes | 106 | fbsetroot is written and maintained by the Fluxbox Development Team |
108 | .nh \" hyphenation off | ||
109 | (blackbox@alug.org) | ||
110 | .hy \" on again | ||
111 | and Jeff Raven | ||
112 | .nh | ||
113 | (jraven@psu.edu). | ||
114 | .PP | 107 | .PP |
115 | This manpage was modified by Curt "Asenchi" Micol <asenchi@asenchi.com> for | 108 | This manpage was modified by Curt "Asenchi" Micol <asenchi@asenchi.com> for |
116 | the Fluxbox window manager. | 109 | the 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 | |||
213 | 3 New Workspace | 213 | 3 New Workspace |
214 | 4 Remove Last | 214 | 4 Remove Last |
215 | 215 | ||
216 | $set 18 #bsetroot | 216 | $set 18 #fbsetroot |
217 | 217 | ||
218 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n | 218 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n |
219 | 2 Couldn't create pixmap atoms, giving up! | 219 | 2 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 | |||
211 | 3 Новае працоўнае месца | 211 | 3 Новае працоўнае месца |
212 | 4 Выдаліць апошняе | 212 | 4 Выдаліць апошняе |
213 | 213 | ||
214 | $set 18 #bsetroot | 214 | $set 18 #fbsetroot |
215 | 215 | ||
216 | 1 %s: памылка: павінна быць нешта з наступнага: -solid, -mod, -gradient\n | 216 | 1 %s: памылка: павінна быць нешта з наступнага: -solid, -mod, -gradient\n |
217 | 2 Couldn't create pixmap atoms, giving up! | 217 | 2 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 | |||
104 | 3 Ново Работно Място | 104 | 3 Ново Работно Място |
105 | 4 Махни Последното | 105 | 4 Махни Последното |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n | 109 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n |
110 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
210 | 3 Novб plocha | 210 | 3 Novб plocha |
211 | 4 Odstranit poslednн | 211 | 4 Odstranit poslednн |
212 | 212 | ||
213 | $set 18 #bsetroot | 213 | $set 18 #fbsetroot |
214 | 214 | ||
215 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n | 215 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n |
216 | 2 Couldn't create pixmap atoms, giving up! | 216 | 2 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 | |||
104 | 3 Nyt skrivebord | 104 | 3 Nyt skrivebord |
105 | 4 Fjern sidste | 105 | 4 Fjern sidste |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s: fejl: specificйr en af fшlgende: -solid, -mod, -gradient\n | 109 | 1 %s: fejl: specificйr en af fшlgende: -solid, -mod, -gradient\n |
110 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
206 | 3 Neuer Desktop | 206 | 3 Neuer Desktop |
207 | 4 Letzten Desktop entfernen | 207 | 4 Letzten Desktop entfernen |
208 | 208 | ||
209 | $set 18 #bsetroot | 209 | $set 18 #fbsetroot |
210 | 210 | ||
211 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n | 211 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n |
212 | 2 Couldn't create pixmap atoms, giving up! | 212 | 2 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 | |||
104 | 3 Escritorio nuevo | 104 | 3 Escritorio nuevo |
105 | 4 Quitar el ъltimo escritorio | 105 | 4 Quitar el ъltimo escritorio |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s: error: es necesario especifiar uno de: -solid, -mod, -gradient\n | 109 | 1 %s: error: es necesario especifiar uno de: -solid, -mod, -gradient\n |
110 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
102 | 3 Uus tццlaud | 102 | 3 Uus tццlaud |
103 | 4 Eemalda viimane | 103 | 4 Eemalda viimane |
104 | 104 | ||
105 | $set 18 #bsetroot | 105 | $set 18 #fbsetroot |
106 | 106 | ||
107 | 1 %s: viga: pead mддratlema ьhe jдrgnevaist: -solid, -mod, -gradient\n | 107 | 1 %s: viga: pead mддratlema ьhe jдrgnevaist: -solid, -mod, -gradient\n |
108 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 108 | 3 %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 | |||
104 | 3 Nouveau bureau | 104 | 3 Nouveau bureau |
105 | 4 Supprimer le dernier | 105 | 4 Supprimer le dernier |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s: Erreur: il faut prйciser: -solid, -mod, -gradient\n | 109 | 1 %s: Erreur: il faut prйciser: -solid, -mod, -gradient\n |
110 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
103 | 3 Crea una nuova | 103 | 3 Crea una nuova |
104 | 4 Elimina l'ultima | 104 | 4 Elimina l'ultima |
105 | 105 | ||
106 | $set 18 #bsetroot | 106 | $set 18 #fbsetroot |
107 | 107 | ||
108 | 1 %s: errore: specicare una delle opzioni : -solid, -mod, -gradient\n | 108 | 1 %s: errore: specicare una delle opzioni : -solid, -mod, -gradient\n |
109 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 109 | 3 %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 | |||
106 | 3 ї·µ¬ҐпЎјҐЇҐ№ҐЪЎјҐ№єоА® | 106 | 3 ї·µ¬ҐпЎјҐЇҐ№ҐЪЎјҐ№єоА® |
107 | 4 ЛцИш¤ОҐпЎјҐЇҐ№ҐЪЎјҐ№¤тєпЅь | 107 | 4 ЛцИш¤ОҐпЎјҐЇҐ№ҐЪЎјҐ№¤тєпЅь |
108 | 108 | ||
109 | $set 18 #bsetroot | 109 | $set 18 #fbsetroot |
110 | 110 | ||
111 | 1 %s: error: јЎ¤ОГ椫¤й°м¤Д¤тБЄВт¤·¤К¤±¤м¤Р¤К¤к¤Ю¤»¤у: -solid, -mod, -gradient\n | 111 | 1 %s: error: јЎ¤ОГ椫¤й°м¤Д¤тБЄВт¤·¤К¤±¤м¤Р¤К¤к¤Ю¤»¤у: -solid, -mod, -gradient\n |
112 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 112 | 3 %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 | |||
210 | 3 »х АЫѕч°ш°Ј ГЯ°Ў | 210 | 3 »х АЫѕч°ш°Ј ГЯ°Ў |
211 | 4 ё¶Бцё· °Н Б¦°Е | 211 | 4 ё¶Бцё· °Н Б¦°Е |
212 | 212 | ||
213 | $set 18 #bsetroot | 213 | $set 18 #fbsetroot |
214 | 214 | ||
215 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n | 215 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n |
216 | 2 Couldn't create pixmap atoms, giving up! | 216 | 2 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 | |||
103 | 3 Jauna Darba vieta | 103 | 3 Jauna Darba vieta |
104 | 4 Noтemt Pзdзjo | 104 | 4 Noтemt Pзdзjo |
105 | 105 | ||
106 | $set 18 #bsetroot | 106 | $set 18 #fbsetroot |
107 | 107 | ||
108 | 1 %s: kпыda: jвnosaka viens no: -solid, -mod, -gradient\n | 108 | 1 %s: kпыda: jвnosaka viens no: -solid, -mod, -gradient\n |
109 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 109 | 3 %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 | |||
105 | 3 Nieuw werkveld | 105 | 3 Nieuw werkveld |
106 | 4 Verwijder laatste | 106 | 4 Verwijder laatste |
107 | 107 | ||
108 | $set 18 #bsetroot | 108 | $set 18 #fbsetroot |
109 | 109 | ||
110 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n | 110 | 1 %s: error: must specify one of: -solid, -mod, -gradient\n |
111 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 111 | 3 %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 | |||
217 | 3 Nowy Pulpit | 217 | 3 Nowy Pulpit |
218 | 4 Usuс Ostatni | 218 | 4 Usuс Ostatni |
219 | 219 | ||
220 | $set 18 #bsetroot | 220 | $set 18 #fbsetroot |
221 | 221 | ||
222 | 1 %s: bі±d: musisz okre¶liж jedno z: -solid, -mod, -gradient\n | 222 | 1 %s: bі±d: musisz okre¶liж jedno z: -solid, -mod, -gradient\n |
223 | 2 Nie mogк stowrzyж elementуw pixmap - dajк sobie spokуj! | 223 | 2 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 | |||
104 | 3 Nova Area de Trabalho | 104 | 3 Nova Area de Trabalho |
105 | 4 Remover Ultima | 105 | 4 Remover Ultima |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n | 109 | 1 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n |
110 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
104 | 3 Nova Area de Trabalho | 104 | 3 Nova Area de Trabalho |
105 | 4 Remover Ultima Area de Trabalho | 105 | 4 Remover Ultima Area de Trabalho |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n | 109 | 1 %s: erro: necessario especificar um dos seguintes argumentos: -solid, -mod, -gradient\n |
110 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
154 | 3 оПЧЩК ТБВПЮЙК УФПМ | 154 | 3 оПЧЩК ТБВПЮЙК УФПМ |
155 | 4 хДБМЙФШ РПУМЕДОЙК | 155 | 4 хДБМЙФШ РПУМЕДОЙК |
156 | 156 | ||
157 | $set 18 #bsetroot | 157 | $set 18 #fbsetroot |
158 | 158 | ||
159 | 1 %s: ПЫЙВЛБ: ОЕПВИПДЙНП ЪБДБФШ ПДЙО ЙЪ УМЕДХАЭЙИ ЛМАЮЕК: -solid, -mod, -gradient\n | 159 | 1 %s: ПЫЙВЛБ: ОЕПВИПДЙНП ЪБДБФШ ПДЙО ЙЪ УМЕДХАЭЙИ ЛМАЮЕК: -solid, -mod, -gradient\n |
160 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 160 | 3 %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 | |||
105 | 3 Nova delovna povr№ina | 105 | 3 Nova delovna povr№ina |
106 | 4 Odstrani zadnjo | 106 | 4 Odstrani zadnjo |
107 | 107 | ||
108 | $set 18 #bsetroot | 108 | $set 18 #fbsetroot |
109 | 109 | ||
110 | 1 %s: napaka: doloиiti je treba eno: -solid, -mod, -gradient\n | 110 | 1 %s: napaka: doloиiti je treba eno: -solid, -mod, -gradient\n |
111 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 111 | 3 %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 | |||
105 | 3 Nytt skrivbord | 105 | 3 Nytt skrivbord |
106 | 4 Ta bort sista | 106 | 4 Ta bort sista |
107 | 107 | ||
108 | $set 18 #bsetroot | 108 | $set 18 #fbsetroot |
109 | 109 | ||
110 | 1 %s: fel: mеste specifiera en av: -solid, -mod, -gradient\n | 110 | 1 %s: fel: mеste specifiera en av: -solid, -mod, -gradient\n |
111 | 3 %s 2.0: (c) 1997-2000 Brad Hughes\n\n\ | 111 | 3 %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 | |||
104 | 3 Yeni Masaьstь | 104 | 3 Yeni Masaьstь |
105 | 4 Son Masaьstьnь Kaldэr | 105 | 4 Son Masaьstьnь Kaldэr |
106 | 106 | ||
107 | $set 18 #bsetroot | 107 | $set 18 #fbsetroot |
108 | 108 | ||
109 | 1 %s : hata : -solid, -mod yada -gradient'den en az birisini belirlemek zorundasэnэz\n | 109 | 1 %s : hata : -solid, -mod yada -gradient'den en az birisini belirlemek zorundasэnэz\n |
110 | 3 %s 2.0 : Telif hakkэ (c) 1997-2000 Brad Hughes\n\n\ | 110 | 3 %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 | |||
185 | 3 KhГґng gian mб»›i | 185 | 3 KhГґng gian mб»›i |
186 | 4 XГіa khГґng gian cuб»‘i | 186 | 4 XГіa khГґng gian cuб»‘i |
187 | 187 | ||
188 | $set 18 #bsetroot | 188 | $set 18 #fbsetroot |
189 | 189 | ||
190 | 1 %s: lб»—i: cбє§n Д‘Ж°a ra mб»™t trong cГЎc tб»« khГіa sau: -solid, -mod, -gradient\n | 190 | 1 %s: lб»—i: cбє§n Д‘Ж°a ra mб»™t trong cГЎc tб»« khГіa sau: -solid, -mod, -gradient\n |
191 | 2 KhГґng thб»ѓ tбєЎo cГЎc pixmap! | 191 | 2 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 @@ | |||
2 | SUBDIRS= fbrun | 2 | SUBDIRS= fbrun |
3 | INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk | 3 | INCLUDES= -I$(top_srcdir)/src -I$(top_srcdir)/src/FbTk |
4 | bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox | 4 | bin_SCRIPTS= fbsetbg fluxbox-generate_menu startfluxbox |
5 | bin_PROGRAMS= bsetroot | 5 | bin_PROGRAMS= fbsetroot |
6 | bsetroot_SOURCES= bsetroot.cc bsetroot.hh | 6 | fbsetroot_SOURCES= fbsetroot.cc fbsetroot.hh |
7 | bsetroot_LDADD= ../src/FbRootWindow.o ../src/FbAtoms.o \ | 7 | fbsetroot_LDADD=../src/FbRootWindow.o ../src/FbAtoms.o \ |
8 | ../src/FbTk/libFbTk.a | 8 | ../src/FbTk/libFbTk.a |
9 | 9 | ||
10 | MAINTAINERCLEANFILES= Makefile.in | 10 | MAINTAINERCLEANFILES= Makefile.in |
@@ -16,7 +16,7 @@ all-local: startfluxbox | |||
16 | clean-local: | 16 | clean-local: |
17 | rm -f startfluxbox fluxbox-generate_menu | 17 | rm -f startfluxbox fluxbox-generate_menu |
18 | 18 | ||
19 | bsetroot.o: bsetroot.cc ../config.h $(srcdir)/bsetroot.hh \ | 19 | fbsetroot.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 | ||
22 | startfluxbox: startfluxbox.in | 22 | startfluxbox: 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 |
62 | Usage: $command [-u/-U [wallpapersetter]] [-fFcCtTaA /path/to/wallpaper] | 62 | Usage: $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] |
65 | Use \`\`$command -h'' for a complete help message. | 65 | Use \`\`$command -h'' for a complete help message. |
66 | 66 | ||
67 | EOF | 67 | EOF |
@@ -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() { | |||
174 | remembercommand() { | 174 | remembercommand() { |
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 | |||
461 | fi | 461 | fi |
462 | 462 | ||
463 | 463 | ||
464 | if [ "$option" = bsetroot ]; then | 464 | if [ "$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 | ||
53 | using namespace std; | 53 | using namespace std; |
54 | 54 | ||
55 | bsetroot::bsetroot(int argc, char **argv, char *dpy_name) | 55 | fbsetroot::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 | ||
145 | bsetroot::~bsetroot() { | 145 | fbsetroot::~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 | */ |
167 | void bsetroot::setRootAtoms(Pixmap pixmap, int screen) { | 167 | void 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 | */ |
212 | void bsetroot::solid() { | 212 | void 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 | */ |
247 | void bsetroot::modula(int x, int y) { | 247 | void 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 | */ |
325 | void bsetroot::gradient() { | 325 | void 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 | */ |
381 | void bsetroot::usage(int exit_code) { | 381 | void 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 | ||
34 | class bsetroot : public FbTk::App { | 34 | class fbsetroot : public FbTk::App { |
35 | public: | 35 | public: |
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 |