wok-undigest rev 234
Add fbpanel
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Mar 18 13:38:25 2011 +0100 (2011-03-18) |
parents | 1fe96ef0a73f |
children | 47afe17bd3c7 |
files | fbpanel/receipt fbpanel/stuff/default |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/fbpanel/receipt Fri Mar 18 13:38:25 2011 +0100 1.3 @@ -0,0 +1,31 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="fbpanel" 1.7 +VERSION="6.1" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Fbpanel is a lightweight GTK2-based panel for UNIX desktop." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+" 1.12 +BUILD_DEPENDS="gtk+-dev" 1.13 +TARBALL="$PACKAGE-$VERSION.tbz2" 1.14 +WEB_SITE="http://fbpanel.sourceforge.net/" 1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.16 +#http://sunet.dl.sourceforge.net/project/fbpanel/fbpanel/6.1/fbpanel-6.1.tbz2 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + cd $src 1.22 + ./configure && make && make install 1.23 +} 1.24 + 1.25 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.26 +genpkg_rules() 1.27 +{ 1.28 + mkdir -p $fs/usr 1.29 + cp -a $_pkg/usr/bin $fs/usr 1.30 + cp -a $_pkg/usr/lib $fs/usr 1.31 + cp -a $_pkg/usr/share $fs/usr 1.32 + # Custom config file 1.33 + cp -a $stuff/default $fs/usr/share/fbpanel 1.34 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/fbpanel/stuff/default Fri Mar 18 13:38:25 2011 +0100 2.3 @@ -0,0 +1,398 @@ 2.4 +######################################## 2.5 +## fbpanel configuration file ## 2.6 +######################################## 2.7 + 2.8 + 2.9 +# DESCRIPTION 2.10 +# Configuration file consists of mandatory 'Global' block that MUST come first, 2.11 +# and optionally one or more 'Plugin' block. 2.12 +# Lines having '#' as first non-blank char or blank lines are ignored 2.13 +# Keywords are not case-sensitive 2.14 +# Values are case-sensitive 2.15 +# Value of variable is a text from first non-blank char after '=' 2.16 +# till the last non-blank char. '#' is NOT treated as coment in this context 2.17 + 2.18 +# 'Global' block describes global parameters like position, size and 2.19 +# some NETWM settings 2.20 + 2.21 +# Global { 2.22 + 2.23 +# # screen edge 2.24 +# # legal values are: left, right, top, bottom 2.25 +# edge = bottom 2.26 + 2.27 +# # allignment of a panel 2.28 +# # legal values are: left, right, center 2.29 +# allign = left 2.30 + 2.31 +# # length of margin (in pixels) 2.32 +# # legal values are numbers 2.33 +# margin = 0 2.34 + 2.35 +# # widthtype specifies how panel width is calculated 2.36 +# # legal values are: request, pixel, percent 2.37 +# # request - follow widgets' size requests. can shrink or grow dynamically 2.38 +# # pixel - occupy fixed number of pixels, then 'width' variable holds a number 2.39 +# # percent - be 'width' precent of an edge. 2.40 +# widthType = percent 2.41 + 2.42 +# # numerical value of width (not applicable for 'request' widthtype) 2.43 +# # legal values are numbers 2.44 +# width = 80 2.45 + 2.46 +# # heighttype specifies how panel height is calculated 2.47 +# # legal values are: pixel 2.48 +# # pixel - ocupy fixed number of pixels, then 'height' variable holds a number 2.49 +# heightType = pixel 2.50 + 2.51 +# # numerical value of height (if applicable) 2.52 +# # legal values are numbers 2.53 +# height = 28 2.54 + 2.55 + 2.56 +# # Identify panel window type as dock 2.57 +# # legal values are boolean 2.58 +# setDockType = true 2.59 + 2.60 +# # Reserve panel's space so that it will not be covered by maximazied windows 2.61 +# # legal values are boolean 2.62 +# # setPartialStrut = true 2.63 + 2.64 + 2.65 +# # Transparency stuff: 2.66 +# # tintColor is a color to composite on root background given as #RRGGBB or as name 2.67 +# # alpha is transparency of the tint color. 2.68 +# # transparent = true 2.69 +# # tintColor = #FFFFFF 2.70 +# or 2.71 +# # tintColor = white 2.72 +# # alpha = 127 2.73 + 2.74 +# # Autohide 2.75 +# # autoHide = false 2.76 +# # heightWhenHidden = 2 2.77 + 2.78 +# } 2.79 + 2.80 + 2.81 + 2.82 +# 'Plugin' block specifies a plugin to load. It has same syntax for both 2.83 +# builtin and external plugins. 2.84 + 2.85 +# First parameter is 'type'. It's mandatory and must come first 2.86 +# Legal values are plugin names. Names of builtin plugins are: 2.87 +# separator - visual separator 2.88 +# wincmd - 'show desktop' button 2.89 +# taskbar - lists all opened windows (tasks) 2.90 +# launchbar - bar with launch button 2.91 +# image - just shows an image 2.92 +# dclock - digital clock 2.93 +# space - just seize space 2.94 +# pager - thumbnailed view of the desktop 2.95 +# tray - tray for XEMBED icons (aka docklets) 2.96 + 2.97 +# expand - specifies if plugin can accomodate extra space or not [optional] 2.98 +# padding - extra padding around plugin [optional] 2.99 +# config {} - block of plugin's private configuration. 2.100 +# This part is plugin dependant 2.101 + 2.102 + 2.103 +# 2.104 +# Plugin { 2.105 +# type = wincmd 2.106 +# config { 2.107 +# image = ~/.fbpanel/images/Desktop2.png 2.108 +# tooltip = Left click to iconify all windows. Middle click to shade them. 2.109 +# } 2.110 +# } 2.111 + 2.112 + 2.113 +Global { 2.114 + edge = bottom 2.115 + allign = center 2.116 + margin = 0 2.117 + widthtype = percent 2.118 + width = 86 2.119 + height = 24 2.120 + transparent = true 2.121 + tintcolor = #ffffff 2.122 + alpha = 28 2.123 + setdocktype = true 2.124 + setpartialstrut = true 2.125 + autohide = false 2.126 + heightWhenHidden = 2 2.127 + roundcorners = true 2.128 + roundcornersradius = 7 2.129 + layer = none 2.130 + MaxElemHeight = 32 2.131 +} 2.132 + 2.133 + 2.134 + 2.135 +Plugin { 2.136 + type = space 2.137 + config { 2.138 + size = 2 2.139 + } 2.140 +} 2.141 + 2.142 + 2.143 +Plugin { 2.144 + type = menu 2.145 + config { 2.146 + IconSize = 22 2.147 + #icon = start-here 2.148 + icon = logo 2.149 + systemmenu { 2.150 + } 2.151 + separator { 2.152 + } 2.153 + menu { 2.154 + name = Computer 2.155 + icon = computer 2.156 + 2.157 + item { 2.158 + name = Terminal 2.159 + icon = terminal 2.160 + action = x-terminal 2.161 + } 2.162 + item { 2.163 + name = Lock Display 2.164 + icon = gnome-lockscreen 2.165 + action = slock 2.166 + } 2.167 + separator { 2.168 + } 2.169 + item { 2.170 + name = Reboot 2.171 + icon = gnome-session-reboot 2.172 + action = sudo reboot 2.173 + } 2.174 + item { 2.175 + name = Shutdown 2.176 + icon = gnome-session-halt 2.177 + action = sudo shutdown -h now 2.178 + } 2.179 + item { 2.180 + name = logout 2.181 + icon = gnome-session-logout 2.182 + action = /usr/libexec/fbpanel/xlogout 2.183 + } 2.184 + } 2.185 + } 2.186 +} 2.187 + 2.188 + 2.189 + 2.190 +Plugin { 2.191 + type = space 2.192 + config { 2.193 + size = 15 2.194 + } 2.195 +} 2.196 + 2.197 + 2.198 +Plugin { 2.199 + type = launchbar 2.200 + config { 2.201 + button { 2.202 + icon = file-manager 2.203 + tooltip = File Manager 2.204 + action = x-file-manager 2.205 + } 2.206 + button { 2.207 + icon = terminal 2.208 + tooltip = Terminal 2.209 + action = x-terminal 2.210 + } 2.211 + button { 2.212 + icon = web-browser 2.213 + tooltip = Web Browser 2.214 + action = x-www-browser 2.215 + } 2.216 + } 2.217 +} 2.218 + 2.219 +Plugin { 2.220 + type = space 2.221 + config { 2.222 + size = 15 2.223 + } 2.224 +} 2.225 + 2.226 + 2.227 +Plugin { 2.228 + type = wincmd 2.229 + config { 2.230 + icon = gnome-fs-desktop 2.231 + tooltip = Left click to iconify all windows. Middle click to shade them. 2.232 + } 2.233 +} 2.234 + 2.235 + 2.236 +Plugin { 2.237 + type = space 2.238 + config { 2.239 + size = 15 2.240 + } 2.241 +} 2.242 + 2.243 + 2.244 + 2.245 +Plugin { 2.246 + type = taskbar 2.247 + expand = true 2.248 + config { 2.249 + ShowIconified = true 2.250 + ShowMapped = true 2.251 + ShowAllDesks = false 2.252 + tooltips = true 2.253 + IconsOnly = false 2.254 + MaxTaskWidth = 150 2.255 + } 2.256 +} 2.257 + 2.258 + 2.259 +Plugin { 2.260 + type = space 2.261 + config { 2.262 + size = 15 2.263 + } 2.264 +} 2.265 + 2.266 +Plugin { 2.267 + type = pager 2.268 + config { 2.269 + showwallpaper = true 2.270 + } 2.271 +} 2.272 + 2.273 +Plugin { 2.274 + type = space 2.275 + config { 2.276 + size = 10 2.277 + } 2.278 +} 2.279 + 2.280 +Plugin { 2.281 + type = mem 2.282 + expand = false 2.283 + padding = 2 2.284 + config { 2.285 + ShowSwap = false 2.286 + } 2.287 +} 2.288 + 2.289 +Plugin { 2.290 + type = cpu 2.291 + config { 2.292 + Color = green 2.293 + } 2.294 +} 2.295 + 2.296 +Plugin { 2.297 + type = net 2.298 + expand = false 2.299 + padding = 0 2.300 + config { 2.301 + #interface = ppp0 2.302 + interface = eth0 2.303 + # set connection limits to make traffic graph more accurate 2.304 + TxLimit = 20 2.305 + RxLimit = 190 2.306 + TxColor = violet 2.307 + RxColor = blue 2.308 + } 2.309 +} 2.310 + 2.311 + 2.312 +Plugin { 2.313 + type = space 2.314 + config { 2.315 + size = 10 2.316 + } 2.317 +} 2.318 + 2.319 +plugin { 2.320 + type = volume 2.321 +} 2.322 + 2.323 +#plugin { 2.324 +# type = battery 2.325 +#} 2.326 + 2.327 +Plugin { 2.328 + type = tray 2.329 +} 2.330 + 2.331 +Plugin { 2.332 + type = space 2.333 + config { 2.334 + size = 10 2.335 + } 2.336 +} 2.337 + 2.338 +# Digital Clock 2.339 +Plugin { 2.340 + type = dclock 2.341 + config { 2.342 + ShowSeconds = false 2.343 + HoursView = 24 2.344 + TooltipFmt = %A %x 2.345 + #Action = xmessage Please define some command & 2.346 + } 2.347 +} 2.348 + 2.349 +# Text Clock 2.350 +# ClockFmt: (string) Clock format string. May contain strftime conversion 2.351 +# specifications and Pango markup information. 2.352 +# TooltipFmt: (string) Tooltip format string. 2.353 +# Action: (string) Shell command to execute when clock is clicked. 2.354 +# ShowCalendar: (boolean) Show a GTK calendar widget when the clock is 2.355 +# clicked. Only valid if Action is unset. 2.356 +# ShowTooltip: (boolean) Show tooltip for clock. 2.357 +#Plugin { 2.358 +# type = tclock 2.359 +# config { 2.360 +# ClockFmt = <b>%I:%M</b> 2.361 +# # 2 line view, time in bold above and date below 2.362 +# # ClockFmt = <span font="Sans 8"><b>%-l:%M</b> %P
%a %B %-e</span> 2.363 +# TooltipFmt = %A %x 2.364 +# #Action = xmessage Please define some command & 2.365 +# ShowCalendar = false 2.366 +# ShowTooltip = true 2.367 +# } 2.368 +#} 2.369 + 2.370 +# 'icons' plugin lets you customize window icons. 2.371 +# these changes apply to entire desktop 2.372 +Plugin { 2.373 + type = icons 2.374 + config { 2.375 + DefaultIcon = /usr/share/fbpanel/images/default.xpm 2.376 + application { 2.377 + icon = gnome-terminal 2.378 + ClassName = XTerm 2.379 + } 2.380 + application { 2.381 + icon = gnome-terminal 2.382 + ClassName = mlterm 2.383 + } 2.384 + application { 2.385 + icon = gnome-terminal 2.386 + ClassName = URxvt 2.387 + } 2.388 + application { 2.389 + icon = gnome-emacs 2.390 + ClassName = Emacs 2.391 + } 2.392 + application { 2.393 + icon = mozilla-firefox 2.394 + ClassName = Firefox-bin 2.395 + } 2.396 + application { 2.397 + icon = mozilla-firefox 2.398 + ClassName = Firefox 2.399 + } 2.400 + } 2.401 +}