wok rev 341

lxpanel for a Freedesktop standar menu and useful applets
author Christophe Lincoln <pankso@slitaz.org>
date Wed Mar 05 16:01:49 2008 +0100 (2008-03-05)
parents d6b1113794bc
children 0626438e868b
files lxpanel/receipt lxpanel/stuff/default/config
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lxpanel/receipt	Wed Mar 05 16:01:49 2008 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lxpanel"
     1.7 +VERSION="0.2.6"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Standard compliant desktop panel."
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +DEPENDS="gtk+ slitaz-menus"
    1.12 +BUILD_DEPENDS="gtk+-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://lxde.sourceforge.net/"
    1.15 +WGET_URL="$SF_MIRROR/lxde/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure \
    1.22 +		--prefix=/usr \
    1.23 +		$CONFIGURE_ARGS
    1.24 +	make
    1.25 +	make DESTDIR=$PWD/_pkg install
    1.26 +}
    1.27 +
    1.28 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.29 +genpkg_rules()
    1.30 +{
    1.31 +    mkdir -p $fs/usr/share
    1.32 +    cp -a $_pkg/usr/bin $fs/usr
    1.33 +    cp -a $_pkg/usr/lib $fs/usr
    1.34 +    cp -a $_pkg/usr/share/lxpanel $fs/usr/share
    1.35 +    # Remove a few "heavy" an unseful images
    1.36 +    rm $fs/usr/share/lxpanel/images/*.svg
    1.37 +    # Default config
    1.38 +    mv $fs/usr/share/lxpanel/profile/default \
    1.39 +    	$fs/usr/share/lxpanel/profile/original
    1.40 +    cp -a stuff/default $fs/usr/share/lxpanel/profile/
    1.41 +}
    1.42 +
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/lxpanel/stuff/default/config	Wed Mar 05 16:01:49 2008 +0100
     2.3 @@ -0,0 +1,150 @@
     2.4 +# lxpanel <profile> config file
     2.5 +# see http://lxpanel.sf.net/docs.html for complete configuration guide
     2.6 +Global {
     2.7 +    edge = bottom
     2.8 +    allign = center
     2.9 +    margin = 0
    2.10 +    widthtype = percent
    2.11 +    width = 60
    2.12 +    height = 26
    2.13 +    transparent = false
    2.14 +    tintcolor = #000000
    2.15 +    alpha = 121
    2.16 +    setdocktype = true
    2.17 +    setpartialstrut = true
    2.18 +    useFontColor = true
    2.19 +    FontColor = #111111
    2.20 +    Background = false
    2.21 +    BackgroundFile = /usr/share/lxpanel/images/background.png
    2.22 +    FileManager = emelfm2
    2.23 +    Terminal = xterm
    2.24 +    LogoutCommand = jwm -exit
    2.25 +}
    2.26 +
    2.27 +Plugin {
    2.28 +    type = space
    2.29 +    Config {
    2.30 +        Size = 2
    2.31 +    }
    2.32 +}
    2.33 +
    2.34 +Plugin {
    2.35 +    type = menu
    2.36 +    Config {
    2.37 +        image = /usr/share/pixmaps/slitaz-menu.png
    2.38 +        system {
    2.39 +        }
    2.40 +        separator {
    2.41 +        }
    2.42 +        item {
    2.43 +            image = /usr/share/icons/Tango/jwm/applications-other.png
    2.44 +            command = run
    2.45 +        }
    2.46 +        item {
    2.47 +            image = /usr/share/icons/Tango/jwm/preferences-desktop.png
    2.48 +            command = configure
    2.49 +        }
    2.50 +        separator {
    2.51 +        }
    2.52 +        item {
    2.53 +            image = gnome-logout
    2.54 +            command = logout
    2.55 +        }
    2.56 +    }
    2.57 +}
    2.58 +
    2.59 +Plugin {
    2.60 +    type = launchbar
    2.61 +    Config {
    2.62 +        Button {
    2.63 +            id = emelfm2.desktop
    2.64 +        }
    2.65 +        Button {
    2.66 +            id = xterm.desktop
    2.67 +        }
    2.68 +        Button {
    2.69 +            id = firefox.desktop
    2.70 +        }
    2.71 +    }
    2.72 +}
    2.73 +
    2.74 +Plugin {
    2.75 +    type = space
    2.76 +    Config {
    2.77 +        Size = 4
    2.78 +    }
    2.79 +}
    2.80 +
    2.81 +Plugin {
    2.82 +    type = wincmd
    2.83 +    Config {
    2.84 +        Button1 = iconify
    2.85 +        Button2 = shade
    2.86 +    }
    2.87 +}
    2.88 +
    2.89 +Plugin {
    2.90 +    type = space
    2.91 +    Config {
    2.92 +        Size = 4
    2.93 +    }
    2.94 +}
    2.95 +
    2.96 +Plugin {
    2.97 +    type = deskno
    2.98 +}
    2.99 +
   2.100 +Plugin {
   2.101 +    type = space
   2.102 +    Config {
   2.103 +        Size = 2
   2.104 +    }
   2.105 +}
   2.106 +
   2.107 +Plugin {
   2.108 +    type = taskbar
   2.109 +    expand = true
   2.110 +    Config {
   2.111 +        tooltips = true
   2.112 +        IconsOnly = false
   2.113 +        AcceptSkipPager = true
   2.114 +        ShowIconified = true
   2.115 +        ShowMapped = true
   2.116 +        ShowAllDesks = false
   2.117 +        UseMouseWheel = true
   2.118 +        UseUrgencyHint = true
   2.119 +        MaxTaskWidth = 150
   2.120 +        spacing = 1
   2.121 +    }
   2.122 +}
   2.123 +
   2.124 +Plugin {
   2.125 +    type = tray
   2.126 +}
   2.127 +
   2.128 +Plugin {
   2.129 +    type = volumealsa
   2.130 +}
   2.131 +
   2.132 +Plugin {
   2.133 +    type = netstatus
   2.134 +    Config {
   2.135 +        iface = eth0
   2.136 +        configtool = subox netbox
   2.137 +    }
   2.138 +}
   2.139 +
   2.140 +Plugin {
   2.141 +    type = cpu
   2.142 +}
   2.143 +
   2.144 +Plugin {
   2.145 +    type = dclock
   2.146 +    Config {
   2.147 +        ClockFmt = %R
   2.148 +        TooltipFmt = %Y %m %d
   2.149 +        Action = osmo &
   2.150 +        BoldFont = 0
   2.151 +    }
   2.152 +}
   2.153 +