Advertisement
cesarzeta

fbpanel

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