diff options
author | ponce <matteo.bernardini@sns.it> | 2010-09-20 19:09:42 -0400 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-09-21 22:09:41 -0500 |
commit | f2c346b9b140c493ae866ccae459311ba3add908 (patch) | |
tree | 229ecdf17e5ac1481cdb7fd7e0076fff924bd5b0 /desktop/lxde-common/config | |
parent | 7dbfa9215a5482409bd867ffb77471402768f5c8 (diff) |
desktop/lxde-common: Added (set of default configurations for LXDE)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'desktop/lxde-common/config')
-rw-r--r-- | desktop/lxde-common/config/default-main.lxde | 3 | ||||
-rw-r--r-- | desktop/lxde-common/config/default-pcmanfm.conf | 3 | ||||
-rw-r--r-- | desktop/lxde-common/config/panel.patch | 101 | ||||
-rw-r--r-- | desktop/lxde-common/config/xinitrc.lxde | 33 |
4 files changed, 140 insertions, 0 deletions
diff --git a/desktop/lxde-common/config/default-main.lxde b/desktop/lxde-common/config/default-main.lxde new file mode 100644 index 0000000000000..64ea8d084614b --- /dev/null +++ b/desktop/lxde-common/config/default-main.lxde @@ -0,0 +1,3 @@ +[Desktop] +show_wallpaper=1 +wallpaper=/usr/share/lxde/wallpapers/lxde_blue.jpg diff --git a/desktop/lxde-common/config/default-pcmanfm.conf b/desktop/lxde-common/config/default-pcmanfm.conf new file mode 100644 index 0000000000000..eb917ff8cade6 --- /dev/null +++ b/desktop/lxde-common/config/default-pcmanfm.conf @@ -0,0 +1,3 @@ +[desktop] +wallpaper_mode=2 +wallpaper=/usr/share/lxde/wallpapers/lxde_blue.jpg diff --git a/desktop/lxde-common/config/panel.patch b/desktop/lxde-common/config/panel.patch new file mode 100644 index 0000000000000..4e84091e4dc53 --- /dev/null +++ b/desktop/lxde-common/config/panel.patch @@ -0,0 +1,101 @@ +--- lxde-common-0.5.0/lxpanel/panel.in.orig 2010-08-18 23:38:58.000000000 +0200 ++++ lxde-common-0.5.0/lxpanel/panel.in 2010-08-18 23:44:34.000000000 +0200 +@@ -3,10 +3,10 @@ + + Global { + edge=bottom +- allign=left ++ allign=center + margin=0 + widthtype=percent +- width=100 ++ width=95 + height=26 + transparent=0 + tintcolor=#000000 +@@ -29,7 +29,7 @@ + Plugin { + type = menu + Config { +- image=@prefix@/share/lxde/images/lxde-icon.png ++ image=@prefix@/share/lxpanel/images/my-computer.png + system { + } + separator { +@@ -53,7 +53,13 @@ + id=pcmanfm.desktop + } + Button { +- id=firefox.desktop ++ id=mozilla-firefox.desktop ++ } ++ Button { ++ id=mozilla-thunderbird.desktop ++ } ++ Button { ++ id=lxterminal.desktop + } + } + } +@@ -110,7 +116,29 @@ + } + + Plugin { +- type = netstat ++ type = volumealsa ++} ++ ++Plugin { ++ type = space ++ Config { ++ Size=4 ++ } ++} ++ ++Plugin { ++ type = netstatus ++ Config { ++ iface=eth0 ++ configtool=network-admin --configure %i ++ } ++} ++ ++Plugin { ++ type = space ++ Config { ++ Size=4 ++ } + } + + Plugin { +@@ -118,7 +146,14 @@ + } + + Plugin { +- type = tray ++ type = space ++ Config { ++ Size=4 ++ } ++} ++ ++Plugin { ++ type = cpufreq + } + + Plugin { +@@ -127,6 +162,14 @@ + ClockFmt=%R + TooltipFmt=%A %x + BoldFont=0 ++ IconOnly=0 ++ } ++} ++ ++Plugin { ++ type = space ++ Config { ++ Size=4 + } + } + diff --git a/desktop/lxde-common/config/xinitrc.lxde b/desktop/lxde-common/config/xinitrc.lxde new file mode 100644 index 0000000000000..80187bb2f974c --- /dev/null +++ b/desktop/lxde-common/config/xinitrc.lxde @@ -0,0 +1,33 @@ +#!/bin/sh +# $XConsortium: xinitrc.cpp,v 1.4 91/08/22 11:41:34 rws Exp $ + +userresources=$HOME/.Xresources +usermodmap=$HOME/.Xmodmap +sysresources=/etc/X11/xinit/.Xresources +sysmodmap=/etc/X11/xinit/.Xmodmap + +# merge in defaults and keymaps + +if [ -f $sysresources ]; then + xrdb -merge $sysresources +fi + +if [ -f $sysmodmap ]; then + xmodmap $sysmodmap +fi + +if [ -f $userresources ]; then + xrdb -merge $userresources +fi + +if [ -f $usermodmap ]; then + xmodmap $usermodmap +fi + +# Start the window manager: +if [ -z $XDG_SESSION_COOKIE ]; then + ck-launch-session startlxde +else + startlxde +fi + |