From c1e6ad13936288ccb4c6e60c5c1f0f7b60b1f64a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michael=20B=C3=BCsch?= Date: Mon, 27 Sep 2010 22:11:03 +0000 Subject: [PATCH] lxpanel: Override the default config to be more embedded-friendly. Removes the wasteful (w.r.t. CPU resources) CPU-monitor and background theme. Users can easily add it back in the config dialog, if they want it. SVN-Revision: 23140 --- lxde/apps/lxpanel/Makefile | 4 + lxde/apps/lxpanel/files/default_config/config | 3 + .../lxpanel/files/default_config/panels/panel | 99 +++++++++++++++++++ 3 files changed, 106 insertions(+) create mode 100644 lxde/apps/lxpanel/files/default_config/config create mode 100644 lxde/apps/lxpanel/files/default_config/panels/panel diff --git a/lxde/apps/lxpanel/Makefile b/lxde/apps/lxpanel/Makefile index 968e6cc..dd591c2 100644 --- a/lxde/apps/lxpanel/Makefile +++ b/lxde/apps/lxpanel/Makefile @@ -58,6 +58,10 @@ define Package/lxpanel/install $(CP) \ $(PKG_INSTALL_DIR)/usr/share/lxpanel/* \ $(1)/usr/share/lxpanel/ + $(INSTALL_DIR) $(1)/usr/share/lxpanel/profile/default + $(CP) \ + ./files/default_config/* \ + $(1)/usr/share/lxpanel/profile/default/ endef $(eval $(call BuildPackage,lxpanel)) diff --git a/lxde/apps/lxpanel/files/default_config/config b/lxde/apps/lxpanel/files/default_config/config new file mode 100644 index 0000000..4c4b3e9 --- /dev/null +++ b/lxde/apps/lxpanel/files/default_config/config @@ -0,0 +1,3 @@ +[Command] +FileManager=pcmanfm %s +Terminal=xterm diff --git a/lxde/apps/lxpanel/files/default_config/panels/panel b/lxde/apps/lxpanel/files/default_config/panels/panel new file mode 100644 index 0000000..6ea9d56 --- /dev/null +++ b/lxde/apps/lxpanel/files/default_config/panels/panel @@ -0,0 +1,99 @@ +# lxpanel config file. Manually editing is not recommended. +# Use preference dialog in lxpanel to adjust config when you can. + +Global { + edge=bottom + allign=left + margin=0 + widthtype=percent + width=100 + height=26 + transparent=0 + tintcolor=#000000 + alpha=0 + autohide=0 + heightwhenhidden=2 + setdocktype=1 + setpartialstrut=1 + usefontcolor=0 + fontcolor=#ffffff + background=0 + backgroundfile=/usr/share/lxpanel/images/background.png + iconsize=24 +} + +Plugin { + type = space + Config { + Size=2 + } +} + +Plugin { + type = menu + Config { + image=/usr/share/lxpanel/images/my-computer.png + system { + } + separator { + } + item { + command=run + } + separator { + } + item { + image=gnome-logout + command=logout + } + } +} + +Plugin { + type = space + Config { + Size=4 + } +} + +Plugin { + type = pager +} + +Plugin { + type = space + Config { + Size=4 + } +} + +Plugin { + type = taskbar + expand=1 + Config { + tooltips=1 + IconsOnly=0 + ShowAllDesks=0 + UseMouseWheel=1 + UseUrgencyHint=1 + FlatButton=0 + MaxTaskWidth=150 + spacing=1 + GroupedTasks=0 + } +} + +Plugin { + type = tray +} + +Plugin { + type = dclock + Config { + ClockFmt=%R + TooltipFmt=%A %x + BoldFont=0 + IconOnly=0 + } +} + -- 2.30.2