# /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
}
--- /dev/null
+<?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>