introducing nanodesk-first-start, renaming stuff

This commit is contained in:
Marcus 2023-10-22 06:10:08 +02:00
parent 599498ff59
commit 7a22d39616
7 changed files with 23 additions and 9 deletions

View file

@ -1,3 +1,4 @@
apt install -y \ apt install -y \
transmission \ transmission \
audacious audacious \
vlc \

View file

@ -85,6 +85,7 @@ apt install -y --no-install-recommends \
xscreensaver \ xscreensaver \
xfonts-75dpi \ xfonts-75dpi \
xfonts-100dpi \ xfonts-100dpi \
fonts-noto-color-emoji \
x11-apps \ x11-apps \
x11-utils \ x11-utils \
xdg-utils \ xdg-utils \
@ -103,6 +104,8 @@ apt install -y --no-install-recommends \
ncdu \ ncdu \
htop \ htop \
git \ git \
telnet \
netcat \
gxmessage \ gxmessage \
gsimplecal \ gsimplecal \
alsa-utils \ alsa-utils \
@ -111,10 +114,10 @@ apt install -y --no-install-recommends \
xfe \ xfe \
xarchiver \ xarchiver \
lxterminal \ lxterminal \
lxpolkit \
gparted \ gparted \
dillo \ dillo \
falkon \ falkon \
fonts-noto-color-emoji \
gtk2-engines \ gtk2-engines \
gnome-themes-extra \ gnome-themes-extra \
squashfs-tools \ squashfs-tools \

View file

@ -125,14 +125,15 @@ $CHROOTCMD sed -i '/<\!-- GENERATED ICONLIST -->/r /tmp/jwm.iconlist' /etc/jwm/s
message "correct file permissions" message "correct file permissions"
#$CHROOTCMD /usr/bin/chmod 440 /etc/sudoers || error #$CHROOTCMD /usr/bin/chmod 440 /etc/sudoers || error
$CHROOTCMD /usr/bin/chmod 755 /root/nanodesk-installer.sh || error $CHROOTCMD /usr/bin/chmod 755 /root/nanodesk-installer.sh || error
$CHROOTCMD /usr/bin/chmod 755 /usr/bin/jwm-nanodesk || error $CHROOTCMD /usr/bin/chmod 755 /usr/bin/nanodesk || error
$CHROOTCMD /usr/bin/chmod 755 /usr/bin/nanodesk-first-start || error
message "set x-terminal-emulator to lxterminal" message "set x-terminal-emulator to lxterminal"
$CHROOTCMD /usr/bin/update-alternatives --set x-terminal-emulator /usr/bin/lxterminal $CHROOTCMD /usr/bin/update-alternatives --set x-terminal-emulator /usr/bin/lxterminal
message "set x-window-manager to jwm-nanodesk" message "set x-window-manager to jwm-nanodesk"
$CHROOTCMD /usr/bin/update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/jwm-nanodesk 25 $CHROOTCMD /usr/bin/update-alternatives --install /usr/bin/x-window-manager x-window-manager /usr/bin/nanodesk 25
$CHROOTCMD /usr/bin/update-alternatives --set x-window-manager /usr/bin/jwm-nanodesk $CHROOTCMD /usr/bin/update-alternatives --set x-window-manager /usr/bin/nanodesk
### set root password ### set root password
#message "set root password to 'debian'" #message "set root password to 'debian'"

View file

@ -193,12 +193,13 @@
<Key mask="A" key="Up">udesktop</Key> <Key mask="A" key="Up">udesktop</Key>
<Key mask="A" key="Down">ddesktop</Key> <Key mask="A" key="Down">ddesktop</Key>
<StartupCommand>nanodesk-first-start</StartupCommand>
<StartupCommand>$(find ~/.screenlayout/ -type f -executable|head -n 1)</StartupCommand> <StartupCommand>$(find ~/.screenlayout/ -type f -executable|head -n 1)</StartupCommand>
<StartupCommand>lxpolkit</StartupCommand> <StartupCommand>lxpolkit</StartupCommand>
<StartupCommand>pcmanfm --desktop</StartupCommand> <StartupCommand>pcmanfm --desktop</StartupCommand>
<StartupCommand>xscreensaver -no-splash</StartupCommand> <StartupCommand>xscreensaver -no-splash</StartupCommand>
<StartupCommand>volumeicon</StartupCommand> <StartupCommand>volumeicon</StartupCommand>
<StartupCommand>connman-gtk</StartupCommand> <StartupCommand>connman-gtk</StartupCommand>
<StartupCommand>dillo -f -g 640x480 /usr/share/doc/nanodesk/welcome/welcome.html</StartupCommand>
</JWM> </JWM>

View file

@ -0,0 +1,8 @@
#!/bin/sh
if [ ! -d ${HOME}/.config/nanodesk ]
then
mkdir -p ${HOME}/.config/nanodesk
xdg-user-dirs-update
dillo -f -g 640x480 /usr/share/doc/nanodesk/welcome/welcome.html &
fi

View file

@ -3,9 +3,9 @@ Name=nanodesk
Comment=nanodesk configuration for jwm - Minimalistic pure X11 window manager with menu/tray support Comment=nanodesk configuration for jwm - Minimalistic pure X11 window manager with menu/tray support
Type=Application Type=Application
Terminal=False Terminal=False
Exec=/usr/bin/jwm -f /etc/jwm/system.nanodesk.jwmrc Exec=/usr/bin/nanodesk
TryExec=jwm TryExec=nanodesk
Icon=/usr/share/jwm/jwm-red.svg Icon=/usr/share/nanodesk/images/linux_button.svg
Keywords=X11;floating;windowmanager; Keywords=X11;floating;windowmanager;
[Window Manager] [Window Manager]