pandora-skel: Add a few more tweaks 'read: nasty hacks :(' to /etc/skel.
authorDavid-John Willis <John.Willis@Distant-earth.com>
Fri, 15 Jan 2010 21:38:01 +0000 (21:38 +0000)
committerDavid-John Willis <John.Willis@Distant-earth.com>
Fri, 15 Jan 2010 21:38:01 +0000 (21:38 +0000)
recipes/pandora-system/pandora-skel.bb
recipes/pandora-system/pandora-skel/pam_environment [new file with mode: 0644]
recipes/pandora-system/pandora-skel/profile
recipes/pandora-system/pandora-skel/xsettings.xml [new file with mode: 0644]

index 9784460..05c8b6f 100644 (file)
@@ -5,21 +5,29 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 # /etc/skel is used by Shadow's useradd so you really have that installed for this to make sense ;)
 RDEPENDS = "shadow"
 
-PR = "r2"
+PR = "r5"
 
 SRC_URI = " \
   file://.xinitrc \     
   file://bashrc \
   file://profile \
   file://mplayconfig \
+  file://pam_environment \ 
+  file://xsettings.xml \
 "
 
+# xsettings.xml is a hack until I can figure out why XDG configs are not setting the icon theme for Xfce/GTK+
+
 do_install() {
   install -d ${D}${sysconfdir}/skel/
-  install -m 0644 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/
+  install -m 0644 ${WORKDIR}/.xinitrc ${D}${sysconfdir}/skel/.xinitrc
   install -m 0644 ${WORKDIR}/bashrc ${D}${sysconfdir}/skel/.bashrc
   install -m 0644 ${WORKDIR}/profile ${D}${sysconfdir}/skel/.profile
-
+  install -m 0644 ${WORKDIR}/pam_environment ${D}${sysconfdir}/skel/.pam_environment
+  
+  install -d ${D}${sysconfdir}/skel/Applications/Settings/xfce4/xfconf/xfce-perchannel-xml
+  install -m 0644 ${WORKDIR}/xsettings.xml ${D}${sysconfdir}/skel/Applications/Settings/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml
+  
   install -d ${D}${sysconfdir}/skel/.mplayer/
   install -m 0644 ${WORKDIR}/mplayconfig ${D}${sysconfdir}/skel/.mplayer/config
 }
diff --git a/recipes/pandora-system/pandora-skel/pam_environment b/recipes/pandora-system/pandora-skel/pam_environment
new file mode 100644 (file)
index 0000000..a773fd2
--- /dev/null
@@ -0,0 +1,9 @@
+#
+# This file is parsed by pam_env module
+#
+# Syntax: simple "KEY=VAL" pairs on separate lines
+#
+
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
+
+export PATH
index 979793e..0f73ddd 100644 (file)
@@ -5,6 +5,9 @@ if [ -f ~/.bashrc ]; then
 fi
 
 # path set by /etc/profile
-# export PATH
+
+PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games"
+
+export PATH
 
 mesg n
diff --git a/recipes/pandora-system/pandora-skel/xsettings.xml b/recipes/pandora-system/pandora-skel/xsettings.xml
new file mode 100644 (file)
index 0000000..de0c38c
--- /dev/null
@@ -0,0 +1,43 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<channel name="xsettings" version="1.0">
+  <property name="Net" type="empty">
+    <property name="ThemeName" type="string" value="Xfce-cadmium"/>
+    <property name="IconThemeName" type="string" value="elementary"/>
+    <property name="DndDragThreshold" type="empty"/>
+    <property name="CursorBlink" type="empty"/>
+    <property name="CursorBlinkTime" type="empty"/>
+    <property name="SoundThemeName" type="empty"/>
+    <property name="EnableEventSounds" type="empty"/>
+    <property name="EnableInputFeedbackSounds" type="empty"/>
+    <property name="DoubleClickTime" type="empty"/>
+    <property name="DoubleClickDistance" type="empty"/>
+  </property>
+  <property name="Xft" type="empty">
+    <property name="DPI" type="empty"/>
+    <property name="Antialias" type="empty"/>
+    <property name="Hinting" type="int" value="-1"/>
+    <property name="HintStyle" type="empty"/>
+    <property name="RGBA" type="empty"/>
+  </property>
+  <property name="Gtk" type="empty">
+    <property name="CanChangeAccels" type="empty"/>
+    <property name="ColorPalette" type="empty"/>
+    <property name="FontName" type="empty"/>
+    <property name="IconSizes" type="empty"/>
+    <property name="KeyThemeName" type="empty"/>
+    <property name="ToolbarStyle" type="empty"/>
+    <property name="ToolbarIconSize" type="empty"/>
+    <property name="IMPreeditStyle" type="empty"/>
+    <property name="IMStatusStyle" type="empty"/>
+    <property name="MenuImages" type="empty"/>
+    <property name="ButtonImages" type="empty"/>
+    <property name="MenuBarAccel" type="empty"/>
+    <property name="CursorThemeName" type="empty"/>
+    <property name="CursorThemeSize" type="empty"/>
+    <property name="IMModule" type="empty"/>
+  </property>
+  <property name="Xfce" type="empty">
+    <property name="LastCustomDPI" type="empty"/>
+  </property>
+</channel>