Monday 15 February 2021

Introducing the Linux Mint Devuan Edition

The Mint project has been a long-time favorite among Linux users who are mainly home users. Its friendly and common sense approach to a distribution appeals to many people who want to run something with the Linux kernel on their desktop. There's ample testimony of this, from the inception and creation of the Cinnamon desktop as common sense, traditional but still sleek and modern alternative to the evolving desaster and dumbing-down assault from other desktops at the time to coming up with great little tools like the Warpinator for file sharing on a LAN, the Hypnotix IPTV app and other little improvements to make things just a little easier, for the average Joe and the Techie who just wants to get things done alike.

For various reasons I am one of the very small percentile who happen to prefer the Debian Edition over the regular Ubuntu derived offering, which is almost identical in features though. For example, shortly after the release of Linux Mint 20.1 we saw all the small improvements and additions trickle down to LMDE4. Within days we received Cinnamon 4.8.6, including the new ability to add files and folders to Favorites in Nemo file manager which would be reflected in the menu and on the panel, Hypnotix, the Warpinator and new themes and backgrounds through the update channel. I think the newly refereshed icon theme was even trialled first in LMDE. It is definitely not a step child.

There's only one thing wrong with LMDE and that is that it's based on Debian rather than on Devuan with its more traditional and predictable init. So I set out on a little experiment to build a LMDE-like system on top of Devuan and what can I say, it works very well. Steps are outlined here on the LM forum.


Of course this being experimental it was done in Virtualbox. As you can see from the forum posts it all went as hoped for and there should be no reason why one could not perform a full install in this way.

Repeating the procedure here again for the sake of a complete guide>

1). I went with an automated default install that gives us Xfce4. The netinstall.iso is also an option if you like it more trimmed but I think it's quite nice to have Xfce as a fallback. It can always be removed later anyway.

2). Added LMDE repositories from my main install and imported the missing key with


CODE: SELECT ALL

apt-key adv --keyserver hkp://pool.sks-keyservers.net:80 --recv-keys A6616109451BBBF2

One difference is that Devuan does not use sudo by default so one has to become root to execute above or set this up yourself straight away. I didn't because I first wanted to know whether it will be worth the effort.

3). Set sources to prefer "debbie". Updated and upgraded the system to latest.

4). Installed mint-info-cinnamon and mint-common which pulls in some basic libraries for an LMDE system, mint-translations, mint-sources and xapps.

5). Proceeded with cinnamon-session instead of mint-meta-cinnamon. The latter would have installed the default set of packages for the Cinnamon edition, all of them, but also yanked out too many existing packages at this stage. We can still install it later.

Cinnamon-session removes packagekit, rtkit, slim, synaptic, system-config-printer and the meta package task-xfce-desktop, leaving Xfce otherwise intact. This is the main step and installs a basic LMDE desktop although not sure why tint2 and xwayland are part of it. If you try and remove tint2 it will install mate-panel and mate-polkit instead. UPDATE: Tint2 can be force removed with

CODE: SELECT ALL

dpkg --purge --force-all tint2

but this will mark cinnamon as a broken package. Similar for xwayland with gnome-session-bin. If one is serious, could these be rebuilt without said dependencies? FURTHER UPDATE: Whatever pulled in gnome-session-bin, it appears this can be removed again without causing problems.

6). Reinstall Synaptic - no penalty here.

7). Next I added a few themes, blackbird, bluebird and numix-gtk themes because at present Cinnamon will still look like stock.

8). Added gdebi. Interestingly, this actually works better in the Devuan setup and shows up in the menu with a minty package icon. In my standard upgraded LMDE 4 it does not show up and starting gdebi-gtk from a terminal gives a crippled interface without dialog.

9). Installed debian-system-adjustments which makes your system more mint-like and adds the mint theme to the boot loader. Installed apturl, mint-mirrors, mint-upgrade-info and mintupdate.

10). Installed lightdm and slick-greeter.

11). Reboot or log out and back in again. I believe I had already logged in to Cinnamon and changed the session in slim before it was removed. In any case, lightdm also provides an option to change the desktop session, although this functionality is hidden behind the mountain icon. Ok, pressing F1 in slim also isn't that intuitive.

In VirtualBox, enable 3d acceleration to get rid of the warning in Cinnamon.

12). And that is that, really. From here on it's just a matter of adding missing applications and art to achieve our goal and possibly remove some carried over from Xfce. I like to keep Mousepad around and the Xfce task manager but could get rid of the Ristretto picture viewer, the media players it comes with and Xfburn.
In Synaptic we have the Mint sources panel with its entries for maintenance and getting missing keys added in the background. The Mint software centre is not there yet.

13). We don't have a terminal yet in Cinnamon. Installed Gnome terminal and Gnome screenshot.

14). Installed some ubuntu fonts from the repository and the packages darkmint-gtk-theme, mint-artwork, some mint backgrounds, mint-themes, mint-x and mint-y icons.
Applying the right theming the desktop looks quite slick already and deceptively Mint.

15). The Network manager icon in the tray is a bit out of place next to Wicd and looks like duplicating functionality. It is crippled and not doing anything but unfortunately it seems it can't be removed. I tried and it showed up again after a reboot. Trying to uninstall network-manager will remove Cinnamon so I guess weĺl have to live with that applet sitting there - a small price to pay.

16). Added mint-meta-codecs for multimedia.

17). Added mint-report, mintinstall, mint-backup and timeshift. Personally I don't care much for the welcome screen at this stage, nor for mintnanny, so have left this out. You will get the welcome screen if you install mint-meta-core or mint-meta-cinnamon.

18). Install apt-file.

19). We may install the mint keyring but have added keys already in the beginning.

Step 19 is strictly not necessary as keys were already added in the beginning but adding the linuxmint-keyring package will make it show up in the package manager and should automatically give us future updates if ever there is a reissue. 

There's only a bit more to do. We'll pick up at step no. 20.

20.) Import external sources used in your previous LMDE/Debian proper install. Once external sources were re-added, what ever was added to apt sources that is not part of the official Mint and Devuan repositories, have mint-sources download missing keys and re-install all applications with markings of all installed applications previously exported from Synaptic.

21.) I noticed that the tray notification would always show updates are available, even if there weren't. I haven't found any workaround for this nor really looked into it. Just remove the update notification and check for updates periodically the old fashioned way - use apt in a terminal whenever it suits best or schedule with cron.

22.) Provider's VPN client worked (for me) with SysVinit no problem so no issue with NM being crippled and not having access to the OpenVPN plugin there. Most likely there is still backwards compatibility for this init through layers. As mentioned in 15 though, it looks like we'll have to live with the NM applet as it cannot be removed without taking Cinnamon with it. Happy to learn of another solution, perhaps the NM package can be replaced by one that does not depend on Cinnamon.


The last two are the only niggles I encountered, and small issues they are. Apart from that this will give you a fully functional and almost identical installation.

You may want to set up sudo if not happy with using the root account for admin jobs.

9 comments:

  1. Linux Mint Devuan Edition Mate Desktop would be great!

    ReplyDelete
    Replies
    1. Seconded for MATE. Also, the Mint installer is pretty nice.... /me ducks.

      Delete
  2. Great! I am really missing an official Devuan based Linux Mint Edition, which IMHO would be even more coherent than the Debian based one.

    ReplyDelete
    Replies
    1. Does MATE version have the same chain?

      Delete
  3. It could be better using OpenRC, runit or S6 as init system instead of SysVin, and FluxBox, BlackBox or Xfce as main Desktop Environment & Windows manager instead of Cinnamon. (Sory, but SysVin is too old fashioned for me, and Cinnamon is too bloated for and old laptop. I prefer the KISS principles of *nix systems, so I would be more happy for a Devuan based Linux Mint with OpenRC, runit or S6 init system and maximum an Xfce DE (but is more excepted a more lightweight one).
    How could I build a Linux Mint version of that style written above ?
    Can anybody help me with some detailed steps of that ? (I'm a semiexpert Linux user, but not an Linux guru. Of course, I know the basic shall orders, I use the terminal more than the GUI-ed programs for some system handling and administration as I use Linux more than 15 years. Now I use MX Linux on my laptop, but I use Linux Mint Xfce in many PC-s in my family, too. So I like the smooth and simple usability of LM... MX is a little bit more rough and needs more workaround to achieve the expected smooth usability, and that is my main reason to use a Devuan-based LM.)

    So let's go and help me to build a systemd-free but more simple and lightweight Linux Mint ! ;-)

    Thanks any help in anticipation.

    Bye,
    Sam

    P.S.:
    As you could discovered, I'm not a native English speaker, so please, be patient, and write your sentences in a simple way to avoid the unnecessary questions.
    Thank you very much.

    ReplyDelete
  4. Would you post, or link to online, your sources.list and apt preferences/configuration files please?

    "3). Set sources to prefer "debbie".

    Step #3 is important and I am not an "apt" expert. Other than this I think I can give this a try, and it may be fun.

    ReplyDelete
  5. "I'm sure you'll figure it out, it's not that hard! Good luck and have fun!"

    You were correct. I did figure it out, it was not hard at all, and I did have fun. I now have my own personalized LMDE (Linux Mint Devuan Edition)!

    In synaptic, it was Settings > Preferences > Distribution.

    ReplyDelete
  6. YES! I think this is such a great idea. The speed/stability of Devuan, and the sweet UI of Mint. I'd prefer MATE version (with Compiz), but still: AWESOME.

    ReplyDelete

Please leave your comment here. Spam will be deleted.

Note: only a member of this blog may post a comment.

12.04 LTS (1) 1280x1024 (2) 14.1 (1) absolute (6) accessibility (6) ad-blocking (2) administration (2) afterstep (1) android (3) announcements (15) anonymity (5) anonymous (1) anonymous browsing (1) anti-malware (1) anti-virus (1) antiX (4) applications (1) arch (11) archbang (11) archone (1) artix (2) authentication (1) backports (1) base (1) bash (2) bittorrent (2) block-this (1) bluestar (1) bodhi (1) books (1) brave (1) brave-browser (1) browsers (8) browsing (1) bsd (4) bug (2) bugs (3) calculate (1) centos (1) certification (1) chakra (2) changelog (22) chat (1) chatzilla (1) chromebook (1) chromium (2) click (1) commodore 64 (1) ControlD (1) critique (1) crunchbang (5) crux (1) ctkarch (1) cyber war (1) debian (29) desktop (62) devuan (6) digital certificates (1) digital memories (1) distributions (75) DNS (1) documentaries (1) documentation (2) dr. web (1) drivers (1) duo (1) e17 (1) email (1) encryption (3) enlightenment (1) events (1) exit nodes (1) ext4 (1) fake (1) fallout (1) fallout 4 (1) fedora (6) file server (2) file systems (1) firefox (3) flash (1) flush (1) fluxbox (7) fluxflux (1) FPS (2) free software (3) frugalware (1) FSF (1) ftp (2) furybsd (1) fusion (1) fvwm (1) fvwm-crystal (1) games (11) gaming (10) gentoo (3) gnome (9) gnome shell (4) gnu/linux (4) google (2) google-chrome (3) graphics (1) grml (1) gtk+ (1) hangouts (1) hardcore punk (1) hardware (3) how-to (23) humor (2) i3 (1) icewm (6) init (3) init freedom (5) interview (1) introduction (1) jibbed (1) jwm (2) kanotix (4) kde (21) KDE neon (1) kde3 (2) kernel (6) knoppix (1) kodi (2) kongoni (2) kubuntu (3) LAS (1) libtorrent-rasterbar (1) linux (20) linux light (16) Linux Mint (6) live (50) live medium (28) live system (13) liveslak (3) LMDE 4 (3) localisation (1) LTS (1) lxde (12) lxqt (1) mageia (1) mandriva (2) manjaro (1) marine life (1) mate (1) media center (6) mepis (2) mint (5) mobile (2) mobile security (1) movies (6) mozilla (3) music (1) MX Linux (1) netbook (2) netrunner (1) networking (5) news (3) nvidia (1) open source (1) openbox (15) openSUSE (4) opinion (13) other (5) overclockix (1) packages (1) pclinuxos (4) perl (1) plasma (5) poll (2) porteus (3) privacy (5) privoxy (1) programming (1) proxy (2) puppy (3) qbittorrent (1) qt (1) quick look (10) ratpoison (1) red hat (7) redcore linux (1) relax (1) release (2) rescue (3) reviews (57) rhythmbox (1) rolling (1) RPG (2) rpm (1) sabayon (5) salix (15) scientific (7) screenshots (2) scripts (3) seamonkey (1) security (4) semplice (1) server (5) shell (1) shooter (4) siduction (1) slackel (1) slackware (68) slackware 14.2 (2) slackware 15.0 (8) slackware-current (34) slax (7) slitaz (1) smart phones (2) sms (1) south africa (2) specialist (1) spoof (1) ssh (1) surfing (1) systemd (2) table mountain (1) TDE (1) tegra k1 (1) The Walking Dead (1) themes (1) tinyme (2) tips (1) tor (3) torrenting (1) torrents (1) traffic analysis (2) trinity (2) trisquel (1) TV shows (2) TWD (1) ubuntu (6) unity (2) unity linux (4) unix (1) upgrade (6) vector (2) video (4) vinux (2) virtualbsd (1) visual impairment (5) voip (1) vpn (5) VSIDO (1) wallpapers (3) window maker (4) window managers (1) windscribe (1) wireless (10) xfce (16) youtube (1) zenwalk (3) zombies (1) zoo (1)