-
Notifications
You must be signed in to change notification settings - Fork 0
/
fbsetbg.html
169 lines (112 loc) · 3.36 KB
/
fbsetbg.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content=
"HTML Tidy for OpenBSD (vers 1st March 2005), see www.w3.org">
<title>fbsetbg</title>
<meta http-equiv="Content-Type" content=
"text/html; charset=us-ascii">
<link rel="STYLESHEET" href=
"docbook.css" type="text/css">
</head>
<body>
<h1>fbsetbg</h1>
<h3>A new application</h3>Because of the many problems with
bsetbg I wrote fbsetbg. fbsetbg is a wrapper that tries to find
a suitable background-setting app and then tries to set the
wallpaper using that app. You don't have to configure
fbsetbg. It just uses the first app it can find.<br>
Furthermore it provides clear error messages that will make
debugging problems a lot easier.
<h3>What fbsetbg needs</h3>fbsetbg discriminates and prefers to
use apps in this order:
<table border="1">
<tr>
<th>Application</th>
<th>Provided by</th>
<th>Transparency</th>
<th>Notes</th>
</tr>
<tr>
<td align="center">Esetroot</td>
<td align="center">Eterm</td>
<td align="center">yes</td>
<td>Don't build it yourself</td>
</tr>
<tr>
<td align="center">feh</td>
<td align="center">feh</td>
<td align="center">yes</td>
<td>no imagerendering</td>
</tr>
<tr>
<td align="center">wmsetbg</td>
<td align="center">WindowMaker</td>
<td align="center">yes</td>
<td></td>
</tr>
<tr>
<td align="center">xsri</td>
<td align="center">xsri</td>
<td align="center">yes</td>
<td>Only on RedHat</td>
</tr>
<tr>
<td align="center">chbg</td>
<td align="center">chbg</td>
<td align="center">yes</td>
<td>Doesn't return 1 on error</td>
</tr>
<tr>
<td align="center">display</td>
<td align="center">ImageMagick</td>
<td align="center">no</td>
<td></td>
</tr>
<tr>
<td align="center">qiv</td>
<td align="center">qiv</td>
<td align="center">no</td>
<td></td>
</tr>
<tr>
<td align="center">xv</td>
<td align="center">xv</td>
<td align="center">no</td>
<td>Huge and slow</td>
</tr>
<tr>
<td align="center">xsetroot</td>
<td align="center">xli</td>
<td align="center">no</td>
<td></td>
</tr>
<tr>
<td align="center">xli</td>
<td align="center">xli</td>
<td align="center">no</td>
<td></td>
</tr>
<tr>
<td align="center">xsetbg</td>
<td align="center">xli</td>
<td align="center">no</td>
<td></td>
</tr>
</table>
<p>Since we all want transparency for the menu nowadays I
recommend you install feh.</p>
<h3>Testing fbsetbg</h3>To test if everything works as planned
you can use: <tt class="FILENAME">fbsetbg -i</tt> from a term.
<h3>A new wallpaper every 10 minutes</h3>If you want to have a
random wallpaper every 10 minutes execute the command <tt class=
"FILENAME">crontab -e</tt> and then add a line like this:
<pre>
*/10 * * * * DISPLAY=:0.0 /usr/local/bin/fbsetbg -R /path/to/your/wallpaperdirectory
</pre>
<p><br>
<a href="http://validator.w3.org/check/referer"><img border="0"
src="http://homepage.boetes.org/.data/valid-html401.png" alt=
"Valid HTML 4.01!" height="31" width="88"></a></p>
</body>
</html>