Advertisement
Guest User

FBpanel config

a guest
Sep 11th, 2012
396
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.42 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 = top
  112. allign = left
  113. margin = 0
  114. widthtype = percent
  115. width = 100
  116. height = 24
  117. transparent = false
  118. tintcolor = #ffffff
  119. setdocktype = true
  120. setpartialstrut = true
  121. autohide = false
  122. heightWhenHidden = 2
  123. roundcorners = false
  124. layer = none
  125. }
  126.  
  127.  
  128.  
  129. Plugin {
  130. type = space
  131. config {
  132. size = 2
  133. }
  134. }
  135.  
  136.  
  137. Plugin {
  138. type = menu
  139. config {
  140. IconSize = 22
  141. #icon = start-here
  142. # Use a nice Debian logo for the menu list ;-)
  143. image = /home/tartan/.icons/Faenza/places/22/distributor-logo-ubuntu.png
  144. systemmenu {
  145. }
  146. separator {
  147. }
  148. menu {
  149. name = Computer
  150. icon = computer
  151.  
  152. item {
  153. name = Terminal
  154. icon = terminal
  155. action = x-terminal-emulator
  156. }
  157. item {
  158. name = Lock Display
  159. icon = gnome-lockscreen
  160. action = slock
  161. }
  162. separator {
  163. }
  164. item {
  165. name = Reboot
  166. icon = gnome-session-reboot
  167. action = sudo reboot
  168. }
  169. item {
  170. name = Shutdown
  171. icon = gnome-session-halt
  172. action = sudo shutdown -h now
  173. }
  174. item {
  175. name = logout
  176. icon = gnome-session-logout
  177. action = /usr/lib/fbpanel/fbpanel/xlogout
  178. }
  179. }
  180. }
  181. }
  182.  
  183.  
  184.  
  185. Plugin {
  186. type = space
  187. config {
  188. size = 8
  189. }
  190. }
  191.  
  192.  
  193. Plugin {
  194. type = launchbar
  195. config {
  196. button {
  197. icon = file-manager
  198. tooltip = File Manager
  199. action = thunar
  200. }
  201. button {
  202. icon = terminal
  203. tooltip = Terminal
  204. action = urxvt
  205. }
  206. button {
  207. icon = firefox
  208. tooltip = Firefox
  209. action = firefox
  210. }
  211. button {
  212. icon = chromium-browser
  213. tooltip = Chromium
  214. action = chromium-browser
  215. }
  216. button {
  217. icon = gajim
  218. tooltip = Gajim
  219. action = gajim
  220. }
  221. button {
  222. icon = thunderbird
  223. tooltip = Thunderbird
  224. action = thunderbird
  225. }
  226. button {
  227. icon = evince
  228. tooltip = Evince
  229. action = evince
  230. }
  231. }
  232. }
  233.  
  234. Plugin {
  235. type = space
  236. config {
  237. size = 8
  238. }
  239. }
  240.  
  241. Plugin {
  242. type = taskbar
  243. expand = true
  244. config {
  245. ShowIconified = true
  246. ShowMapped = true
  247. ShowAllDesks = false
  248. tooltips = true
  249. IconsOnly = false
  250. MaxTaskWidth = 150
  251. }
  252. }
  253.  
  254.  
  255. Plugin {
  256. type = space
  257. config {
  258. size = 8
  259. }
  260. }
  261.  
  262. Plugin {
  263. type = space
  264. config {
  265. size = 10
  266. }
  267. }
  268.  
  269. Plugin {
  270. type = space
  271. config {
  272. size = 10
  273. }
  274. }
  275.  
  276. #plugin {
  277. # type = battery
  278. #}
  279.  
  280. Plugin {
  281. type = tray
  282. }
  283.  
  284. Plugin {
  285. type = space
  286. config {
  287. size = 10
  288. }
  289. }
  290.  
  291. # Digital Clock
  292. #Plugin {
  293. # type = dclock
  294. # config {
  295. # ShowSeconds = false
  296. # HoursView = 24
  297. # TooltipFmt = %A %x
  298. # #Action = xmessage Please define some command &
  299. # }
  300. #}
  301.  
  302. # Text Clock
  303. # ClockFmt: (string) Clock format string. May contain strftime conversion
  304. # specifications and Pango markup information.
  305. # TooltipFmt: (string) Tooltip format string.
  306. # Action: (string) Shell command to execute when clock is clicked.
  307. # ShowCalendar: (boolean) Show a GTK calendar widget when the clock is
  308. # clicked. Only valid if Action is unset.
  309. # ShowTooltip: (boolean) Show tooltip for clock.
  310. Plugin {
  311. type = tclock
  312. config {
  313. #ClockFmt = <b>%I:%M</b>
  314. # 2 line view, time in bold above and date below
  315. ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P&#xA;%a %B %-e</span>
  316. TooltipFmt = %A %x
  317. #Action = xmessage Please define some command &
  318. ShowCalendar = false
  319. ShowTooltip = true
  320. }
  321. }
  322.  
  323. # 'icons' plugin lets you customize window icons.
  324. # these changes apply to entire desktop
  325. Plugin {
  326. type = icons
  327. config {
  328. DefaultIcon = /usr/share/fbpanel/images/default.xpm
  329. application {
  330. icon = gnome-terminal
  331. ClassName = XTerm
  332. }
  333. application {
  334. icon = gnome-terminal
  335. ClassName = mlterm
  336. }
  337. application {
  338. icon = gnome-terminal
  339. ClassName = URxvt
  340. }
  341. application {
  342. icon = gnome-emacs
  343. ClassName = Emacs
  344. }
  345. application {
  346. icon = mozilla-firefox
  347. ClassName = Firefox-bin
  348. }
  349. application {
  350. icon = mozilla-firefox
  351. ClassName = Firefox
  352. }
  353. }
  354. }
  355.  
  356. Plugin {
  357. type = wincmd
  358. config {
  359. icon = gnome-fs-desktop
  360. tooltip = Left click to iconify all windows. Middle click to shade them.
  361. }
  362. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement