From b4530175c1aec3b429fcc7884d3833f6db0ade8f Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Sun, 23 Jan 2011 12:20:56 +0100 Subject: [PATCH] xfce4-conf.zip: Removed mail and messenger link from XFCE panel --- .../pandora-xfce-defaults/xfce4-conf.zip | Bin 16791 -> 16143 bytes .../pandora-scripts/op_lcdsettings.sh | 9 ++++++++- .../pandora-scripts/op_videofir.sh | 5 +++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/recipes/branding/pandora-xfce-defaults/xfce4-conf.zip b/recipes/branding/pandora-xfce-defaults/xfce4-conf.zip index 82327514de93c5e7c1aeb5da9cbace100cb0aaa4..b38aa7353523e38ff2013e5312e4c5b2b4abb41f 100644 GIT binary patch delta 247 zcmbQ<%-CPIK~J1nBFTKRp|}!@0-ufVBo*1s{t|Y~n=@p(WWX|CEeyailM_v)C$F`X zW6BbreAY6GDNJ(mM=OcRj#h3=dn6}!TBR{LN&!V2C(pK)V_G3KdAD^mQ<3y!37br2 zWf_La3#7#-&$e-6=8|QYd{@q3vWTq%^GYDQMqYJt4Uj!i4x~nG@>N?mrhNIyvUV{{ zjtY~j?V^}>Dlkm$QPP-X@4z%&ak7(r5R;hF^FlDGs_H^)K nTA?<1szW%_6OGC591@r&=}ZoAwB%D|P-R%g$G{M5zyJgQ8d*p+ delta 766 zcmeCLo8HX0K~J3dQ?TJ=Lvbah3Z98)ku3oWcFW;K~=6{k;yM7Ngc6=|qi|_1&@Q@wn5Ag+e%s3~h>fZ9L zd-Lj7XSeVjDP4BmE9RiEsi4O17h>|fi5hXIr&ViidE?&vQB3uRg`;}@o=H)bPZnv- zZ*sM-4DX(e&{viYc}9vDBrIn z-*JT9sANGXd%)E)XP!2xtCNJ4)wg{3E!O$<-ICX@LUM{j`E}j6csCs=y&|H)=XCM7 z>=o_a#;~te!A1AD^)hRA+wK$IcjAGkn5E9b7EV=R8?LCxXJOp_w+}AZ-NC0}Yw~NM zakO5$<;<7gm(Aq5J9(jrG?oaOZ!SC8 zSB6UzEs|Klku>?Bq0Hnyb2%ngiOK8CqZkb*U$l^%tYqQFG+kyvrtt>5TGZKHEShVU@{=wsA~y8j}y&dNIXmOy;!< tXP%|SFqu(PesY_g1G9%7!{qfkQj=BeBt%%*Kz>jM!U}!{22LXo4*)vs{`CL= diff --git a/recipes/pandora-system/pandora-scripts/op_lcdsettings.sh b/recipes/pandora-system/pandora-scripts/op_lcdsettings.sh index a30525d..593d44b 100755 --- a/recipes/pandora-system/pandora-scripts/op_lcdsettings.sh +++ b/recipes/pandora-system/pandora-scripts/op_lcdsettings.sh @@ -3,7 +3,7 @@ # LCD-Settings, v1.0, written by Michael Mrozek aka EvilDragon 2010. Brightness-Settings-Part written by vimacs. # This scripts allows you to create, load and save Gamma-Settings and to change the LCD Brightness. -while mainsel=$(zenity --title="LCD-Settings" --width="300" --height="200" --list --column "id" --column "Please select" --hide-column=1 --text="What do you want to do?" "bright" "Change LCD Brightness" "gamma" "Manage LCD Gamma" "filter" "Select current video filter"); do +while mainsel=$(zenity --title="LCD-Settings" --width="300" --height="200" --list --column "id" --column "Please select" --hide-column=1 --text="What do you want to do?" "bright" "Change LCD Brightness" "gamma" "Manage LCD Gamma" "filter" "Select current video filter" "filterdef" "Select default video filter"); do case $mainsel in @@ -79,5 +79,12 @@ case $mainsel in sudo /usr/pandora/scripts/op_videofir.sh $videofilter zenity --info --title="Videofilter applied" --text "The videofilter has been applied." --timeout 6 fi;; + + "filterdef") + if selection=$(head -1 /etc/pandora/conf/dss_fir/* | sed 's:==> ::' | sed 's: <==::' | sed '/^$/d' | zenity --width=700 --height=200 --title="Videofilter" --hide-column=1 --list --column "filter" --column "Videofilter" --text "Please select a videofilter which will automatically be set on startup" ); then + videofilter=$(basename $selection) + echo $videofilter > /etc/pandora/conf/filter.state + zenity --info --title="Default Videofilter set" --text "The default video filter has been set." --timeout 6 + fi;; esac done \ No newline at end of file diff --git a/recipes/pandora-system/pandora-scripts/op_videofir.sh b/recipes/pandora-system/pandora-scripts/op_videofir.sh index 2461b0d..b63c6d7 100755 --- a/recipes/pandora-system/pandora-scripts/op_videofir.sh +++ b/recipes/pandora-system/pandora-scripts/op_videofir.sh @@ -16,6 +16,9 @@ fi apply_filter() { file="${1}" + if [ ! -f "$file" ]; then + file="${1}_up" + fi if [ -f "$file" ]; then # hardcode overlay for now.. We'll update this as needed echo "writing fir:" @@ -23,6 +26,8 @@ apply_filter() sed -n 3,10p "$file" > "/sys/devices/platform/omapdss/overlay1/filter_coef_up_h" sed -n 12,19p "$file" > "/sys/devices/platform/omapdss/overlay1/filter_coef_up_v3" sed -n 21,28p "$file" > "/sys/devices/platform/omapdss/overlay1/filter_coef_up_v5" + else + echo "No filter with that name" fi } -- 2.39.5