Page 5 of 5

Posted: Thu 15 Mar 2018, 00:22
by sc0ttman
The development of Pkg has moved here: http://murga-linux.com/puppy/viewtopic.php?t=112927

Still happy to take suggestions, wild ideas etc for Pkg and other CLI tools here.

Idea for alternative Woof(ish) GUI

Posted: Mon 02 Apr 2018, 17:03
by sc0ttman
Example of an alternative Woof UI:

Image

Based on buildroot ...

Code:

Code: Select all

#!/bin/ash

set -a

# speed up
USER_LANG=$LANG
USER_LC_ALL=$LC_ALL
export LANG=C
export LC_ALL=C

export SELF=$(basename $0)
export TMPFILE=/tmp/mkdistro_$(whoami)_tmpfile
export CURDIR="`pwd`" 
export WORKDIR=/tmp/mkdistro_$(whoami)
mkdir -p "$WORKDIR" 2>/dev/null # probably already exists

# set app name, title, version
APPNAME="mkpup"
APPVER="0.1"
APPTITLE="$APPNAME $APPVER"
#BACKTITLE="Build Puppy Linux from scratch"

# set dialog settings, set default as dialog, allow override
[ -z "$DIALOG" ] && DIALOG=dialog
[ "`basename $0`" = "Xmkdistro" ] && DIALOG=Xdialog
[ "$DIALOG" = "Xdialog" ] && BACKTITLE="--title \"$APPTITLE\"" && APPNAME="Xpkgdialog"


$DIALOG --title "$APPTITLE" --no-shadow --no-collapse --ok-label "Next" --cancel-label "Quit" --menu "
Build Puppy Linux from scratch: choose an option below" 28 76 28 \
"Help                " "Read the help documentation" \
"Settings            " "Show/edit the settings" \
"" "" \
"Load Config       =>" "Load build settings from file" \
"" "" \
"1. Architecture   =>" "Select x86, x86_64, ARM, etc" \
"2. Boot options   =>" "Select bootloader and settings" \
"3. Kernel         =>" "Select a pre-made kernel, or build your own" \
"4. Base distro    =>" "Select from Debian, Ubuntu or Slackware" \
"5. Packages       =>" "Add/remove programs and libs" \
"6. Window Manager =>" "Xfce, OpenBox, MATE, JWM, etc" \
"7. Themes         =>" "Choose WM, GTK, Icon and desktop themes" \
"8. Advanced Edit  =>" "Edit system, devx and other settings" \
"9. Build options  =>" "Build ISO or SFS only, etc" \
"" "" \
"Save Config       =>" "Save current build settings" \
"" "" \
"10. BUILD NOW       " "Build your Puppy!" 2>$TMPFILE

export LANG=$USER_LANG
export LC_ALL=$USER_LC_ALL

exit 0

Posted: Thu 24 Oct 2019, 17:06
by sc0ttman
Note to self:

at some point in the woof process, the user should be asked to enable/disable the startup services/scripts in /etc/init.d/ (etc), so they can very easily decide what services to run by default ..


https://github.com/puppylinux-woof-CE/w ... ssues/1522