look
Posted: Mon 11 Nov 2013, 06:15
wanderer, in the meantime, you may take a look at pemasu's files at
http://smokey01.com/pemasu/
http://smokey01.com/pemasu/
READ-ONLY Archive
https://oldforum.puppylinux.com/
Code: Select all
if [ "$DISTRO_XORG_AUTO" = "yes" ];then #see /etc/DISTRO_SPECS 111019
##detect dead mouse, put up keyboard-operated window after 8 secs... 111026 no
#mousecheck &
#quick setup window for country and language and X resolution...
QUICKSETUP="quicksetup"
[ "`readlink /usr/bin/X | grep 'Xorg'`" = "" ] && QUICKSETUP="quickcountry" #probably Xvesa, offer country settings only.
echo 'runquery' >> /tmp/delayedrun_quicksetup_count #run 'quicksetup' once only.
[ "`cat /proc/cmdline | grep -i -o 'pfix=[^ ]*' | grep -E 'nox|safe'`" != "" ] && echo 'runquery' >> /tmp/delayedrun_quicksetup_count #the text-mode 1st-start dlgs have already run.
[ `cat /tmp/delayedrun_quicksetup_count | wc -l` -lt 2 ] \
&& [ ! -f /etc/personal_settings_popup_disabled ] \
&& ${QUICKSETUP} #120606
This does avoid the quicksetup wizard that runs after the desktop opens. Sorry to bother you, but I still have the keyboard, timezone and xorg wizards which run in console before xwin starts. Do you know how to suppress those?So....if you create an empty file called personal_settings_popup_disabled, and place it to the /etc inside your remastered sfs, it should prevent the quickcountry from running.
##130501 pupdesk.flg gets created at bootup if not exist. If exists, then X desktop failed, so run Xorg Wizard...
##note, /usr/sbin/quicksetup deletes pupdesk.flg when click ok button.
#if [ $PUPMODE -eq 5 ];then
# if [ "$DISTRO_XORG_AUTO" = "yes" ];then #see /etc/DISTRO_SPECS
# if [ -f /initrd/tmp/PCPARTSALL_ata -o -f /initrd/tmp/PCPARTSALL_usb ];then
# for ONEPART in `grep -E 'vfat|ntfs|ext[2-4]|f2fs|reiserfs' /initrd/tmp/PCPARTSALL_* | tr '\n' ' '`
# do
# #ex: ONEPART=/dev/sda3|ntfs|37209088
# pFLG=0
# ADEV="`echo -n "$ONEPART" | cut -f 1 -d '|'`"
# AFS="`echo -n "$ONEPART" | cut -f 2 -d '|'`"
# pMNTPT="$(cat /proc/mounts | grep "${ADEV} " | cut -f 2 -d ' ')"
# if [ "$pMNTPT" = "" ];then
# ABASE="`basename $ADEV`"
# mkdir -p /mnt/$ABASE
# mount -t $AFS $ADEV /mnt/$ABASE
# pFLG=1
# pMNTPT="/mnt/${ABASE}"
# sleep 1 #just in case /proc/mounts slow to update.
# fi
# RWFLAG="$(cat /proc/mounts | grep "${ADEV} " | grep ' rw,')"
# if [ "$RWFLAG" ];then
# if [ ! -f ${pMNTPT}/pupdesk.flg ];then
# touch ${pMNTPT}/pupdesk.flg #130509 note, quicksetup will insert auto-driver into this.
# else
# #130509 quicksetup creates pupdesk.flg with auto-selected driver stored in it. xorgwizard-cli reads this.
# cp -f ${pMNTPT}/pupdesk.flg /var/local/quicksetup-pupmode5-autodriver
# touch /root/.xorgwizard-reenter #see /root/.profile, will cause xorgwizard to run.
# /etc/rc.d/rc.country ask #text-mode dlg for keyboard and locale.
# fi
Downloading.......testing later when I get some free time.pemasu wrote: I have used latest Barry`s woof to build Dpup Wheezy 3.5.2.8.