move nanodesk-installer to /usr/sbin, changed welcome.md
This commit is contained in:
parent
fe11c67cea
commit
bc473cf9ac
4 changed files with 33 additions and 41 deletions
|
@ -124,7 +124,7 @@ $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/sbin/nanodesk-installer || error
|
||||
$CHROOTCMD /usr/bin/chmod 755 /usr/bin/nanodesk || error
|
||||
$CHROOTCMD /usr/bin/chmod 755 /usr/bin/nanodesk-first-start || error
|
||||
|
||||
|
|
|
@ -45,28 +45,26 @@
|
|||
<!-- Tray at the bottom. -->
|
||||
<Tray x="0" y="0" height="25" autohide="off">
|
||||
|
||||
<TrayButton icon="/usr/share/nanodesk/images/linux_button.svg">root:1</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton label="_" popup="Show desktop">showdesktop</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton icon="/usr/share/nanodesk/images/linux_button.svg">root:1</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton label="_" popup="Show desktop">showdesktop</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<!-- custom TrayButton -->
|
||||
<TrayButton popup="LXTerminal" icon="lxterminal">exec:lxterminal </TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton popup="Falkon Webbrowser" icon="falkon">exec:falkon</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton popup="PCManFM" icon="system-file-manager">exec:pcmanfm</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
|
||||
<Pager labeled="true"/>
|
||||
|
||||
<TaskList maxwidth="256"/>
|
||||
|
||||
<Dock/>
|
||||
<Clock format="%H:%M"><Button mask="123">exec:gsimplecal</Button></Clock>
|
||||
|
||||
<!-- custom TrayButton -->
|
||||
<TrayButton popup="LXTerminal" icon="lxterminal">exec:lxterminal </TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton popup="Falkon Webbrowser" icon="falkon">exec:falkon</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
<TrayButton popup="PCManFM" icon="system-file-manager">exec:pcmanfm</TrayButton>
|
||||
<Spacer width="2"/>
|
||||
|
||||
|
||||
<Pager labeled="true"/>
|
||||
|
||||
<TaskList maxwidth="256"/>
|
||||
|
||||
<Dock/>
|
||||
<Clock format="%H:%M"><Button mask="123">exec:gsimplecal</Button></Clock>
|
||||
|
||||
</Tray>
|
||||
</Tray>
|
||||
|
||||
<!-- Visual Styles -->
|
||||
<WindowStyle>
|
||||
|
|
|
@ -49,11 +49,9 @@ error () {
|
|||
}
|
||||
|
||||
finish () {
|
||||
message "removing firststart dialoge from jwm config"
|
||||
$CHROOTCMD /usr/bin/sed -i '/doc\/nanodesk\/welcome\/welcome\.html/d' /etc/jwm/system.jwmrc || error
|
||||
|
||||
message "removing installer files from target"
|
||||
$CHROOTCMD /usr/bin/rm -Rf /root/nanodesk-installer.sh || error
|
||||
$CHROOTCMD /usr/bin/rm -Rf /usr/sbin/nanodesk-installer || error
|
||||
|
||||
message "removing live-packages from target"
|
||||
$CHROOTCMD /usr/bin/apt -y purge 'live-boot*' 'live-tools*'
|
|
@ -1,39 +1,35 @@
|
|||
# Welcome to nanodesk
|
||||
|
||||
`nanodesk` is yet another leightweight Debian flavor/distribution,
|
||||
that comes with the `jwm` window manager.
|
||||
|
||||
nanodesk is a debian base linux "distribution". I put distribution in ""
|
||||
becuase it is just a minimal debian debootstrap installation, which you
|
||||
can boot from a DVD or usb-stick and install it to disk, with well picked
|
||||
packages I like and a customized jwm config. Taddaa - a new distribution.
|
||||
|
||||
|
||||
Everything done with having the goal to consume as less ram as possible.
|
||||
|
||||
This is just a fun project for learning purposes.
|
||||
|
||||
## install to disk
|
||||
|
||||
You can install nanodesk to your harddrive. Before doing so,
|
||||
you have to get your drive partitioned and formated.
|
||||
|
||||
Partiotioning on an empty drive is simple, you need two partitions
|
||||
Partitioning on an empty drive is simple, you need two partitions
|
||||
|
||||
- partition1: ext4 , mainfilesystem.
|
||||
- partition2 (optional, but recommended): swap
|
||||
|
||||
You can use `gparted` or `fdisk` for this. Please read their manuals.
|
||||
You can use `Menu -> System -> Gparted` or `fdisk` on the shell for this.
|
||||
Please read their manuals.
|
||||
|
||||
This done, just run `sudo /root/nanodesk-installer.sh /dev/sdXY` from the terminal
|
||||
This done, just run `sudo nanodesk-installer /dev/sdXY` from the terminal
|
||||
and the installation will start. (change /dev/sdXY to your drive)
|
||||
|
||||
## installing software
|
||||
|
||||
There is no GUI tool for installing software. You have to use `apt` from the
|
||||
terminal.
|
||||
There is `Menu -> System -> Synaptic` for installing software as GUI.
|
||||
Alternatively you can use `apt` from the terminal.
|
||||
|
||||
## getting root
|
||||
|
||||
In the LiveCD mode you can just do `sudo su -` without being asked for a password.
|
||||
When booting as livesystem, the default user is `debian` and the
|
||||
password is `debian` as well.
|
||||
|
||||
Depending on your choice by the installation, you will have to enter a password,
|
||||
when you created your own using by the installer.
|
||||
|
||||
So or so good old `su - ` works fine as well, just type in the root password.
|
||||
|
|
Loading…
Reference in a new issue