+neurodebian (0.30~dev0) wheezy; urgency=low
+
+ * VM (6.999.b4.20121206) - development VM based on upcoming wheezy
+ release's beta4
+ - uses XFCE4 instead of Gnome(3) -- Depends on gdm | lightdm now
+
+ -- Yaroslav Halchenko <debian@onerussian.com> Fri, 07 Dec 2012 13:07:07 -0500
+
neurodebian (0.29) unstable; urgency=low
[ Yaroslav Halchenko & Michael Hanke ]
Package: neurodebian-guest-additions
Architecture: all
Pre-Depends: virtualbox-ose-guest-utils, virtualbox-ose-guest-x11, virtualbox-ose-guest-dkms
-Depends: ${misc:Depends}, sudo, neurodebian-desktop, gdm | gdm3, update-manager-gnome, update-notifier
-Recommends: chromium-browser
+Depends: ${misc:Depends},
+ sudo,
+ neurodebian-desktop,
+ gdm | lightdm,
+Recommends: chromium-browser,
+ update-manager-gnome, update-notifier,
Description: NeuroDebian guest additions (DO NOT INSTALL OUTSIDE VIRTUALBOX)
This package configures a Debian installation as a guest operating system
in a VirtualBox-based virtual machine for NeuroDebian.
xdg/directories/* usr/share/desktop-directories
xdg/desktop/neurodebian-* usr/share/applications
tools/nd-autoinstall usr/bin
+xdg/Xresources/neurodebian etc/X11/Xresources
elif [ -z "$(grep 'AutomaticLogin=brain' $gdm_conf)" ]; then
echo "I: Enabling autologin of user 'brain' for GNOME $gnome_ver."
sed -i -e 's/^\[daemon\]$/\[daemon\]\nAutomaticLoginEnable=true\nAutomaticLogin=brain\n/' $gdm_conf
+ # update gconf defaults tree
+ update-gconf-defaults
fi
}
+# XFCE4
+_set_lightdm_auto_login() {
+ lightdm_conf="$1"
+ if [ ! -e $lightdm_conf ]; then
+ echo "I: No config file $lightdm_conf found"
+ elif [ ! -z "$(grep '^# *autologin-user=' $lightdm_conf)" ]; then
+ echo "I: Enabling autologin of user 'brain' for lightdm."
+ sed -i -e 's/^# *autologin-user=.*$/autologin-user=brain/' $lightdm_conf
+ fi
+
+}
+
gdm_conf=/etc/gdm/gdm.conf
if [ "$1" = "configure" -o "$1" = "abort-upgrade" ]; then
- _set_gdm_auto_login /etc/gdm/gdm.conf 2
- _set_gdm_auto_login /etc/gdm3/daemon.conf 3
+ [ -e /etc/gdm/gdm.conf ] && _set_gdm_auto_login /etc/gdm/gdm.conf 2
+ [ -e /etc/gdm3/daemon.conf ] && _set_gdm_auto_login /etc/gdm3/daemon.conf 3
- # update gconf defaults tree
- update-gconf-defaults
+ [ -e /etc/lightdm/lightdm.conf ] && _set_lightdm_auto_login /etc/lightdm/lightdm.conf
fi
#DEBHELPER#
## >| /var/log/initial_setup-dkms.log 2>&1
# to get all the rest stuff in recommends
-apt-get install -y dkms
-# TODO: neurodebian-guest-additions -- pulls in gdm3 ATM
+apt-get install -y dkms neurodebian-guest-additions
if [ "$darch" != "$cdarch" ] ; then
# Because DKMS builds for currently running kernel, which during
chromium-browser \
sudo neurodebian-desktop update-notifier
+# "Slightly" better terminal by default
+# TODO: might want to change default bg color to black there
+apt-get install rxvt-unicode
+update-alternatives --set x-terminal-emulator /usr/bin/urxvt
+
# XXX last ones are actually pulled it by neurodebian-guest-additions whenever we
# resolve their destiny ;-) a;though it might be pooling too much, eg exim4
-# TODO: autologin for lightdm (autologin-user=brain in /etc/lightdm/lightdm.conf), default panel (with chromium) for xfce
# TODO: pre-configure the panel "Welcome to the first start of the panel", "Use default config"?
# Clean-up installed development files which got pulled in for
--- /dev/null
+URxvt.background: black
+URxvt.foreground: white
+URxvt.coursorColor: red
+URxvt.saveLines: 1000
+URxvt.perl-ext: searchable-scrollback<M-s>,tabbed,option-popup,selection
+# workaround for #546527
+URxvt.perl-ext-common: default,-option-popup,-selection-popup
+URxvt.underlineURLs: true