fixed debootstrap, use now connman-gtk as tray
This commit is contained in:
parent
7c68e75884
commit
16479f771c
3 changed files with 5 additions and 6 deletions
|
@ -33,7 +33,7 @@ function message() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [ "$1" == "info" ] || [ "$1" == "error" ]
|
if [ "$1" == "info" ] || [ "$1" == "warn" ] || [ "$1" == "error" ]
|
||||||
then
|
then
|
||||||
MESSAGE=$2
|
MESSAGE=$2
|
||||||
else
|
else
|
||||||
|
@ -84,10 +84,11 @@ done
|
||||||
#DEBOOTSTRAP_SUITE="bullseye"
|
#DEBOOTSTRAP_SUITE="bullseye"
|
||||||
#DEBOOTSTRAP_OPTS="--extra-suites=bullseye-backports,bullseye-updates --components=main,contrib,non-free"
|
#DEBOOTSTRAP_OPTS="--extra-suites=bullseye-backports,bullseye-updates --components=main,contrib,non-free"
|
||||||
DEBOOTSTRAP_SUITE="bookworm"
|
DEBOOTSTRAP_SUITE="bookworm"
|
||||||
DEBOOTSTRAP_OPTS="--extra-suites=${DEBOOTSTRAP_SUITE}-updates --components=main,contrib,non-free,non-free-firmware"
|
#DEBOOTSTRAP_OPTS="--extra-suites=${DEBOOTSTRAP_SUITE}-updates --components=main,contrib,non-free,non-free-firmware"
|
||||||
|
DEBOOTSTRAP_OPTS="--components=main,contrib,non-free,non-free-firmware"
|
||||||
|
|
||||||
message "running debootstrap $DEBOOTSTRAP_OPTS $DEBOOTSTRAP_SUITE $MIRROR"
|
message "running debootstrap $DEBOOTSTRAP_OPTS $DEBOOTSTRAP_SUITE $MIRROR"
|
||||||
sudo debootstrap ${DEBOOTSTRAP_OPTS} ${DEBOOTSTRAP_SUITE} build/chroot/ $MIRROR || sudo debootstrap ${DEBOOTSTRAP_SUITE} build/chroot/ $MIRROR
|
sudo debootstrap ${DEBOOTSTRAP_OPTS} ${DEBOOTSTRAP_SUITE} build/chroot/ $MIRROR || message warn "debootstrap exited with code $?"
|
||||||
|
|
||||||
message "copy xdgmenumaker deb file into chroot"
|
message "copy xdgmenumaker deb file into chroot"
|
||||||
sudo cp deb/xdgmenumaker* build/chroot/tmp || error
|
sudo cp deb/xdgmenumaker* build/chroot/tmp || error
|
||||||
|
|
|
@ -6,7 +6,6 @@
|
||||||
<!-- <Include>/etc/jwm/debian-menu</Include> -->
|
<!-- <Include>/etc/jwm/debian-menu</Include> -->
|
||||||
<Include>exec: xdgmenumaker -n -i -f jwm</Include>
|
<Include>exec: xdgmenumaker -n -i -f jwm</Include>
|
||||||
<Separator/>
|
<Separator/>
|
||||||
<Program icon="/usr/share/icons/Adwaita/scalable/legacy/preferences-system-network-symbolic.svg" label="Network settings">connman-gtk</TrayButton>
|
|
||||||
<Program icon="/usr/share/icons/Adwaita/scalable/devices/video-display-symbolic.svg" label="Display settings">arandr</TrayButton>
|
<Program icon="/usr/share/icons/Adwaita/scalable/devices/video-display-symbolic.svg" label="Display settings">arandr</TrayButton>
|
||||||
<Separator/>
|
<Separator/>
|
||||||
<Restart label="Restart JWM" icon="/usr/share/icons/Adwaita/scalable/emblems/emblem-synchronizing-symbolic.svg"/>
|
<Restart label="Restart JWM" icon="/usr/share/icons/Adwaita/scalable/emblems/emblem-synchronizing-symbolic.svg"/>
|
||||||
|
@ -240,7 +239,7 @@
|
||||||
<StartupCommand>$(find ~/.screenlayout/ -type f -executable|head -n 1)</StartupCommand>
|
<StartupCommand>$(find ~/.screenlayout/ -type f -executable|head -n 1)</StartupCommand>
|
||||||
<StartupCommand>xscreensaver -no-splash</StartupCommand>
|
<StartupCommand>xscreensaver -no-splash</StartupCommand>
|
||||||
<StartupCommand>volumeicon</StartupCommand>
|
<StartupCommand>volumeicon</StartupCommand>
|
||||||
<StartupCommand>connman-ui-gtk</StartupCommand>
|
<StartupCommand>connman-gtk</StartupCommand>
|
||||||
<StartupCommand>dillo -f -g 640x480 /usr/share/doc/nanodesk/welcome/welcome.html</StartupCommand>
|
<StartupCommand>dillo -f -g 640x480 /usr/share/doc/nanodesk/welcome/welcome.html</StartupCommand>
|
||||||
|
|
||||||
</JWM>
|
</JWM>
|
||||||
|
|
|
@ -66,7 +66,6 @@ apt install -y \
|
||||||
wireless-tools \
|
wireless-tools \
|
||||||
wpagui \
|
wpagui \
|
||||||
connman-gtk \
|
connman-gtk \
|
||||||
connman-ui \
|
|
||||||
xserver-xorg \
|
xserver-xorg \
|
||||||
xscreensaver \
|
xscreensaver \
|
||||||
xfonts-75dpi \
|
xfonts-75dpi \
|
||||||
|
|
Loading…
Reference in a new issue