aboutsummaryrefslogtreecommitdiff
blob: 8b1c9705f1f4371eae4384a7c682ce89c3e8df8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
--- a/src/ScreenResource.cc
+++ b/src/ScreenResource.cc
@@ -103,7 +103,6 @@
     menu_delay(rm, 200, scrname + ".menuDelay", altscrname+".MenuDelay"),
     tab_width(rm, 64, scrname + ".tab.width", altscrname+".Tab.Width"),
     tooltip_delay(rm, 500, scrname + ".tooltipDelay", altscrname+".TooltipDelay"),
-    allow_remote_actions(rm, false, scrname+".allowRemoteActions", altscrname+".AllowRemoteActions"),
     clientmenu_use_pixmap(rm, true, scrname+".clientMenu.usePixmap", altscrname+".ClientMenu.UsePixmap"),
     tabs_use_pixmap(rm, true, scrname+".tabs.usePixmap", altscrname+".Tabs.UsePixmap"),
     max_over_tabs(rm, false, scrname+".tabs.maxOver", altscrname+".Tabs.MaxOver"),

--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -115,7 +115,6 @@
     FbWinFrame::TabPlacement getTabPlacement() const { return *resource.tab_placement; }
 
     unsigned int noFocusWhileTypingDelay() const { return *resource.typing_delay; }
-    const bool allowRemoteActions() const { return *resource.allow_remote_actions; }
     const bool clientMenuUsePixmap() const { return *resource.clientmenu_use_pixmap; }
     const bool getDefaultInternalTabs() const { return *resource.default_internal_tabs; }
     const bool getTabsUsePixmap() const { return *resource.tabs_use_pixmap; }

--- a/src/ScreenResource.hh
+++ b/src/ScreenResource.hh
@@ -53,7 +53,6 @@
         menu_delay,
         tab_width,
         tooltip_delay;
-    FbTk::Resource<bool> allow_remote_actions;
     FbTk::Resource<bool> clientmenu_use_pixmap;
     FbTk::Resource<bool> tabs_use_pixmap;
     FbTk::Resource<bool> max_over_tabs;

--- a/src/Screen.cc
+++ b/src/Screen.cc
@@ -624,34 +624,7 @@
 
 void BScreen::propertyNotify(Atom atom) {
 
-    if (allowRemoteActions() && atom == atom_fbcmd) {
-        Atom xa_ret_type;
-        int ret_format;
-        unsigned long ret_nitems, ret_bytes_after;
-        char *str;
-        if (rootWindow().property(atom_fbcmd, 0l, 64l,
-                True, XA_STRING, &xa_ret_type, &ret_format, &ret_nitems,
-                &ret_bytes_after, (unsigned char **)&str) && str) {
-
-            if (ret_bytes_after) {
-                XFree(str);
-                long len = 64 + (ret_bytes_after + 3)/4;
-                rootWindow().property(atom_fbcmd, 0l, len,
-                    True, XA_STRING, &xa_ret_type, &ret_format, &ret_nitems,
-                    &ret_bytes_after, (unsigned char **)&str);
-            }
-
-            static std::auto_ptr<FbTk::Command<void> > cmd(0);
-            cmd.reset(FbTk::CommandParser<void>::instance().parse(str, false));
-            if (cmd.get()) {
-                cmd->execute();
-            }
-            XFree(str);
-
-        }
-    // TODO: this doesn't belong in FbPixmap
-    } else if (FbTk::FbPixmap::rootwinPropertyNotify(screenNumber(), atom))
-        m_bg_change_sig.emit(*this);
+	return;
 }
 
 void BScreen::keyPressEvent(XKeyEvent &ke) {

--- a/util/fluxbox-remote.cc
+++ b/util/fluxbox-remote.cc
@@ -18,79 +18,3 @@
 // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 // DEALINGS IN THE SOFTWARE.
-
-#include <X11/Xlib.h>
-#include <X11/Xatom.h>
-#include <X11/Xutil.h>
-#include <string.h>
-#include <stdlib.h>
-#include <stdio.h>
-
-
-bool g_gotError = false;
-static int HandleIPCError(Display *disp, XErrorEvent*ptr)
-{
-	// ptr->error_code contains the actual error flags
-	g_gotError = true;
-	return( 0 );
-}
-
-typedef int (*xerror_cb_t)(Display*,XErrorEvent*);
-
-
-int main(int argc, char **argv) {
-
-    int         rc;
-    Display*    disp;
-    Window      root;
-    Atom        atom_fbcmd; 
-    Atom        atom_result;
-    xerror_cb_t error_cb;
-    char*       cmd;
-
-    if (argc <= 1) {
-        printf("fluxbox-remote <fluxbox-command>\n");
-        return EXIT_SUCCESS;
-    }
-
-    disp = XOpenDisplay(NULL);
-    if (!disp) {
-        perror("error, can't open display.");
-        rc = EXIT_FAILURE;
-        return rc;
-    }
-
-    cmd = argv[1];
-    atom_fbcmd = XInternAtom(disp, "_FLUXBOX_ACTION", False);
-    atom_result = XInternAtom(disp, "_FLUXBOX_ACTION_RESULT", False);
-    root = DefaultRootWindow(disp);
-
-    // assign the custom handler, clear the flag, sync the data,
-    // then check it for success/failure
-    error_cb = XSetErrorHandler(HandleIPCError);
-
-
-    if (strcmp(cmd, "result") == 0) {
-        XTextProperty text_prop;
-        if (XGetTextProperty(disp, root, &text_prop, atom_result) != 0
-            && text_prop.value > 0
-            && text_prop.nitems > 0) {
-
-            printf("%s", text_prop.value);
-            XFree(text_prop.value);
-        }
-    } else {
-        XChangeProperty(disp, root, atom_fbcmd,
-                              XA_STRING, 8, PropModeReplace,
-                              (unsigned char *)cmd, strlen(cmd));
-        XSync(disp, false);
-    }
-
-    rc = (g_gotError ? EXIT_FAILURE : EXIT_SUCCESS);
-
-    XSetErrorHandler(error_cb);
-    XCloseDisplay(disp);
-
-    return rc;
-}
-

--- a/util/Makemodule.am
+++ b/util/Makemodule.am
@@ -12,7 +12,6 @@
 
 bin_PROGRAMS += \
 	fbsetroot \
-	fluxbox-remote \
 	fluxbox-update_configs
 
 fbsetroot_SOURCES = \
@@ -46,9 +45,3 @@
 	libFbTk.a \
 	$(FRIBIDI_LIBS)
 
-fluxbox_remote_SOURCES = \
-	util/fluxbox-remote.cc
-fluxbox_remote_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-I$(fbtk_incdir)
-
--- a/Makefile.in
+++ b/Makefile.in
@@ -114,8 +114,7 @@
 build_triplet = @build@
 host_triplet = @host@
 bin_PROGRAMS = fluxbox$(EXEEXT) fbsetroot$(EXEEXT) \
-	fluxbox-remote$(EXEEXT) fluxbox-update_configs$(EXEEXT) \
-	fbrun$(EXEEXT)
+	fluxbox-update_configs$(EXEEXT) fbrun$(EXEEXT) \
 DIST_COMMON = $(srcdir)/data/Makemodule.am \
 	$(srcdir)/data/styles/carp/Makemodule.am \
 	$(srcdir)/data/styles/bora_blue/Makemodule.am \
@@ -467,11 +466,6 @@
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 	$(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
 	$(am__DEPENDENCIES_1)
-am_fluxbox_remote_OBJECTS =  \
-	util/fluxbox_remote-fluxbox-remote.$(OBJEXT)
-fluxbox_remote_OBJECTS = $(am_fluxbox_remote_OBJECTS)
-fluxbox_remote_LDADD = $(LDADD)
-fluxbox_remote_DEPENDENCIES = libFbTk.a src/defaults.$(OBJEXT)
 am_fluxbox_update_configs_OBJECTS =  \
 	src/fluxbox_update_configs-defaults.$(OBJEXT) \
 	src/fluxbox_update_configs-Resources.$(OBJEXT) \
@@ -594,19 +588,16 @@
 am__v_CCLD_0 = @echo "  CCLD    " $@;
 am__v_CCLD_1 = 
 SOURCES = $(libFbTk_a_SOURCES) $(fbrun_SOURCES) $(fbsetroot_SOURCES) \
-	$(fluxbox_SOURCES) $(fluxbox_remote_SOURCES) \
-	$(fluxbox_update_configs_SOURCES) \
+	$(fluxbox_SOURCES) $(fluxbox_update_configs_SOURCES) \
 	$(testDemandAttention_SOURCES) $(testFont_SOURCES) \
 	$(testFullscreen_SOURCES) $(testKeys_SOURCES) \
 	$(testRectangleUtil_SOURCES) $(testStringUtil_SOURCES) \
 	$(testTexture_SOURCES)
 DIST_SOURCES = $(am__libFbTk_a_SOURCES_DIST) $(fbrun_SOURCES) \
 	$(fbsetroot_SOURCES) $(am__fluxbox_SOURCES_DIST) \
-	$(fluxbox_remote_SOURCES) $(fluxbox_update_configs_SOURCES) \
-	$(testDemandAttention_SOURCES) $(testFont_SOURCES) \
+	$(fluxbox_update_configs_SOURCES) $(testDemandAttention_SOURCES) $(testFont_SOURCES) \
 	$(testFullscreen_SOURCES) $(testKeys_SOURCES) \
-	$(testRectangleUtil_SOURCES) $(testStringUtil_SOURCES) \
-	$(testTexture_SOURCES)
+	$(testRectangleUtil_SOURCES) $(testStringUtil_SOURCES) $(testTexture_SOURCES) \
 RECURSIVE_TARGETS = all-recursive check-recursive cscopelist-recursive \
 	ctags-recursive dvi-recursive html-recursive info-recursive \
 	install-data-recursive install-dvi-recursive \
@@ -863,12 +854,11 @@
 	data/windowmenu $(style_DATA) doc/CODESTYLE doc/fbrun.1.in \
 	doc/fbsetbg.1.in doc/fbsetroot.1.in doc/fluxbox-apps.5.in \
 	doc/fluxbox-keys.5.in doc/fluxbox-menu.5.in \
-	doc/fluxbox-remote.1.in doc/fluxbox-style.5.in \
-	doc/fluxbox.1.in doc/startfluxbox.1.in util/fbsetbg
+	doc/fluxbox-style.5.in doc/fluxbox.1.in \
+	doc/startfluxbox.1.in util/fbsetbg
 CLEANFILES = $(PATHFILES) doc/fbrun.1 doc/fbsetbg.1 doc/fbsetroot.1 \
 	doc/fluxbox-apps.5 doc/fluxbox-keys.5 doc/fluxbox-menu.5 \
-	doc/fluxbox-remote.1 doc/fluxbox-style.5 doc/fluxbox.1 \
-	doc/startfluxbox.1
+	doc/fluxbox-style.5 doc/fluxbox.1 doc/startfluxbox.1 \
 MAINTAINERCLEANFILES = \
 	aclocal.m4 \
 	config.h.in \
@@ -1072,7 +1062,6 @@
 	doc/fluxbox-apps.5 \
 	doc/fluxbox-keys.5 \
 	doc/fluxbox-menu.5 \
-	doc/fluxbox-remote.1 \
 	doc/fluxbox-style.5 \
 	doc/fluxbox.1 \
 	doc/startfluxbox.1
@@ -1568,13 +1557,6 @@
 	libFbTk.a \
 	$(FRIBIDI_LIBS)
 
-fluxbox_remote_SOURCES = \
-	util/fluxbox-remote.cc
-
-fluxbox_remote_CPPFLAGS = \
-	$(AM_CPPFLAGS) \
-	-I$(fbtk_incdir)
-
 fbrun_CPPFLAGS = \
 	$(AM_CPPFLAGS) \
 	-I$(src_incdir)
@@ -1999,12 +1981,7 @@
 fluxbox$(EXEEXT): $(fluxbox_OBJECTS) $(fluxbox_DEPENDENCIES) $(EXTRA_fluxbox_DEPENDENCIES) 
 	@rm -f fluxbox$(EXEEXT)
 	$(AM_V_CXXLD)$(CXXLINK) $(fluxbox_OBJECTS) $(fluxbox_LDADD) $(LIBS)
-util/fluxbox_remote-fluxbox-remote.$(OBJEXT): util/$(am__dirstamp) \
-	util/$(DEPDIR)/$(am__dirstamp)
 
-fluxbox-remote$(EXEEXT): $(fluxbox_remote_OBJECTS) $(fluxbox_remote_DEPENDENCIES) $(EXTRA_fluxbox_remote_DEPENDENCIES) 
-	@rm -f fluxbox-remote$(EXEEXT)
-	$(AM_V_CXXLD)$(CXXLINK) $(fluxbox_remote_OBJECTS) $(fluxbox_remote_LDADD) $(LIBS)
 src/fluxbox_update_configs-defaults.$(OBJEXT): src/$(am__dirstamp) \
 	src/$(DEPDIR)/$(am__dirstamp)
 src/fluxbox_update_configs-Resources.$(OBJEXT): src/$(am__dirstamp) \
@@ -2246,7 +2223,6 @@
 @AMDEP_TRUE@@am__include@ @am__quote@src/tests/$(DEPDIR)/testStringUtil-StringUtiltest.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@src/tests/$(DEPDIR)/testTexture-texturetest.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/fbsetroot-fbsetroot.Po@am__quote@
-@AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@util/$(DEPDIR)/fluxbox_update_configs-fluxbox-update_configs.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@util/fbrun/$(DEPDIR)/fbrun-FbRun.Po@am__quote@
 @AMDEP_TRUE@@am__include@ @am__quote@util/fbrun/$(DEPDIR)/fbrun-main.Po@am__quote@
@@ -4073,20 +4049,6 @@
 @AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
 @am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fluxbox_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/fluxbox-SystemTray.obj `if test -f 'src/SystemTray.cc'; then $(CYGPATH_W) 'src/SystemTray.cc'; else $(CYGPATH_W) '$(srcdir)/src/SystemTray.cc'; fi`
 
-util/fluxbox_remote-fluxbox-remote.o: util/fluxbox-remote.cc
-@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fluxbox_remote_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT util/fluxbox_remote-fluxbox-remote.o -MD -MP -MF util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Tpo -c -o util/fluxbox_remote-fluxbox-remote.o `test -f 'util/fluxbox-remote.cc' || echo '$(srcdir)/'`util/fluxbox-remote.cc
-@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Tpo util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='util/fluxbox-remote.cc' object='util/fluxbox_remote-fluxbox-remote.o' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fluxbox_remote_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o util/fluxbox_remote-fluxbox-remote.o `test -f 'util/fluxbox-remote.cc' || echo '$(srcdir)/'`util/fluxbox-remote.cc
-
-util/fluxbox_remote-fluxbox-remote.obj: util/fluxbox-remote.cc
-@am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fluxbox_remote_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT util/fluxbox_remote-fluxbox-remote.obj -MD -MP -MF util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Tpo -c -o util/fluxbox_remote-fluxbox-remote.obj `if test -f 'util/fluxbox-remote.cc'; then $(CYGPATH_W) 'util/fluxbox-remote.cc'; else $(CYGPATH_W) '$(srcdir)/util/fluxbox-remote.cc'; fi`
-@am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Tpo util/$(DEPDIR)/fluxbox_remote-fluxbox-remote.Po
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	$(AM_V_CXX)source='util/fluxbox-remote.cc' object='util/fluxbox_remote-fluxbox-remote.obj' libtool=no @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@	DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@	$(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fluxbox_remote_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o util/fluxbox_remote-fluxbox-remote.obj `if test -f 'util/fluxbox-remote.cc'; then $(CYGPATH_W) 'util/fluxbox-remote.cc'; else $(CYGPATH_W) '$(srcdir)/util/fluxbox-remote.cc'; fi`
-
 src/fluxbox_update_configs-defaults.o: src/defaults.cc
 @am__fastdepCXX_TRUE@	$(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(fluxbox_update_configs_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/fluxbox_update_configs-defaults.o -MD -MP -MF src/$(DEPDIR)/fluxbox_update_configs-defaults.Tpo -c -o src/fluxbox_update_configs-defaults.o `test -f 'src/defaults.cc' || echo '$(srcdir)/'`src/defaults.cc
 @am__fastdepCXX_TRUE@	$(AM_V_at)$(am__mv) src/$(DEPDIR)/fluxbox_update_configs-defaults.Tpo src/$(DEPDIR)/fluxbox_update_configs-defaults.Po

--- a/doc/fluxbox-remote.1
+++ /dev/null
@@ -1,65 +0,0 @@
-'\" t
-.\"     Title: fluxbox-remote
-.\"    Author: Mark Tiefenbruck <mark@fluxbox.org>
-.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 08 February 2015
-.\"    Manual: Fluxbox Manual
-.\"    Source: fluxbox-remote.txt
-.\"  Language: English
-.\"
-.TH "FLUXBOX\-REMOTE" "1" "08 February 2015" "fluxbox\-remote\&.txt" "Fluxbox Manual"
-.\" -----------------------------------------------------------------
-.\" * Define some portability stuff
-.\" -----------------------------------------------------------------
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" http://bugs.debian.org/507673
-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.ie \n(.g .ds Aq \(aq
-.el       .ds Aq '
-.\" -----------------------------------------------------------------
-.\" * set default formatting
-.\" -----------------------------------------------------------------
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.\" -----------------------------------------------------------------
-.\" * MAIN CONTENT STARTS HERE *
-.\" -----------------------------------------------------------------
-.SH "NAME"
-fluxbox-remote \- command line access to key commands for fluxbox(1)
-.SH "SYNOPSIS"
-.sp
-\fBfluxbox\-remote\fR \fIcommand\fR
-.SH "DESCRIPTION"
-.sp
-\fIfluxbox\-remote(1)\fR is designed to allow scripts to execute most key commands from \fIfluxbox(1)\fR\&. \fIfluxbox\-remote(1)\fR will only work with \fIfluxbox(1)\fR: its communications with \fIfluxbox(1)\fR are not standardized in any way\&. It is recommended that a standards\-based tool such as \fIwmctrl(1)\fR be used whenever possible, in order for scripts to work with other window managers\&.
-.SH "CAVEATS"
-.sp
-\fIfluxbox\-remote(1)\fR uses the X11 protocol to communicate with \fIfluxbox(1)\fR\&. Therefore, it is possible for any user with access to the \fIX(7)\fR server to use \fIfluxbox\-remote(1)\fR\&. For this reason, several key commands have been disabled\&. Users should be aware of the security implications when enabling \fIfluxbox\-remote(1)\fR, especially when using a forwarded \fIX(7)\fR connection\&.
-.SH "RESOURCES"
-.PP
-session\&.screen0\&.allowRemoteActions: <boolean>
-.RS 4
-This resource in ~/\&.fluxbox/init must be set to \(oqtrue\(cq in order for
-\fIfluxbox\-remote(1)\fR
-to function\&. Please read the
-\fBCAVEATS\fR
-first\&.
-.RE
-.SH "ENVIRONMENT"
-.sp
-In order to communicate with \fIfluxbox(1)\fR, the DISPLAY environment variable must be set properly\&. Usually, the value should be \(oq:0\&.0\(cq\&.
-.SH "AUTHORS"
-.sp
-This man page written by Mark Tiefenbruck <mark at fluxbox\&.org>
-.SH "SEE ALSO"
-.sp
-fluxbox(1) fluxbox\-keys(5) wmctrl(1)
-.SH "AUTHOR"
-.PP
-\fBMark Tiefenbruck\fR <\&mark@fluxbox\&.org\&>
-.RS 4
-Author.
-.RE

--- a/doc/fluxbox-remote.1.in
+++ /dev/null
@@ -1,65 +0,0 @@
-'\" t
-.\"     Title: fluxbox-remote
-.\"    Author: Mark Tiefenbruck <mark@fluxbox.org>
-.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 08 February 2015
-.\"    Manual: Fluxbox Manual
-.\"    Source: fluxbox-remote.txt
-.\"  Language: English
-.\"
-.TH "FLUXBOX\-REMOTE" "1" "08 February 2015" "fluxbox\-remote\&.txt" "Fluxbox Manual"
-.\" -----------------------------------------------------------------
-.\" * Define some portability stuff
-.\" -----------------------------------------------------------------
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.\" http://bugs.debian.org/507673
-.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
-.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-.ie \n(.g .ds Aq \(aq
-.el       .ds Aq '
-.\" -----------------------------------------------------------------
-.\" * set default formatting
-.\" -----------------------------------------------------------------
-.\" disable hyphenation
-.nh
-.\" disable justification (adjust text to left margin only)
-.ad l
-.\" -----------------------------------------------------------------
-.\" * MAIN CONTENT STARTS HERE *
-.\" -----------------------------------------------------------------
-.SH "NAME"
-fluxbox-remote \- command line access to key commands for fluxbox(1)
-.SH "SYNOPSIS"
-.sp
-\fBfluxbox\-remote\fR \fIcommand\fR
-.SH "DESCRIPTION"
-.sp
-\fIfluxbox\-remote(1)\fR is designed to allow scripts to execute most key commands from \fIfluxbox(1)\fR\&. \fIfluxbox\-remote(1)\fR will only work with \fIfluxbox(1)\fR: its communications with \fIfluxbox(1)\fR are not standardized in any way\&. It is recommended that a standards\-based tool such as \fIwmctrl(1)\fR be used whenever possible, in order for scripts to work with other window managers\&.
-.SH "CAVEATS"
-.sp
-\fIfluxbox\-remote(1)\fR uses the X11 protocol to communicate with \fIfluxbox(1)\fR\&. Therefore, it is possible for any user with access to the \fIX(7)\fR server to use \fIfluxbox\-remote(1)\fR\&. For this reason, several key commands have been disabled\&. Users should be aware of the security implications when enabling \fIfluxbox\-remote(1)\fR, especially when using a forwarded \fIX(7)\fR connection\&.
-.SH "RESOURCES"
-.PP
-session\&.screen0\&.allowRemoteActions: <boolean>
-.RS 4
-This resource in ~/\&.fluxbox/init must be set to \(oqtrue\(cq in order for
-\fIfluxbox\-remote(1)\fR
-to function\&. Please read the
-\fBCAVEATS\fR
-first\&.
-.RE
-.SH "ENVIRONMENT"
-.sp
-In order to communicate with \fIfluxbox(1)\fR, the DISPLAY environment variable must be set properly\&. Usually, the value should be \(oq:0\&.0\(cq\&.
-.SH "AUTHORS"
-.sp
-This man page written by Mark Tiefenbruck <mark at fluxbox\&.org>
-.SH "SEE ALSO"
-.sp
-fluxbox(1) fluxbox\-keys(5) wmctrl(1)
-.SH "AUTHOR"
-.PP
-\fBMark Tiefenbruck\fR <\&mark@fluxbox\&.org\&>
-.RS 4
-Author.
-.RE

--- a/doc/Makemodule.am
+++ b/doc/Makemodule.am
@@ -5,7 +5,6 @@
 	doc/fluxbox-apps.5 \
 	doc/fluxbox-keys.5 \
 	doc/fluxbox-menu.5 \
-	doc/fluxbox-remote.1 \
 	doc/fluxbox-style.5 \
 	doc/fluxbox.1 \
 	doc/startfluxbox.1
@@ -17,7 +16,6 @@
 	doc/fluxbox-apps.5 \
 	doc/fluxbox-keys.5 \
 	doc/fluxbox-menu.5 \
-	doc/fluxbox-remote.1 \
 	doc/fluxbox-style.5 \
 	doc/fluxbox.1 \
 	doc/startfluxbox.1
@@ -30,7 +28,6 @@
 	doc/fluxbox-apps.5.in \
 	doc/fluxbox-keys.5.in \
 	doc/fluxbox-menu.5.in \
-	doc/fluxbox-remote.1.in \
 	doc/fluxbox-style.5.in \
 	doc/fluxbox.1.in \
 	doc/startfluxbox.1.in