rev |
line source |
pascal@11221
|
1 ########################################
|
pascal@11221
|
2 ## fbpanel configuration file ##
|
pascal@11221
|
3 ########################################
|
pascal@11221
|
4
|
pascal@11221
|
5
|
pascal@11221
|
6 # DESCRIPTION
|
pascal@11221
|
7 # Configuration file consists of mandatory 'Global' block that MUST come first,
|
pascal@11221
|
8 # and optionally one or more 'Plugin' block.
|
pascal@11221
|
9 # Lines having '#' as first non-blank char or blank lines are ignored
|
pascal@11221
|
10 # Keywords are not case-sensitive
|
pascal@11221
|
11 # Values are case-sensitive
|
pascal@11221
|
12 # Value of variable is a text from first non-blank char after '='
|
pascal@11221
|
13 # till the last non-blank char. '#' is NOT treated as coment in this context
|
pascal@11221
|
14
|
pascal@11221
|
15 # 'Global' block describes global parameters like position, size and
|
pascal@11221
|
16 # some NETWM settings
|
pascal@11221
|
17
|
pascal@11221
|
18 # Global {
|
pascal@11221
|
19
|
pascal@11221
|
20 # # screen edge
|
pascal@11221
|
21 # # legal values are: left, right, top, bottom
|
pascal@11221
|
22 # edge = bottom
|
pascal@11221
|
23
|
pascal@11221
|
24 # # allignment of a panel
|
pascal@11221
|
25 # # legal values are: left, right, center
|
pascal@11221
|
26 # allign = left
|
pascal@11221
|
27
|
pascal@11221
|
28 # # length of margin (in pixels)
|
pascal@11221
|
29 # # legal values are numbers
|
pascal@11221
|
30 # margin = 0
|
pascal@11221
|
31
|
pascal@11221
|
32 # # widthtype specifies how panel width is calculated
|
pascal@11221
|
33 # # legal values are: request, pixel, percent
|
pascal@11221
|
34 # # request - follow widgets' size requests. can shrink or grow dynamically
|
pascal@11221
|
35 # # pixel - occupy fixed number of pixels, then 'width' variable holds a number
|
pascal@11221
|
36 # # percent - be 'width' precent of an edge.
|
pascal@11221
|
37 # widthType = percent
|
pascal@11221
|
38
|
pascal@11221
|
39 # # numerical value of width (not applicable for 'request' widthtype)
|
pascal@11221
|
40 # # legal values are numbers
|
pascal@11221
|
41 # width = 80
|
pascal@11221
|
42
|
pascal@11221
|
43 # # heighttype specifies how panel height is calculated
|
pascal@11221
|
44 # # legal values are: pixel
|
pascal@11221
|
45 # # pixel - ocupy fixed number of pixels, then 'height' variable holds a number
|
pascal@11221
|
46 # heightType = pixel
|
pascal@11221
|
47
|
pascal@11221
|
48 # # numerical value of height (if applicable)
|
pascal@11221
|
49 # # legal values are numbers
|
pascal@11221
|
50 # height = 28
|
pascal@11221
|
51
|
pascal@11221
|
52
|
pascal@11221
|
53 # # Identify panel window type as dock
|
pascal@11221
|
54 # # legal values are boolean
|
pascal@11221
|
55 # setDockType = true
|
pascal@11221
|
56
|
pascal@11221
|
57 # # Reserve panel's space so that it will not be covered by maximazied windows
|
pascal@11221
|
58 # # legal values are boolean
|
pascal@11221
|
59 # # setPartialStrut = true
|
pascal@11221
|
60
|
pascal@11221
|
61
|
pascal@11221
|
62 # # Transparency stuff:
|
pascal@11221
|
63 # # tintColor is a color to composite on root background given as #RRGGBB or as name
|
pascal@11221
|
64 # # alpha is transparency of the tint color.
|
pascal@11221
|
65 # # transparent = true
|
pascal@11221
|
66 # # tintColor = #FFFFFF
|
pascal@11221
|
67 # or
|
pascal@11221
|
68 # # tintColor = white
|
pascal@11221
|
69 # # alpha = 127
|
pascal@11221
|
70
|
pascal@11221
|
71 # # Autohide
|
pascal@11221
|
72 # # autoHide = false
|
pascal@11221
|
73 # # heightWhenHidden = 2
|
pascal@11221
|
74
|
pascal@11221
|
75 # }
|
pascal@11221
|
76
|
pascal@11221
|
77
|
pascal@11221
|
78
|
pascal@11221
|
79 # 'Plugin' block specifies a plugin to load. It has same syntax for both
|
pascal@11221
|
80 # builtin and external plugins.
|
pascal@11221
|
81
|
pascal@11221
|
82 # First parameter is 'type'. It's mandatory and must come first
|
pascal@11221
|
83 # Legal values are plugin names. Names of builtin plugins are:
|
pascal@11221
|
84 # separator - visual separator
|
pascal@11221
|
85 # wincmd - 'show desktop' button
|
pascal@11221
|
86 # taskbar - lists all opened windows (tasks)
|
pascal@11221
|
87 # launchbar - bar with launch button
|
pascal@11221
|
88 # image - just shows an image
|
pascal@11221
|
89 # dclock - digital clock
|
pascal@11221
|
90 # space - just seize space
|
pascal@11221
|
91 # pager - thumbnailed view of the desktop
|
pascal@11221
|
92 # tray - tray for XEMBED icons (aka docklets)
|
pascal@11221
|
93
|
pascal@11221
|
94 # expand - specifies if plugin can accomodate extra space or not [optional]
|
pascal@11221
|
95 # padding - extra padding around plugin [optional]
|
pascal@11221
|
96 # config {} - block of plugin's private configuration.
|
pascal@11221
|
97 # This part is plugin dependant
|
pascal@11221
|
98
|
pascal@11221
|
99
|
pascal@11221
|
100 #
|
pascal@11221
|
101 # Plugin {
|
pascal@11221
|
102 # type = wincmd
|
pascal@11221
|
103 # config {
|
pascal@11221
|
104 # image = ~/.fbpanel/images/Desktop2.png
|
pascal@11221
|
105 # tooltip = Left click to iconify all windows. Middle click to shade them.
|
pascal@11221
|
106 # }
|
pascal@11221
|
107 # }
|
pascal@11221
|
108
|
pascal@11221
|
109
|
pascal@11221
|
110 Global {
|
pascal@11221
|
111 edge = bottom
|
pascal@11221
|
112 allign = center
|
pascal@11221
|
113 margin = 0
|
pascal@11221
|
114 widthtype = percent
|
pascal@11221
|
115 width = 86
|
pascal@11221
|
116 height = 24
|
pascal@11221
|
117 transparent = true
|
pascal@11221
|
118 tintcolor = #ffffff
|
pascal@11221
|
119 alpha = 28
|
pascal@11221
|
120 setdocktype = true
|
pascal@11221
|
121 setpartialstrut = true
|
pascal@11221
|
122 autohide = false
|
pascal@11221
|
123 heightWhenHidden = 2
|
pascal@11221
|
124 roundcorners = true
|
pascal@11221
|
125 roundcornersradius = 7
|
pascal@11221
|
126 layer = none
|
pascal@11221
|
127 MaxElemHeight = 32
|
pascal@11221
|
128 }
|
pascal@11221
|
129
|
pascal@11221
|
130
|
pascal@11221
|
131
|
pascal@11221
|
132 Plugin {
|
pascal@11221
|
133 type = space
|
pascal@11221
|
134 config {
|
pascal@11221
|
135 size = 2
|
pascal@11221
|
136 }
|
pascal@11221
|
137 }
|
pascal@11221
|
138
|
pascal@11221
|
139
|
pascal@11221
|
140 Plugin {
|
pascal@11221
|
141 type = menu
|
pascal@11221
|
142 config {
|
pascal@11221
|
143 IconSize = 22
|
pascal@11221
|
144 #icon = start-here
|
pascal@11221
|
145 icon = logo
|
pascal@11221
|
146 systemmenu {
|
pascal@11221
|
147 }
|
pascal@11221
|
148 separator {
|
pascal@11221
|
149 }
|
pascal@11221
|
150 menu {
|
pascal@11221
|
151 name = Computer
|
pascal@11221
|
152 icon = computer
|
pascal@11221
|
153
|
pascal@11221
|
154 item {
|
pascal@11221
|
155 name = Terminal
|
pascal@11221
|
156 icon = terminal
|
pascal@11221
|
157 action = x-terminal
|
pascal@11221
|
158 }
|
pascal@11221
|
159 item {
|
pascal@11221
|
160 name = Lock Display
|
pascal@11221
|
161 icon = gnome-lockscreen
|
pascal@11221
|
162 action = slock
|
pascal@11221
|
163 }
|
pascal@11221
|
164 separator {
|
pascal@11221
|
165 }
|
pascal@11221
|
166 item {
|
pascal@11221
|
167 name = Reboot
|
pascal@11221
|
168 icon = gnome-session-reboot
|
pascal@11221
|
169 action = sudo reboot
|
pascal@11221
|
170 }
|
pascal@11221
|
171 item {
|
pascal@11221
|
172 name = Shutdown
|
pascal@11221
|
173 icon = gnome-session-halt
|
pascal@11221
|
174 action = sudo shutdown -h now
|
pascal@11221
|
175 }
|
pascal@11221
|
176 item {
|
pascal@11221
|
177 name = logout
|
pascal@11221
|
178 icon = gnome-session-logout
|
pascal@11221
|
179 action = /usr/libexec/fbpanel/xlogout
|
pascal@11221
|
180 }
|
pascal@11221
|
181 }
|
pascal@11221
|
182 }
|
pascal@11221
|
183 }
|
pascal@11221
|
184
|
pascal@11221
|
185
|
pascal@11221
|
186
|
pascal@11221
|
187 Plugin {
|
pascal@11221
|
188 type = space
|
pascal@11221
|
189 config {
|
pascal@11221
|
190 size = 15
|
pascal@11221
|
191 }
|
pascal@11221
|
192 }
|
pascal@11221
|
193
|
pascal@11221
|
194
|
pascal@11221
|
195 Plugin {
|
pascal@11221
|
196 type = launchbar
|
pascal@11221
|
197 config {
|
pascal@11221
|
198 button {
|
pascal@11221
|
199 icon = file-manager
|
pascal@11221
|
200 tooltip = File Manager
|
pascal@11221
|
201 action = x-file-manager
|
pascal@11221
|
202 }
|
pascal@11221
|
203 button {
|
pascal@11221
|
204 icon = terminal
|
pascal@11221
|
205 tooltip = Terminal
|
pascal@11221
|
206 action = x-terminal
|
pascal@11221
|
207 }
|
pascal@11221
|
208 button {
|
pascal@11221
|
209 icon = web-browser
|
pascal@11221
|
210 tooltip = Web Browser
|
pascal@11221
|
211 action = x-www-browser
|
pascal@11221
|
212 }
|
pascal@11221
|
213 }
|
pascal@11221
|
214 }
|
pascal@11221
|
215
|
pascal@11221
|
216 Plugin {
|
pascal@11221
|
217 type = space
|
pascal@11221
|
218 config {
|
pascal@11221
|
219 size = 15
|
pascal@11221
|
220 }
|
pascal@11221
|
221 }
|
pascal@11221
|
222
|
pascal@11221
|
223
|
pascal@11221
|
224 Plugin {
|
pascal@11221
|
225 type = wincmd
|
pascal@11221
|
226 config {
|
pascal@11221
|
227 icon = gnome-fs-desktop
|
pascal@11221
|
228 tooltip = Left click to iconify all windows. Middle click to shade them.
|
pascal@11221
|
229 }
|
pascal@11221
|
230 }
|
pascal@11221
|
231
|
pascal@11221
|
232
|
pascal@11221
|
233 Plugin {
|
pascal@11221
|
234 type = space
|
pascal@11221
|
235 config {
|
pascal@11221
|
236 size = 15
|
pascal@11221
|
237 }
|
pascal@11221
|
238 }
|
pascal@11221
|
239
|
pascal@11221
|
240
|
pascal@11221
|
241
|
pascal@11221
|
242 Plugin {
|
pascal@11221
|
243 type = taskbar
|
pascal@11221
|
244 expand = true
|
pascal@11221
|
245 config {
|
pascal@11221
|
246 ShowIconified = true
|
pascal@11221
|
247 ShowMapped = true
|
pascal@11221
|
248 ShowAllDesks = false
|
pascal@11221
|
249 tooltips = true
|
pascal@11221
|
250 IconsOnly = false
|
pascal@11221
|
251 MaxTaskWidth = 150
|
pascal@11221
|
252 }
|
pascal@11221
|
253 }
|
pascal@11221
|
254
|
pascal@11221
|
255
|
pascal@11221
|
256 Plugin {
|
pascal@11221
|
257 type = space
|
pascal@11221
|
258 config {
|
pascal@11221
|
259 size = 15
|
pascal@11221
|
260 }
|
pascal@11221
|
261 }
|
pascal@11221
|
262
|
pascal@11221
|
263 Plugin {
|
pascal@11221
|
264 type = pager
|
pascal@11221
|
265 config {
|
pascal@11221
|
266 showwallpaper = true
|
pascal@11221
|
267 }
|
pascal@11221
|
268 }
|
pascal@11221
|
269
|
pascal@11221
|
270 Plugin {
|
pascal@11221
|
271 type = space
|
pascal@11221
|
272 config {
|
pascal@11221
|
273 size = 10
|
pascal@11221
|
274 }
|
pascal@11221
|
275 }
|
pascal@11221
|
276
|
pascal@11221
|
277 Plugin {
|
pascal@11221
|
278 type = mem
|
pascal@11221
|
279 expand = false
|
pascal@11221
|
280 padding = 2
|
pascal@11221
|
281 config {
|
pascal@11221
|
282 ShowSwap = false
|
pascal@11221
|
283 }
|
pascal@11221
|
284 }
|
pascal@11221
|
285
|
pascal@11221
|
286 Plugin {
|
pascal@11221
|
287 type = cpu
|
pascal@11221
|
288 config {
|
pascal@11221
|
289 Color = green
|
pascal@11221
|
290 }
|
pascal@11221
|
291 }
|
pascal@11221
|
292
|
pascal@11221
|
293 Plugin {
|
pascal@11221
|
294 type = net
|
pascal@11221
|
295 expand = false
|
pascal@11221
|
296 padding = 0
|
pascal@11221
|
297 config {
|
pascal@11221
|
298 #interface = ppp0
|
pascal@11221
|
299 interface = eth0
|
pascal@11221
|
300 # set connection limits to make traffic graph more accurate
|
pascal@11221
|
301 TxLimit = 20
|
pascal@11221
|
302 RxLimit = 190
|
pascal@11221
|
303 TxColor = violet
|
pascal@11221
|
304 RxColor = blue
|
pascal@11221
|
305 }
|
pascal@11221
|
306 }
|
pascal@11221
|
307
|
pascal@11221
|
308
|
pascal@11221
|
309 Plugin {
|
pascal@11221
|
310 type = space
|
pascal@11221
|
311 config {
|
pascal@11221
|
312 size = 10
|
pascal@11221
|
313 }
|
pascal@11221
|
314 }
|
pascal@11221
|
315
|
pascal@11221
|
316 plugin {
|
pascal@11221
|
317 type = volume
|
pascal@11221
|
318 }
|
pascal@11221
|
319
|
pascal@11221
|
320 #plugin {
|
pascal@11221
|
321 # type = battery
|
pascal@11221
|
322 #}
|
pascal@11221
|
323
|
pascal@11221
|
324 Plugin {
|
pascal@11221
|
325 type = tray
|
pascal@11221
|
326 }
|
pascal@11221
|
327
|
pascal@11221
|
328 Plugin {
|
pascal@11221
|
329 type = space
|
pascal@11221
|
330 config {
|
pascal@11221
|
331 size = 10
|
pascal@11221
|
332 }
|
pascal@11221
|
333 }
|
pascal@11221
|
334
|
pascal@11221
|
335 # Digital Clock
|
pascal@11221
|
336 Plugin {
|
pascal@11221
|
337 type = dclock
|
pascal@11221
|
338 config {
|
pascal@11221
|
339 ShowSeconds = false
|
pascal@11221
|
340 HoursView = 24
|
pascal@11221
|
341 TooltipFmt = %A %x
|
pascal@11221
|
342 #Action = xmessage Please define some command &
|
pascal@11221
|
343 }
|
pascal@11221
|
344 }
|
pascal@11221
|
345
|
pascal@11221
|
346 # Text Clock
|
pascal@11221
|
347 # ClockFmt: (string) Clock format string. May contain strftime conversion
|
pascal@11221
|
348 # specifications and Pango markup information.
|
pascal@11221
|
349 # TooltipFmt: (string) Tooltip format string.
|
pascal@11221
|
350 # Action: (string) Shell command to execute when clock is clicked.
|
pascal@11221
|
351 # ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
|
pascal@11221
|
352 # clicked. Only valid if Action is unset.
|
pascal@11221
|
353 # ShowTooltip: (boolean) Show tooltip for clock.
|
pascal@11221
|
354 #Plugin {
|
pascal@11221
|
355 # type = tclock
|
pascal@11221
|
356 # config {
|
pascal@11221
|
357 # ClockFmt = <b>%I:%M</b>
|
pascal@11221
|
358 # # 2 line view, time in bold above and date below
|
pascal@11221
|
359 # # ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P
%a %B %-e</span>
|
pascal@11221
|
360 # TooltipFmt = %A %x
|
pascal@11221
|
361 # #Action = xmessage Please define some command &
|
pascal@11221
|
362 # ShowCalendar = false
|
pascal@11221
|
363 # ShowTooltip = true
|
pascal@11221
|
364 # }
|
pascal@11221
|
365 #}
|
pascal@11221
|
366
|
pascal@11221
|
367 # 'icons' plugin lets you customize window icons.
|
pascal@11221
|
368 # these changes apply to entire desktop
|
pascal@11221
|
369 Plugin {
|
pascal@11221
|
370 type = icons
|
pascal@11221
|
371 config {
|
pascal@11221
|
372 DefaultIcon = /usr/share/fbpanel/images/default.xpm
|
pascal@11221
|
373 application {
|
pascal@11221
|
374 icon = gnome-terminal
|
pascal@11221
|
375 ClassName = XTerm
|
pascal@11221
|
376 }
|
pascal@11221
|
377 application {
|
pascal@11221
|
378 icon = gnome-terminal
|
pascal@11221
|
379 ClassName = mlterm
|
pascal@11221
|
380 }
|
pascal@11221
|
381 application {
|
pascal@11221
|
382 icon = gnome-terminal
|
pascal@11221
|
383 ClassName = URxvt
|
pascal@11221
|
384 }
|
pascal@11221
|
385 application {
|
pascal@11221
|
386 icon = gnome-emacs
|
pascal@11221
|
387 ClassName = Emacs
|
pascal@11221
|
388 }
|
pascal@11221
|
389 application {
|
pascal@11221
|
390 icon = mozilla-firefox
|
pascal@11221
|
391 ClassName = Firefox-bin
|
pascal@11221
|
392 }
|
pascal@11221
|
393 application {
|
pascal@11221
|
394 icon = mozilla-firefox
|
pascal@11221
|
395 ClassName = Firefox
|
pascal@11221
|
396 }
|
pascal@11221
|
397 }
|
pascal@11221
|
398 }
|