From a905fd65a355ca17ea53545a286052e4429d27d2 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Tue, 17 Jul 2012 09:56:46 +0200 Subject: append our V1.1 lxde specialities to the oe-tworaz recipes --- .../lxde-common/lxde-common-0.5.5/autostart.patch | 8 ++++++ .../consistent_defconfig_dirs.patch | 12 +++++++++ .../lxde-common/lxde-common-0.5.5/defaults.list | 19 +++++++++++++ .../lxde-common/lxde-common-0.5.5/desktop.conf | 30 +++++++++++++++++++++ .../lxde-common/lxde-common-0.5.5/hdmiaudio.sh | 4 +++ .../lxde-common-0.5.5/toradex-neutral.png | Bin 0 -> 1996 bytes .../lxde-common/lxde-common-0.5.5/toradex-t20.png | Bin 0 -> 5488 bytes .../lxde-common/lxde-common-0.5.5/toradex-t30.png | Bin 0 -> 5521 bytes .../lxde-common/lxde-common-0.5.5/wallpaper.patch | 16 +++++++++++ 9 files changed, 89 insertions(+) create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/autostart.patch create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/consistent_defconfig_dirs.patch create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/defaults.list create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/desktop.conf create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-neutral.png create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t20.png create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t30.png create mode 100644 recipes-lxde/lxde-common/lxde-common-0.5.5/wallpaper.patch (limited to 'recipes-lxde/lxde-common/lxde-common-0.5.5') diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/autostart.patch b/recipes-lxde/lxde-common/lxde-common-0.5.5/autostart.patch new file mode 100644 index 0000000..c7df506 --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/autostart.patch @@ -0,0 +1,8 @@ +--- lxde-common-0.5.5/autostart.orig 2011-07-29 16:04:03.000000000 +0200 ++++ lxde-common-0.5.5/autostart 2012-03-12 16:41:00.000000000 +0100 +@@ -1,3 +1,5 @@ + @lxpanel --profile LXDE + @pcmanfm --desktop --profile LXDE + @xscreensaver -no-splash ++xrandr 2>&1 > /dev/null ++hdmiaudio.sh diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/consistent_defconfig_dirs.patch b/recipes-lxde/lxde-common/lxde-common-0.5.5/consistent_defconfig_dirs.patch new file mode 100644 index 0000000..1eff17b --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/consistent_defconfig_dirs.patch @@ -0,0 +1,12 @@ +diff -urNdb lxde-common-0.5.5.orig//startlxde.in lxde-common-0.5.5//startlxde.in +--- lxde-common-0.5.5.orig//startlxde.in 2011-12-17 22:39:41.000000000 +0100 ++++ lxde-common-0.5.5//startlxde.in 2011-12-17 22:40:22.000000000 +0100 +@@ -8,7 +8,7 @@ + PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm/LXDE" + if [ ! -f "$PCMANFM_CONF_DIR/pcmanfm.conf" ]; then + mkdir -p "$PCMANFM_CONF_DIR" +- cp @prefix@/share/lxde/pcmanfm/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" ++ cp /etc/xdg/pcmanfm/LXDE/pcmanfm.conf "$PCMANFM_CONF_DIR/pcmanfm.conf" + fi + + # Ensure the existance of openbox config file diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/defaults.list b/recipes-lxde/lxde-common/lxde-common-0.5.5/defaults.list new file mode 100644 index 0000000..c683923 --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/defaults.list @@ -0,0 +1,19 @@ +[Default Applications] +x-scheme-handler/http=firefox.desktop +text/plain=leafpad.desktop +image/bmp=gpicview.desktop +image/gif=gpicview.desktop +image/jpeg=gpicview.desktop +image/jpg=gpicview.desktop +image/png=gpicview.desktop +image/tiff=gpicview.desktop +image/x-bmp=gpicview.desktop +image/x-pcx=gpicview.desktop +image/x-tga=gpicview.desktop +image/x-portable-pixmap=gpicview.desktop +image/x-portable-bitmap=gpicview.desktop +image/x-targa=gpicview.desktop +image/x-portable-greymap=gpicview.desktop +application/pcx=gpicview.desktop +image/svg+xml=gpicview.desktop +image/svg-xml=gpicview.desktop diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/desktop.conf b/recipes-lxde/lxde-common/lxde-common-0.5.5/desktop.conf new file mode 100644 index 0000000..7e9862c --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/desktop.conf @@ -0,0 +1,30 @@ +[Session] +window_manager=openbox-lxde + +[GTK] +sNet/ThemeName=Clearlooks +sNet/IconThemeName=nuoveXT2 +sGtk/FontName=Sans 10 +iGtk/ToolbarStyle=3 +iGtk/ButtonImages=1 +iGtk/MenuImages=1 +iGtk/CursorThemeSize=18 +iXft/Antialias=1 + +sGtk/ColorScheme= +sGtk/CursorThemeName=whiteglass +iGtk/ToolbarIconSize=3 +iNet/EnableEventSounds=1 +iNet/EnableInputFeedbackSounds=1 +iXft/Hinting=1 +sXft/HintStyle=hintfull +sXft/RGBA=rgb + +[Mouse] +AccFactor=20 +AccThreshold=10 +LeftHanded=0 + +[Keyboard] +Delay=500 +Interval=30 diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh b/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh new file mode 100644 index 0000000..e1c1760 --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/hdmiaudio.sh @@ -0,0 +1,4 @@ +#! /bin/sh +#LXDM starts X in such a way that hdmi audio is not functional. Changing the Virtual Console corrects this. Is called by lxsessions autostart +chvt 1 2>&1 > /dev/null +chvt 7 2>&1 > /dev/null diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-neutral.png b/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-neutral.png new file mode 100644 index 0000000..2775aa4 Binary files /dev/null and b/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-neutral.png differ diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t20.png b/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t20.png new file mode 100644 index 0000000..907b7f0 Binary files /dev/null and b/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t20.png differ diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t30.png b/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t30.png new file mode 100644 index 0000000..3e1e9bc Binary files /dev/null and b/recipes-lxde/lxde-common/lxde-common-0.5.5/toradex-t30.png differ diff --git a/recipes-lxde/lxde-common/lxde-common-0.5.5/wallpaper.patch b/recipes-lxde/lxde-common/lxde-common-0.5.5/wallpaper.patch new file mode 100644 index 0000000..37823ed --- /dev/null +++ b/recipes-lxde/lxde-common/lxde-common-0.5.5/wallpaper.patch @@ -0,0 +1,16 @@ +diff -Naur lxde-common-0.5.5.orig/pcmanfm/pcmanfm.conf.in lxde-common-0.5.5/pcmanfm/pcmanfm.conf.in +--- lxde-common-0.5.5.orig/pcmanfm/pcmanfm.conf.in 2012-01-04 12:57:31.904011602 +0100 ++++ lxde-common-0.5.5/pcmanfm/pcmanfm.conf.in 2012-01-04 12:58:35.854063347 +0100 +@@ -3,9 +3,9 @@ + su_cmd=xdg-su -c '%s' + + [desktop] +-wallpaper_mode=1 +-wallpaper=@prefix@/share/lxde/wallpapers/lxde_blue.jpg +-desktop_bg=#000000 ++wallpaper_mode=3 ++wallpaper=@prefix@/share/lxde/wallpapers/toradex.png ++desktop_bg=#0071ac + desktop_fg=#ffffff + desktop_shadow=#000000 + -- cgit v1.2.3