introducing nanodesk-first-start, renaming stuff
This commit is contained in:
parent
599498ff59
commit
7a22d39616
7 changed files with 23 additions and 9 deletions
|
@ -1,3 +1,4 @@
|
|||
apt install -y \
|
||||
transmission \
|
||||
audacious
|
||||
audacious \
|
||||
vlc \
|
||||
|
|
|
@ -85,6 +85,7 @@ apt install -y --no-install-recommends \
|
|||
xscreensaver \
|
||||
xfonts-75dpi \
|
||||
xfonts-100dpi \
|
||||
fonts-noto-color-emoji \
|
||||
x11-apps \
|
||||
x11-utils \
|
||||
xdg-utils \
|
||||
|
@ -103,6 +104,8 @@ apt install -y --no-install-recommends \
|
|||
ncdu \
|
||||
htop \
|
||||
git \
|
||||
telnet \
|
||||
netcat \
|
||||
gxmessage \
|
||||
gsimplecal \
|
||||
alsa-utils \
|
||||
|
@ -111,10 +114,10 @@ apt install -y --no-install-recommends \
|
|||
xfe \
|
||||
xarchiver \
|
||||
lxterminal \
|
||||
lxpolkit \
|
||||
gparted \
|
||||
dillo \
|
||||
falkon \
|
||||
fonts-noto-color-emoji \
|
||||
gtk2-engines \
|
||||
gnome-themes-extra \
|
||||
squashfs-tools \
|
||||
|
|
|
@ -125,14 +125,15 @@ $CHROOTCMD sed -i '/<\!-- GENERATED ICONLIST -->/r /tmp/jwm.iconlist' /etc/jwm/s
|
|||
message "correct file permissions"
|
||||
#$CHROOTCMD /usr/bin/chmod 440 /etc/sudoers || 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"
|
||||
$CHROOTCMD /usr/bin/update-alternatives --set x-terminal-emulator /usr/bin/lxterminal
|
||||
|
||||
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 --set x-window-manager /usr/bin/jwm-nanodesk
|
||||
$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/nanodesk
|
||||
|
||||
### set root password
|
||||
#message "set root password to 'debian'"
|
||||
|
|
|
@ -193,12 +193,13 @@
|
|||
<Key mask="A" key="Up">udesktop</Key>
|
||||
<Key mask="A" key="Down">ddesktop</Key>
|
||||
|
||||
<StartupCommand>nanodesk-first-start</StartupCommand>
|
||||
<StartupCommand>$(find ~/.screenlayout/ -type f -executable|head -n 1)</StartupCommand>
|
||||
<StartupCommand>lxpolkit</StartupCommand>
|
||||
<StartupCommand>pcmanfm --desktop</StartupCommand>
|
||||
<StartupCommand>xscreensaver -no-splash</StartupCommand>
|
||||
<StartupCommand>volumeicon</StartupCommand>
|
||||
<StartupCommand>connman-gtk</StartupCommand>
|
||||
<StartupCommand>dillo -f -g 640x480 /usr/share/doc/nanodesk/welcome/welcome.html</StartupCommand>
|
||||
|
||||
|
||||
</JWM>
|
||||
|
|
8
nanodesk-files/usr/bin/nanodesk-first-start
Executable file
8
nanodesk-files/usr/bin/nanodesk-first-start
Executable 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
|
|
@ -3,9 +3,9 @@ Name=nanodesk
|
|||
Comment=nanodesk configuration for jwm - Minimalistic pure X11 window manager with menu/tray support
|
||||
Type=Application
|
||||
Terminal=False
|
||||
Exec=/usr/bin/jwm -f /etc/jwm/system.nanodesk.jwmrc
|
||||
TryExec=jwm
|
||||
Icon=/usr/share/jwm/jwm-red.svg
|
||||
Exec=/usr/bin/nanodesk
|
||||
TryExec=nanodesk
|
||||
Icon=/usr/share/nanodesk/images/linux_button.svg
|
||||
Keywords=X11;floating;windowmanager;
|
||||
|
||||
[Window Manager]
|
||||
|
|
Loading…
Reference in a new issue