summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Büsch2010-09-27 22:11:03 +0000
committerMichael Büsch2010-09-27 22:11:03 +0000
commitc1e6ad13936288ccb4c6e60c5c1f0f7b60b1f64a (patch)
tree3b4162ce095cde5b82bbe954ac35e0bb1f1a0a6e
parentb1b58c6440f80539c135a50ce176f1c53c2bbf0e (diff)
downloadfeeds-c1e6ad13936288ccb4c6e60c5c1f0f7b60b1f64a.tar.gz
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
-rw-r--r--lxde/apps/lxpanel/Makefile4
-rw-r--r--lxde/apps/lxpanel/files/default_config/config3
-rw-r--r--lxde/apps/lxpanel/files/default_config/panels/panel99
3 files changed, 106 insertions, 0 deletions
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 <profile> 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
+ }
+}
+