Compare commits

...

3 Commits

Author SHA1 Message Date
BodgeMaster c0d40900dc notes to self: update TODO list 2023-07-21 16:35:57 +02:00
BodgeMaster 6fb2065909 package selections/desktop: add xinitrc, bashrc 2023-07-21 16:33:31 +02:00
BodgeMaster 51866628d1 package selections: include arandr in fully featured desktop 2023-07-15 07:33:50 +02:00
6 changed files with 54 additions and 11 deletions

View File

@ -16,7 +16,6 @@ make our own or extract (if feasible) kb selection and time zone selection to hi
overview of the installation process at the start
overall progress indication (step x out of y)
look into roxterm as an alternative terminal
include arandr or something similar in fully featured desktop utils
deal with the entropy thing that runs after rc.shutdown
first run message in .xinitrc.d
- auto-removes itself
@ -24,14 +23,25 @@ first run message in .xinitrc.d
add online check to all the selections that need internet
sort out /etc/resolv.conf for the chroot
set keyboard layout for initramfs
tell user about expected GRUB error messaegs
disable suspend and hibernate
when shutting down, let Xorg exit first, then run `loginctl {poweroff,reboot}`
add polkit to common packages
https://github.com/aarnt/octoxbps
system-image
make all output appear on current TTY
sync before and after creating the image
package selections:
desktop
icewm-full
packages
-> audio applet
-> audio applet -> volctl
-> system monitor, file browser, image viewer, text editor, archive manager
-> GUI package manager? GUI update manager?
-> notification daemon?
xscreensaver
blueman
-> BT support?
post-install
add ultimate.bashrc
add backgrounds
@ -39,16 +49,21 @@ package selections:
kick off scripts in .xinitrc.d from .xinitrc
exec icewm-session from .xinitrc
add to .xinitrc.d
choose random background
start pipewire, pipewire-pulse, wireplumber
start conky
start nm-applet, audio applet
display README
start xscreensaver
start blueman
put README.txt with relevant information on root dir of F2FS partition
symlink to /home/README.txt
add a symlink ~/.local/bin/xterm that points to lxterminal
configure icewm
startup script
choose random background
configuration
configure conky
configure xscreensaver
icewm-lite
post-install
add ultimate.bashrc
@ -89,7 +104,6 @@ Stage 2:
-> useradd --groups "comma,separated,groups" --create-home --shell /bin/bash $USERNAME
-> groups: dialout users wheel
-> ?? groups:
-> video - Can use GUI? Can use webcam?
-> cdrom optical - can listen to CDs? Can watch DVDs? Can mount / unmount CDs/DVDs?
-> storage - can mount / unmount disks from GUI?
-> scanner - can scan things (for example using XSane?)

View File

@ -1 +1,3 @@
resources/common_packages
resources/xinitrc
resources/bashrc

View File

@ -6,7 +6,7 @@ function check {
DESCRIPTION="Fully featured desktop with IceWM"
# TODO
PACKAGES="$(cat /opt/void-usb/installer/package_selections/desktop/resources/common_packages) pavucontrol network-manager-applet vlc lxterminal bash-completion gufw conky icewm firefox"
PACKAGES="$(cat /opt/void-usb/installer/package_selections/desktop/resources/common_packages) pavucontrol network-manager-applet vlc lxterminal bash-completion gufw conky icewm firefox arandr"
function post_install {
echo "desktop/icewm-light" >> /tmp/stage-2-choices

View File

@ -2,12 +2,15 @@
# ==========
# things to always set up, even for non-interactive shells
# Fuck vi!
EDITOR=nano
# On FreeBSD this is being set for whatever reason in the other shell rc files. I'll leave it here for compatibility.
PAGER=less
# add a user-specific bin directory to PATH
PATH=$HOME/.local/bin:$PATH
if grep -F ".local/bin" <<< "$PATH"; then
true
else
PATH="$HOME/.local/bin:$PATH"
fi
export EDITOR PAGER PATH
# CHECK INTERACTIVE
@ -18,6 +21,14 @@ case $- in
*) return ;;
esac
# START XORG
# ==========
# TODO
# check if login shell
# if yes, check if .xinitrc exists
# if yes, check if xorg is already running
# if no, startx
# ALIASES
# =======
alias aliases="nano $HOME/.bashrc_aliases && source $HOME/.bashrc_aliases"

View File

@ -0,0 +1,18 @@
#!/bin/sh
if grep -F ".local/bin" <<< "$PATH"; then
true
else
PATH="$HOME/.local/bin:$PATH"
fi
export PATH
if [ -d "$HOME/.xinitrc.d" ]; then
for FILE in "$HOME/.xinitrc.d"/*; do
[ -x "$FILE" ] && "$FILE" &
done
fi
# The line below is placed by the package selection script.

View File

@ -1,2 +0,0 @@
#TODO: open user-readme once and then never again
#TODO: check which software selection of Void-USB has been installed and start the appropriate things