File tree Expand file tree Collapse file tree 6 files changed +1095
-0
lines changed
Expand file tree Collapse file tree 6 files changed +1095
-0
lines changed Original file line number Diff line number Diff line change 1+ /xssproxy
2+ /xssproxy.1.gz
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1+ bindir = /usr/local/bin
2+ man1dir = /usr/local/share/man/man1
3+
4+ CFLAGS = -std=c11 -Wall -pedantic -g -O3
5+ CFLAGS_ALL = ` pkg-config --cflags --libs glib-2.0 x11 xscrnsaver dbus-1 ` $(CFLAGS )
6+
7+ .PHONY : all
8+ all : xssproxy xssproxy.1.gz
9+
10+ xssproxy : xssproxy.c
11+ $(CC ) -o xssproxy xssproxy.c $(CFLAGS_ALL ) $(CPPFLAGS ) $(LDFLAGS )
12+
13+ xssproxy.1.gz : man/xssproxy.1
14+ gzip -c man/xssproxy.1 > xssproxy.1.gz
15+
16+ install : xssproxy xssproxy.1.gz
17+ install -D xssproxy $(DESTDIR )$(bindir ) /xssproxy
18+ install -D -m644 xssproxy.1.gz $(DESTDIR )$(man1dir ) /xssproxy.1.gz
19+
20+ .PHONY : uninstall
21+ uninstall :
22+ $(RM ) $(DESTDIR )$(bindir ) /xssproxy
23+ $(RM ) $(DESTDIR )$(man1dir ) /xssproxy.1.gz
24+
25+ .PHONY : clean
26+ clean :
27+ $(RM ) xssproxy
28+ $(RM ) xssproxy.1.gz
Original file line number Diff line number Diff line change 1+ # xssproxy
2+
3+ Forward freedesktop.org Idle Inhibition Service calls to Xss
4+
5+ ## Description
6+
7+ xssproxy implements the * org.freedesktop.ScreenSaver* D-Bus interface described
8+ in the [ Idle Inhibition Service Draft] [ idle-inhibition ] by the freedesktop.org
9+ developers.
10+ The inhibition of the screensaver is then controlled using the
11+ ` XScreenSaverSuspend ` function from the
12+ [ Xss (X11 Screen Saver extension) library] [ xss ] .
13+
14+ ## Usage
15+
16+ To use run in your * ~ /.xinitrc* file.
17+ The program doesn't return so you need to run it in the background.
18+
19+ xssproxy &
20+
21+ ## License
22+
23+ Copyright (C) 2017 Tim Schumacher
24+
25+ License GPLv3+: GNU GPL version 3 or later < http://gnu.org/licenses/gpl.html > .
26+
27+ This is free software: you are free to change and redistribute it.
28+ There is NO WARRANTY, to the extent per‐mitted by law.
29+
30+ [ idle-inhibition ] : https://people.freedesktop.org/~hadess/idle-inhibition-spec/index.html
31+ [ xss ] : https://www.x.org/releases/X11R7.6/doc/man/man3/Xss.3.xhtml
Original file line number Diff line number Diff line change 1+ .TH XSSPROXY 1
2+ .SH NAME
3+ xssproxy \- forward freedesktop.org Idle Inhibition Service calls to Xss
4+ .SH SYNOPSIS
5+ .B xssproxy
6+ [-v]
7+ .SH DESCRIPTION
8+ .B xssproxy
9+ implements the
10+ .I org.freedesktop.ScreenSaver
11+ D-Bus interface described in the Idle Inhibition Service Draft by the
12+ freedesktop.org developers.
13+ The inhibition of the screensaver is then controlled using the
14+ .I XScreenSaverSuspend
15+ function from the Xss (X11 Screen Saver extension) library.
16+ .SH OPTIONS
17+ .TP
18+ .B -v --verbose
19+ print messages when receiving inhibition requests
20+ .TP
21+ .B --version
22+ print version information and exit
23+ .SH EXAMPLES
24+ To use run in your
25+ .I ~/.xinitrc
26+ file.
27+ The program doesn't return so you need to run it in the background.
28+ .IP
29+ xssproxy &
30+ .SH AUTHOR
31+ Written by Tim Schumacher.
32+ .SH REPORTING BUGS
33+ Report bugs at the GitHub issue tracker
34+ <https://github.com/timakro/xssproxy/issues>.
35+ .SH COPYRIGHT
36+ Copyright (C) 2017 Tim Schumacher
37+ .PP
38+ License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
39+ .PP
40+ This is free software: you are free to change and redistribute it.
41+ There is NO WARRANTY, to the extent per‐mitted by law.
You can’t perform that action at this time.
0 commit comments