Commit 5b38c14b authored by dev1fanboy's avatar dev1fanboy

Latest updates from beta.devuan.org. Fixes codeblock issues.

parent 4778bfeb
# Devuan GNU/Linux installation, upgrades and minimalism
This documentation provides information on installing, upgrading and migrating to Devuan and how to reduce the system to a more minimal state.
This documentation provides information on installing, upgrading and migrating to Devuan and how to reduce the system to a more minimal state.
Documentation not yet ready for mass consumption can be found [here](https://git.devuan.org/dev1fanboy/Upgrade-Install-Devuan/wikis/home), including translations.
## All releases
[General information](general-information.md)
[General information](general-information)
[Minimal xorg install](minimal-xorg-install.md)
[Minimal xorg install](minimal-xorg-install)
[Minimal xfce install](minimal-xfce-install.md)
[Minimal xfce install](minimal-xfce-install)
[Openbox guide](openbox-guide.md)
[Openbox guide](openbox-guide)
[Network configuration](network-configuration.md)
[Network configuration](network-configuration)
[Devuan without D-Bus](devuan-without-dbus.md)
[Devuan without D-Bus](devuan-without-dbus)
[D-Bus free software](dbus-free-software.md)
[D-Bus free software](dbus-free-software)
## Jessie
[Migrate to Jessie](migrate-to-jessie.md)
[Migrate to Jessie](migrate-to-jessie)
[Migration with minimalism](migrate-jessie-minimalism.md)
[Migration with minimalism](migrate-jessie-minimalism)
[Jessie minimal install](jessie-minimal-install.md)
[Jessie minimal install](jessie-minimal-install)
## Ascii
[Migrate to Ascii](migrate-to-ascii)
[Migrate to Ascii](migrate-to-ascii.md)
[Upgrade to Ascii](upgrade-to-ascii.md)
[Upgrade to Ascii](upgrade-to-ascii)
---
......
# D-Bus free software in Devuan
This lists software included in Devuan that is free of D-Bus uncumberment.
## Window managers
With suggestions from the Devuan community
* fluxbox
......@@ -17,20 +15,17 @@ With suggestions from the Devuan community
* windowmaker
## File managers
* xfe
* pcmanfm
* mc
* rox-filer
## Display managers
* nodm
* xdm
* wdm
## Web browsers
* chimera2
* dillo
* edbrowse
......@@ -41,21 +36,18 @@ With suggestions from the Devuan community
* w3m
## Music players
* alsaplayer
* deadbeef
* cmus
* cdcd
## Media players
* xine-ui
* mplayer2
* mpv
* vlc
## XMPP clients
* profanity
---
......
# Debloating recommends
This document describes how to configure APT to treat recommends as optional and retroactively remove them. This removes optional packages that are not wanted or used in many cases. Thanks go to [TheFlash] for pointing out this feature of APT.
## Configuring APT
We will first configure APT to treat recommended packages as unimportant.
`root@devuan:~# editor /etc/apt/apt.conf.d/01lean`
Configure APT so that recommended packages are treated as optional.
```
~~~
APT::Install-Recommends "0";
APT::AutoRemove::RecommendsImportant "false";
```
~~~
## Protecting important packages
Whilst most recommended packages are not of an important nature, there are some packages you should protect from possible removal.
For the security of your browsers and other applications, we should make sure that SSL certificates will always be available by installing the ca-certificates package. Only skip this step if you know what you're doing.
......@@ -26,7 +23,6 @@ For the security of your browsers and other applications, we should make sure th
The SSL certificates package will now be marked as a manually installed package, instead of a dependency or recommended package. If the next step shows packages you wish to keep you can do the same for them before confirming any removals.
## Cleaning out unwanted packages
You can now retroactively remove all recommended packages that have become orphaned by the configuration changes.
`root@devuan:~# apt-get autoremove --purge`
......
# Devuan without D-Bus
This document describes how to remove D-Bus from Devuan incorporating changing to a lightweight window manager, choosing a browser and an alternative solution to D-Bus dependent auto-mounting.
## Choosing a window manager
Unlike desktop environments most window managers do not depend on D-Bus, so you should choose to install a window manager.
* blackbox
......@@ -13,10 +11,9 @@ Unlike desktop environments most window managers do not depend on D-Bus, so you
* openbox
### Installing and configuring Fluxbox
We will be using Fluxbox as it is simple and intuitive.
`root@devuan:~# apt-get install fluxbox `
`root@devuan:~# apt-get install fluxbox`
Make Fluxbox the default window manager for your user when using the startx script.
......@@ -31,11 +28,10 @@ A good option for a display manager is WDM.
`root@devuan:~# apt-get install wdm`
## Choosing a web browser
There are few web browsers depending on dbus components, however some are better than others. Here are a handful of web browsers you might choose from.
* xombrero
* lynx
* lynx
* links2
* dillo
* midori
......@@ -46,7 +42,6 @@ We will go with the well known Firefiox ESR since it's the most featured.
`root@devuan:~# apt-get install firefox-esr`
## Removing D-Bus from Devuan
We can now remove dbus from Devuan.
`root@devuan:~# apt-get purge dbus`
......@@ -55,29 +50,27 @@ We should also remove any packages orphaned by dbus removal.
`root@devuan:~# apt-get autoremove --purge`
## A simple alternative to auto-mounting
## A simple alternative to auto-mounting
Without D-Bus you will not have auto-mounting available for most file managers, because those parts require D-Bus and simpler methods of mounting are not always implemented. We will set up mount points for ourselves, so that more sensible file managers can mount the volumes with just a few clicks.
### Manual mount points
Make a directory for the new mount point.
`root@devuan:~# mkdir /media/usb0`
Backup your fstab before proceeding.
Backup your fstab before proceeding.
`root@devuan:~# cp /etc/fstab /etc/fstab.backup`
Now we can edit the fstab.
Now we can edit the fstab.
`root@devuan:~# editor /etc/fstab `
`root@devuan:~# editor /etc/fstab`
We need to add a mount point for a USB drive at the end of the fstab. Be sure to set the `user` option so that non-root users can mount the drive.
```
~~~
/dev/sdb1 /media/usb0 auto user,noauto 0 0
```
~~~
The device nodes for usb disks will vary depending on your setup. You can find out which device nodes will be used by plugging in the drive and using the `lsblk` utility.
......@@ -88,7 +81,6 @@ Plug in a USB drive to test your work.
`user@devuan:~$ umount -v /media/usb0`
### Choosing a file manager
For a graphical file manager that can mount and umount drives based on your fstab you can use Xfe.
`root@devuan:~# apt-get install xfe`
......@@ -97,7 +89,6 @@ An interesting and minimalistic file manager is the ncurses based Midnight Comma
`root@devuan:~# apt-get install mc`
---
<sub>**This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)] license. All trademarks are the property of their respective owners. This work is provided "AS IS" and comes with absolutely NO warranty.**</sub>
\ No newline at end of file
<sub>**This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)] license. All trademarks are the property of their respective owners. This work is provided "AS IS" and comes with absolutely NO warranty.**</sub>
# General information
This page provides general usage and information about Devuan. These are the basics that everybody should know if they want to use Devuan, and is intended to be suitable for anybody not already familiar with Debian.
## Supported architectures
* amd64
* i386
* armel
......@@ -11,17 +9,14 @@ This page provides general usage and information about Devuan. These are the bas
* arm64
## Target branches
* Jessie (stable release, equivalent to Debian Jessie)
* Ascii (equivalent to Debian Stretch)
* Ceres (equivalent to Debian Sid)
* Jessie (stable release, equivalent to Debian Jessie)
* Ascii (equivalent to Debian Stretch)
* Ceres (equivalent to Debian Sid)
## Differences from Debian
Devuan removes systemd as the default init, and blacklists the package from the repository so that it won't be installed. We also do not make use of systemd-shim to avoid using systemd. As of Ascii we are using eudev as the default device manager because udev now belongs to the same sources as systemd. Debian remains as our parent distribution, but we also include some custom changes of our own. This includes artwork and theming, free software developed within our community and some packages that are suitable for our user base.
## Writing an image to bootable media
All Devuan images are hybrid ISOs and may be written to a USB drive using dd. Alternatively you could use [UNetbootin](https://unetbootin.github.io/) which also works on Windows and macOS.
`root@GNU/Linux:~# dd if=filename.iso of=/dev/sdX && sync`
......@@ -30,14 +25,10 @@ If you don't have a spare USB drive you can write the image to a CD or DVD using
`user@GNU/Linux:~$ wodim dev=/dev/sr0 -eject filename.iso`
## Changing the BIOS boot order
In order to boot from your new install media you will have to change the BIOS boot order. It's not possible to cover the exact steps for doing this as every BIOS is different. You need to enter the BIOS or UEFI interface and change the boot order so that CD/DVD-ROM or USB drives come before hard disk drives. Entering the BIOS is usually as simple as pressing the `Delete` key before POST.
## Install guide
The friends of Devuan wiki has an [install guide](https://wiki.friendsofdevuan.org/doku.php/installing_devuan_1.0_jessie_alpha2) you can follow for installing from your bootable media. Since it's become a little outdated please follow it with care, and as always remember to backup your data first!
---
......
# Devuan Jessie minimal install
This document describes how to perform a minimal install of Devuan Jessie from a bootable drive such as a CD/DVD-ROM or USB thumb drive.
## Prerequisites
This install method is for advanced users who wants to get more (less actually but less is more!) out of their Devuan system. You should therefore already be familiar with installing Devuan from the expert installer and other general administration tasks as well as being comfortable using the console.
## Supported architectures
* amd64
* i386
## Introduction
We are going to use the installer as a means of easily configuring the system, whilst on the other hand shunning the preconfigured default package selection. To do this we will install only the bare essential packages allowed by apt, then chroot the installation. We will use the installer to setup the basics, which it will copy over to our install at the end of this process.
## Beginning steps
Once you have booted from the install media start the installer using the expert install option.
Go through all steps of the installer until the disk has been partitioned and formatted, then stop using the installer as we're doing everything ourselves until we finish the install.
......@@ -22,10 +19,9 @@ Go through all steps of the installer until the disk has been partitioned and fo
We will complete the first stage of the installation with debootstrap then chroot the install environment and continue from there. For those not familiar with debootstrap it is the tool responsible for installing Debian based systems.
## Debootstrap the target
First drop to a terminal. Press Alt + F2 now to do this and press ENTER to active the console.
The installer has already helped us set up and mount the partitions so the disk is ready to install to. Confirm this by having a look at the directory structure of /target.
The installer has already helped us set up and mount the partitions so the disk is ready to install to. Confirm this by having a look at the directory structure of /target.
`~ # ls /target`
......@@ -34,62 +30,46 @@ Now we will debootstrap to /target completing the first stage of the install. It
`~ # debootstrap --variant=minbase --include=nano jessie /target http://pkgmaster.devuan.org/merged`
## Chrooting the target
To continue with the install process we need to 'chroot' into the install environment so we can continue installing and configuring packages.
We first need to make proc, dev and sys available to the chroot environment.
`~ # mount -t proc proc /target/proc`
`~ # mount -o bind /dev /target/dev`
`~ # mount -o bind /sys /target/sys`
Now chroot the install environment.
`~ # chroot /target /bin/bash`
## Removing unwanted packages
You can now get a more minimal system by purging packages that aren't needed but which cannot be removed during the bootstrap process.
You can now get a more minimal system by purging packages that aren't needed but which cannot be removed during the bootstrap process.
Depending on your setup you may not care for internationalisation in debconf so this can be removed in that case.
`root@devuan:/# dpkg --purge debconf-i18n`
As you only need one gcc-base package you can remove gcc-4.8-base in favour of gcc-4.9-base.
`root@devuan:/# dpkg --purge gcc-4.8-base`
## Configuring APT to exclude recommended packages
As you may know recommended packages add much bloat to the system for the sake of features that are rarely ever essential. Another advantage of installing by debootstrap is you can make sure recommended packages do not bloat your system up to begin with. Try to remember that most browsers (and wget) require the ca-certificates package to verify SSL connections. So you will need to install this later for any systems that require this. Don't forget!
Use an editor to make the necessary changes.
`root@devuan:/# sensible-editor /etc/apt/apt.conf.d/01lean`
Add the following lines.
```
~~~
APT::Install-Recommends "0";
APT::AutoRemove::RecommendsImportant "false";
```
~~~
## Updating the system
Before continuing you should make sure your system is up-to-date with the latest security patches.
First add the repositories.
......@@ -98,12 +78,12 @@ First add the repositories.
Make sure your sources.list has these lines.
```
~~~
deb http://pkgmaster.devuan.org/merged jessie main
deb http://pkgmaster.devuan.org/merged jessie-updates main
deb http://pkgmaster.devuan.org/merged jessie-security main
deb http://pkgmaster.devuan.org/merged jessie-backports main
```
~~~
Update from the repositories so we can use them.
......@@ -114,62 +94,52 @@ You can now perform an upgrade to update the base packages.
`root@devuan:/# apt-get dist-upgrade`
## Choosing a debconf interface
There is more than one interface to debconf and you may choose between them based on your style as none are installed yet. This is a good opportunity to customise your system.
There is more than one interface to debconf and you may choose between them based on your style as none are installed yet. This is a good opportunity to customise your system.
### Whiptail
Whiptail is an easy to use interface similar to dialog and is the default debconf interface for Devuan.
### Dialog
Dialog is similar to whiptail and will be familiar to many users who have done text-based installs before.
### Readline
The readline interface is not so much an interface as it is a prompting for your choice of configuration options by numeric responses. The readline interface uses a Perl module so this may be a good choice if you already have other uses for Perl.
The readline interface is not so much an interface as it is a prompting for your choice of configuration options by numeric responses. The readline interface uses a Perl module so this may be a good choice if you already have other uses for Perl.
### Editor
This method of configuring packages is not an interface, rather debconf will open an editor at first relevant line in the configuration file for the installed package. This could be a useful tool for learning more about your system, or give you more control if it is needed.
## Install and configure the debconf interface
A good choice for minimalism purposes is the default whiptail interface.
`root@devuan:/# apt-get install whiptail`
The readline interface is a good alternative for console fans.
`root@devuan:/# apt-get install libterm-readline-perl-perl`
`root@devuan:/# apt-get install libterm-readline-perl-perl`
Or use the dialog interface if you prefer it over whiptail.
`root@devuan:/# apt-get install dialog`
`root@devuan:/# apt-get install dialog`
Now reconfigure debconf to let it know which interface you want to use.
Now reconfigure debconf to let it know which interface you want to use.
`root@devuan:/# dpkg-reconfigure debconf`
## Adding the network components
## Adding the network components
Install the minimum required packages to get networking.
`root@devuan:/# apt-get install netbase net-tools ifupdown`
Some optional network tools may be wanted, especially a DHCP client for automatic network configuration.
Some optional network tools may be wanted, especially a DHCP client for automatic network configuration.
`root@devuan:/# apt-get install isc-dhcp-client inetutils-ping`
## Installing the Linux kernel
In order to boot from your new GNU/Linux system you will need to install the Linux kernel.
```root@devuan:/# apt-get install linux-image-`dpkg --print-architecture` ```
## Installing the boot loader
Since it has a smaller installed size and more support than lilo we will be using GRUB2 as the boot loader.
If you are using logical volumes you need to install the lvm2 package first.
......@@ -180,14 +150,13 @@ If you have another OS installed on this system and want to boot it, install the
`root@devuan:/# apt-get install os-prober`
We will now install the bootloader.
We will now install the bootloader.
`root@devuan:/# apt-get install grub2`
Usually you will want to install the bootloader on the MBR of the first disk which will most often be /dev/sda.
## Optional extras
Some optional packages for a base install.
`root@devuan:/# apt-get install psmisc pciutils rsyslog less`
......@@ -200,24 +169,21 @@ If shell access over the network is needed don't forget to install the shell ser
`root@devuan:/# apt-get install openssh-server openssh-client openssh-blacklist`
## Exiting the chroot environment (cleanly)
First exit the chroot environment.
`root@devuan:/# exit`
Make sure proc, dev and sys are unmounted.
```
~ # umount /target/proc
~ # umount /target/dev
~ # umount /target/sys
```
`~ # umount /target/proc`
## Finishing the installation
`~ # umount /target/dev`
It's time to tell the installer to finish the install now. All remaining configuration files will be created on the target system so this step must not be omitted.
`~ # umount /target/sys`
## Finishing the installation
It's time to tell the installer to finish the install now. All remaining configuration files will be created on the target system so this step must not be omitted.
Head back over to the installer by pressing Alt + F1 together and skip down to the step that finishes the install.
......
# Migrate to Devuan Jessie with minimalism
This guide will take you through what is necessary to migrate to Devuan, configure apt for minimalism, remove D-Bus from the system and manage the network.
## Migrate to Devuan
To begin the migration start by editing the sources.list so we can update the package indexes with apt-get.
`root@debian:~# editor /etc/apt/sources.list`
Comment out all other lines in your sources.list and add the following.
Comment out all other lines in your sources.list and add the following.
```
deb http://pkgmaster.devuan.org/merged jessie main
deb http://pkgmaster.devuan.org/merged jessie-updates main
deb http://pkgmaster.devuan.org/merged jessie-security main
~~~
deb http://pkgmaster.devuan.org/merged jessie main
deb http://pkgmaster.devuan.org/merged jessie-updates main
deb http://pkgmaster.devuan.org/merged jessie-security main
deb http://pkgmaster.devuan.org/merged jessie-backports main
```
~~~
Update the package indexes so we can fetch packages from the Devuan repository.
......@@ -29,22 +27,21 @@ Now that the Devuan keyring is installed you should update the indexes again so
`root@debian:~# apt-get update`
Finish the upgrade process.
Finish the upgrade process.
`root@debian:~# apt-get dist-upgrade`
## Configure minimalism
Thanks to a tip from [TheFlash] you can debloat your system in a very neat way. We will configure apt to treat recommended packages as unimportant.
`root@devuan:~# editor /etc/apt/apt.conf.d/01lean`
Add the following lines:
```
~~~
APT::Install-Recommends "0";
APT::AutoRemove::RecommendsImportant "false";
```
~~~
Whilst most recommended packages are not of an important nature, there are some packages you should protect from removal.
......@@ -57,11 +54,9 @@ The SSL certificates package will now be marked as a manually installed package,
`root@devuan:~# apt-get autoremove --purge`
## Devuan without D-Bus
Removing dbus is more involved and requires some compromises.
### Mounting volumes as a user
An alternative to D-Bus dependent auto-mounting is to setup the mount points yourself, and install a file manager that can mount volumes without D-Bus.
Since we will be editing fstab you should back it up first.
......@@ -74,9 +69,9 @@ Now you can edit your fstab.
Append the following to your fstab, substituting the correct devices node for your USB drive if it's different. Be sure to set the `user` option to allow non-root users to mount the drive.
```
~~~
/dev/sdb1 /media/usb0 auto user,noauto 0 0
```
~~~
You can plug in a USB drive and use the `lsblk` utility to determine the correct device nodes.
......@@ -91,7 +86,6 @@ Plug in a usb drive and test your work as a regular user.
`user@devuan:~$ umount -v /media/usb0`
### Installing D-Bus independent software
Most desktop environments require dbus, so a window manager should be chosen instead. We will use fluxbox as it's intuitive, lightweight and can be built upon easily.
`root@devuan:~# apt-get install fluxbox menu fbpager feh`
......@@ -117,14 +111,13 @@ A good choice for a browser is firefox-esr as it does not depend on dbus directl
`root@devuan:~# apt-get install firefox-esr`
### Configure the network
Instead of of using a dbus dependent network manager we will configure the network for use with multiple interfaces manually.
`root@devuan:~# editor /etc/network/interfaces`
Here is a configuration for multiple wireless networks on the same interface. By adding a stanza for a network you use only some of the time, you can override your default network configuration when it suits you. For more information see [the debian reference](https://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_manually_switchable_network_configuration) about switchable network configuration which I refered to for the wireless section.
```
~~~
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-ssid myssid
......@@ -133,13 +126,13 @@ iface wlan0 inet dhcp
iface work inet dhcp
wpa-ssid myssid
wpa-psk mypassphrase
```
~~~
So for example you can change to the work network using `ifdown wlan0` and `ifup wlan0=work` as root.
Wired network configuration is a lot simpler.
```
~~~
# Automatic network configuration, brought up only when a link is detected.
allow-hotplug eth0
iface eth0 inet dhcp
......@@ -150,12 +143,11 @@ iface eth1 inet static
address 192.168.1.5
netmask 255.255.255.0
gateway 192.168.1.1
```
~~~
For more information about interfaces see `man 5 interfaces`.
For more information about interfaces see `man 5 interfaces`.
## Finishing up
A one time reboot is required to remove systemd because it is running as pid1.
`root@devuan~# reboot`
......@@ -182,4 +174,4 @@ This is a good time to remove old package archives left over from your Debian in
---
<sub>**This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)] license. All trademarks are the property of their respective owners. This work is provided "AS IS" and comes with absolutely NO warranty.**</sub>
\ No newline at end of file
<sub>**This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [[CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/)] license. All trademarks are the property of their respective owners. This work is provided "AS IS" and comes with absolutely NO warranty.**</sub>
# Migrate to Devuan Ascii
This document describes how to migrate to Devuan Ascii from Debian Jessie or Stretch.
## Migrating from the GNOME desktop
Because there is no transitional package yet GNOME users will need to install xfce4 and slim manually. Choose slim as the default display manager when prompted.
`root@debian:~# apt-get install xfce4 slim`
......@@ -13,8 +11,7 @@ Set the session manager to startxfce4 so that the new desktop can be used later.
`root@debian:~# update-alternatives --config x-session-manager`
## Replacing network manager with wicd
If you are relying on network manager for network access you need to change to wicd now. Another option is manual [network configuration](network-configuration.md).
If you are relying on network manager for network access you need to change to wicd now. Another option is manual [network configuration](network-configuration).
`root@debian:~# apt-get install wicd`
......@@ -27,7 +24,6 @@ Wireless connections should now be configured to automatically connect with wicd
`root@debian:~# /etc/init.d/network-manager stop`
## Perform the migration
`root@debian:~# apt-get install sysvinit-core`
A reboot is required to switch sysvinit to pid1 so we can remove systemd.
......@@ -44,12 +40,12 @@ Edit the sources.list file so that we can switch to the Devuan repositories.
Add the Devuan mirrors with the Ascii branch name. Comment out any other lines.
```
~~~
deb http://pkgmaster.devuan.org/merged ascii main
deb http://pkgmaster.devuan.org/merged ascii-updates main
deb http://pkgmaster.devuan.org/merged ascii-security main
deb http://pkgmaster.devuan.org/merged ascii-backports main
```
~~~
Update the package indexes so we can install the Devuan archive keyring.
......@@ -68,8 +64,7 @@ Finally we can migrate to Devuan.
`root@debian:~# apt-get dist-upgrade`
## Post migration tasks
Systemd components should now be removed from the system.
systemd components should now be removed from the system.
`root@devuan:~# apt-get purge systemd-shim`
......
# Migrate to Devuan Jessie
This document describes how to migrate to Devuan Jessie from Debian.
## Performing the migration
We need to edit the mirrors list so we can set the Devuan repository as the source for packages.
`root@debian:~# editor /etc/apt/sources.list`
Change your mirrors to the Devuan mirror, commenting out the previous Debian mirrors.
```
~~~
deb http://pkgmaster.devuan.org/merged jessie main
deb http://pkgmaster.devuan.org/merged jessie-updates main
deb http://pkgmaster.devuan.org/merged jessie-security main
deb http://pkgmaster.devuan.org/merged jessie-backports main
```
~~~
Before we can fetch packages from the Devuan repository we need to update the package index files.
......@@ -38,12 +36,11 @@ In order to remove systemd as pid1 a one time reboot is required.
`root@devuan:~# reboot`
## Post migration tasks
If you were using GNOME under Debian before migration I recommend changing the session manager to startxfce4.
`root@devuan:~# update-alternatives --config x-session-manager`
Systemd components should now be removed from the system.
systemd components should now be removed from the system.
`root@devuan:~# apt-get purge systemd systemd-shim`
......
# Minimal XFCE install
This document describes how to perform a minimal xfce4 install along with some optional extras that are usually wanted.
This document describes how to perform a minimal xfce4 install along with some optional extras that are usually wanted.
## Installing XFCE
Install the core packages that will be enough to allow you to start using your new desktop environment.
Install the core packages that will be enough to allow you to start using your new desktop environment.
`root@devuan:~# apt-get install xfce4-panel xfdesktop4 xfwm4 xfce4-settings xfce4-session`
......@@ -13,16 +11,14 @@ You might also want these packages for a more full desktop.
`root@devuan:~# apt-get install tango-icon-theme xfwm4-themes xfce4-terminal xfce4-appfinder thunar xfce4-power-manager ristretto`
### Adding support for auto-mounting
Install the necessary packages for thunar (the xfce file manager) to support auto-mounting.
Install the necessary packages for thunar (the xfce file manager) to support auto-mounting.
`root@devuan:~# apt-get install thunar-volman gvfs policykit-1`
After you start your desktop environment you can now use the xfce settings manager to configure auto-mounting.
After you start your desktop environment you can now use the xfce settings manager to configure auto-mounting.
### Adding a display manager
If a display manager is needed I recommend slim which is the default in Devuan.
If a display manager is needed I recommend slim which is the default in Devuan.
`root@devuan:~# apt-get install slim`
......@@ -31,7 +27,6 @@ Now run update-alternatives to set the x-session-manager to xfce4-session.
`root@devuan:~# update-alternatives --config x-session-manager`
### Using xfce without a display manager
Login to a regular user account at the console and use the startxfce4 script.
`user@devuan:~$ startxfce4`
......
# Minimal xorg install
This document describes how to perform a minimal xorg installation and some optional good defaults.
This document describes how to perform a minimal xorg installation and some optional good defaults.
## Install the core xorg packages
First log in at a console as root using the password you setup during install.
We will now install the minimal set of packages needed for xorg.