You are not logged in.
chillfan wrote:Yeah gvfs combined with dbus and polkit takes care of auto mounting see the thunar-volman package for thunar auto mounting, spacefm is supposed to work for auto mounting, maybe xfe can do it too, not sure about pcmanfm (the default file manager for lxde).
I have just had a quick look at installing gvfs and I see that it will pull in libsystemd0, so I have decided not to do that.
Geoff
Try with spacefm if you really need automounting, there is no dependency on systemd that I know of, I believe it uses udisks2 and dbus directly. Alternatively you can try mounting without dbus.
Personally my current collection of fonts works well for my needs, which are very minimal and functional but don't go far beyond that. Yeah gvfs combined with dbus and polkit takes care of auto mounting see the thunar-volman package for thunar auto mounting, spacefm is supposed to work for auto mounting, maybe xfe can do it too, not sure about pcmanfm (the default file manager for lxde).
I'm not sure if lxde can be fully systemd free on Devuan yet, but there are some things you can try.
systemd looks to be an optional dependency on lxsession, with the other choices being consolekit or upower. Since you have one of those installed (systemd) apt will remove lxsession unless one of the others are installed, you need at least one of them to keep lxsession installed.
You could try
apt-get install upower
or
apt-get install consolekit
Then
apt-get purge systemd systemd-shim libsystemd0
Try purging systemd and systemd-shim separately as well, especially these don't have a great deal of things depending on them, but libsystemd0 has about 60 packages depending on it. Also, avoid using backports for now unless using these instructions.
apt-get purge systemd systemd-shim
One cause of problems with the lxde package also looks to be recommended packages which have a dependency on libsystemd0. I'd say remove those recommends and try installing things you really want on a case by-case basis.
apt-cache depends lxde | grep Recommends
Then make a list and purge those
apt-get purge pkg1 pkg2 etc
particularly you should remove
network-manager-gnome
gnome-system-tools
gnome-disk-utility
gnome-mplayer
transmission-gtk
and maybe the gvfs packages, depending on your setup and wether or not you're willing to tolerate libsystemd0.
Personally I would prefer to start with purging systemd systemd-shim libsystemd0, then install lxde again with
apt-get install lxde upower --no-install-recommends
I don't recall exactly what I did to downgrade all the packages I got grom backports, but it may have involved uninstalling a bunch of stuff (including xorg) and then reinstalling. You can see what you have installed from backports with
dpkg -l | grep bpo
I had the same problem with the system being spammed full of backports.
After checking for packages named bpo as above and disabling the backports repository I did the following:
apt-cache show pkgname|grep Vers
From here I just chose the latest version that did not include "bpo" and used apt-get to downgrade the packages individually.
apt-get install pkgname=pkgversion
Where pkgname is the package you want and pkgversion is the latest one returned by the previous command. Where possible I removed and reinstalled packages that wouldn't clobber the system and downgraded the rest. It's a little time consuming, but everything turned out OK.
This guide will show you how to install and configure openbox complete with composite manager, desktop icons, background support, taskbar and a graphical file manager.
Installing the packages
We will start by installing the minimum packages necessary to use and configure openbox.
user@devuan:~$ sudo apt-get install openbox obconf obmenu
It is also helpful to install the menu package as it provides menu items for software that supports it.
user@devuan:~$ sudo apt-get install menu
We should now install the compton composite manager.
user@devuan:~$ sudo apt-get install compton
The idesk program can be used to manage desktop icons and background images.
user@devuan:~$ sudo apt-get install idesk
For a task bar we will use the lightweight tint2.
user@devuan:~$ sudo apt-get install tint2
We will use the Xfe file manager because it is able to mount volumes without using an auto-mounter backend - provided that user mode is set on a per mount-point basis in /etc/fstab.
user@devuan:~$ sudo apt-get install xfe
By default openbox uses scrot to take screenshots when the screenshot key on your keyboard is pressed. If desired install this now, screenshots will be saved in your home directory in PNG format.
user@devuan:~$ sudo apt-get install scrot
In the section on configuring idesk we will be using the default Devuan background - purpy. Install the desktop-base package that provides the purpy background.
user@devuan:~$ sudo apt-get install desktop-base
Configure Openbox
When we start openbox we want to make sure that our composite manager, desktop manager, and taskbar is available. We will need to make sure the openbox directory exists in ~/.config and create an autostart file for openbox to read.
user@devuan:~$ mkdir -p ~/.config/openbox
user@devuan:~$ sensible-editor ~/.config/openbox/autostart
In the autostart file add the following and save the file. Note that each line ends with & except the last line.
compton &
idesk &
tint2
Configure idesk
In order to use idesk we need to create the directory it uses to store desktop icons or it will not start.
user@devuan:~$ mkdir ~/.idesktop
Start idesk so that it generates the default configuration. You should kill the process using ctrl + c afterwards.
user@devuan:~$ idesk
We will now modify the config file so that we can set the purpy background.
user@devuan:~$ nano ~/.ideskrc
Find the line that reads "Background.File: None" so that you can set the default background. We will change it to the purpy background.
Background.File: /usr/share/images/desktop-base/your-way_purpy-wide-large.png
Now that we've got a background we can setup some icons. Using the default desktop link as a template we will create a desktop icon for Xfe.
user@devuan:~$ cp ~/.idesktop/default.lnk ~/.idesktop/xfe.lnk
Open the new Xfe desktop link with an editor.
user@devuan:~$ sensible-editor ~/.idesktop/xfe.lnk
Make your new desktop link look like the following. Note that we have changed the vertical position (Y:) for this icon so it does not overlap the default desktop icon.
table Icon
Caption: Xfe
Command: /usr/bin/xfe
Icon: /usr/share/pixmaps/xfe.xpm
Width: 48
Height: 48
X: 30
Y: 120
end
Login using the openbox session manager
If you use a display manager you may now login to your openbox desktop by choosing openbox-session as the session manager. If not you can use your user xinitrc configuration file and invoke the startx script after you login at the console.
user@devuan:~$ echo "exec openbox-session" > ~/.xinitrc
user@devuan:~$ startx
If you prefer you can change the default session manager to openbox-session using alternatives so that it is globally honoured.
user@devuan:~$ sudo update-alternatives --config x-session-manager
This work is released under the Creative Commons Attribution-ShareAlike 4.0 International [CC BY-SA 4.0] license. All trademarks are the property of their respective owners. Please note that this work is provided "AS IS" and comes with absolutely NO warranty.
Since much has changed in Devuan and improved since first posting, this guide has been completely revamped and updated to the latest information. This will take you through what is necessary to migrate to Devuan Jessie. The latest information about migration to the ASCII branch can be found here.
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.
root@debian:~# apt-get update
The Devuan keyring is required to authenticate packages.
root@debian:~# apt-get install devuan-keyring --allow-unauthenticated
Now that the Devuan keyring is installed you should update the indexes again so that packages are authenticated from now on.
root@debian:~# apt-get update
We can now migrate to Devuan. Choose slim as the default display manager if prompted.
root@debian:~# apt-get dist-upgrade
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.
root@devuan:~# apt-get purge systemd systemd-shim
If you are not using D-Bus you might be able to remove libsystemd0.
root@devuan:~# apt-get purge libsystemd0
Purge any orphaned packages left over from your previous Debian install.
root@devuan:~# apt-get autoremove --purge
This is a good time to clean out old package archives left over from your Debian system.
root@devuan:~# apt-get autoclean
This work is released under the Creative Commons Attribution-ShareAlike 4.0 International CC 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.