Friday, 27 October 2017

Ubuntu Cinnamon


Besides Ubuntu there are also recognised Ubuntu flavours that include:
  • Kubuntu — Ubuntu with the K Desktop environment
  • Lubuntu — Ubuntu that uses LXDE
  • Mythbuntu — Designed for creating a home theatre PC with MythTV
  • Ubuntu Budgie — Simplicity and elegance – Budgie desktop powered by Ubuntu
  • Ubuntu GNOME — Ubuntu with the GNOME desktop environment
  • Ubuntu Kylin — Ubuntu localised for China
  • Ubuntu MATE — Ubuntu with the MATE desktop environment
  • Ubuntu Studio — Designed for multimedia editing and creation
  • Xubuntu — Ubuntu with the XFCE desktop environment
with the recent change that the final stable non-LTS release of Ubuntu GNOME is 17.04 as Ubuntu now uses the GNOME desktop.

But in addition to the flavour Ubuntu derivatives are customizations which consist of Ubuntu based distributions which are created and maintained by individuals and organizations outside of Canonical and have varying relationships in working with the Ubuntu community.

At least two of these customizations (Cubuntu and Mintuse the Cinnamon desktop which is a fork of the GNOME 3 desktop.

With Cinnamon now included in the 'universe' repository of community maintained software for Ubuntu three key packages are available:
  • cinnamon — Innovative and comfortable desktop (essentially the Cinnamon shell)
  • cinnamon-core — Cinnamon desktop environment - essential components
  • cinnamon-desktop-environment — Cinnamon desktop environment - full desktop with extra components
and these can be downloaded and installed to create an 'Ubuntu Cinnamon'. Note that the packages are inclusive so 'cinnamon-core' includes 'cinnamon' for example.

To demonstrate this I've respun the Ubuntu 17.10 ISO and installed the minimalist 'cinnamon' package and created ISOs suitable for booting on both Intel Atom-based and Intel Apollo-based mini PCs.

The ISOs can be downloaded from:

Atom (linuxium-atom-ubuntu-17.10-desktop-amd64.iso)
Apollo (linuxium-apollo-ubuntu-17.10-desktop-amd64.iso)

Whilst the ISOs target specific Intel architectures to ensure everything works they should also work on any Intel device.

Unfortunately respinning an Ubuntu ISO with Cinnamon normally fails because the required 'blueman' package installation tries to reload the system message bus configuration. However I've created a workaround which requires patching my 'isorespin.sh' script.

Anyone wanting to spin their own version can download the Ubuntu 17.10 ISO from http://releases.ubuntu.com/17.10 and respin using the following instructions in consultation with my documentation.

After downloading the ISO the next step is to download the basic patch 'cinnamon.isorespin.sh.patch' and decide which Cinnamon package from 'cinnamon', 'cinnamon-core' or 'cinnamon-desktop-environment' you want to use.

The basic patch assumes 'cinnamon' so for the others first update the patch with the package to be installed:

sed -i 's/"cinnamon"/"cinnamon-core"/' cinnamon.isorespin.sh.patch

or

sed -i 's/"cinnamon"/"cinnamon-desktop-environment"/' cinnamon.isorespin.sh.patch

Now patch my 'isorespin.sh' script. You must have the latest version so check using the command

isorespin.sh -v

or

./isorespin.sh -v

depending on whether you have installed the script to '/usr/local/bin' or run it locally. Make sure you have version '7.3.5' otherwise upgrade by downloading it from the link above. Then if you have installed the script to '/usr/local/bin' enter:

sudo patch -p0 -b -d / < cinnamon.isorespin.sh.patch

otherwise for a local script enter:

patch -p4 -b < cinnamon.isorespin.sh.patch

Now check that it has been updated by confirming the version again and making sure it is now '7.3.5.1'. The patching creates a new version of the script together with a backup of the original as 'isorespin.sh.orig' so you can easily revert as required.

Finally to update the wallpaper on the respun ISO two additional commands must be included as part of respinning:

-c "sed -i 's?/usr/share/themes/Adwaita/backgrounds/adwaita-timed.xml?/usr/share/backgrounds/warty-final-ubuntu.png?' /usr/share/glib-2.0/schemas/org.cinnamon.desktop.background.gschema.xml"
-c "glib-compile-schemas /usr/share/glib-2.0/schemas"

So the complete invocation for the 'Apollo' ISO above using the patched script was:

isorespin.sh -i ubuntu-17.10-desktop-amd64.iso --apollo -p cinnamon -c "sed -i 's?/usr/share/themes/Adwaita/backgrounds/adwaita-timed.xml?/usr/share/backgrounds/warty-final-ubuntu.png?' /usr/share/glib-2.0/schemas/org.cinnamon.desktop.background.gschema.xml" -c "glib-compile-schemas /usr/share/glib-2.0/schemas"




By respinning the ISO and just adding the 'cinnamon' package you will get a good indication of whether you like the interface. But be aware that the more Cinnamon you add the more desktop applications you will be duplicating with GNOME so a customized distro such as Linux Mint may be prefered.

Please donate if you find the ISOs or script useful using the following link http://goo.gl/nXWSGf.





21 comments:

  1. did not work. error mounting loop0, iso is Atom downloaded

    ReplyDelete
  2. Hey, Thanks for your efforts!

    I have an older version with 4.10.0-10-linuxium kernel installed (don't remember which Ubuntu version is it). Wifi works, Sound doesn't. I'm inlove with my OpenBox DE and thanks to you I have actual use for my Onda Obook 11 that came with Windows 10 and was really slow - Chipset is z8300.

    I've just tried the latest live ATOM Iso's but they don't recognize WIFI and also there is no sound.

    So because WIFI work on my current version and everything runs smooth (apart from sound) I will stay with the current version (with kernel 4.10.0-10-linuxium) at least for now.

    Is it possible to make Sound work on my current version? even with headphones or something like that (heard it was possible?)
    would really appreciate your help, and again thanks for your efforts making this.

    Thanks

    ReplyDelete
    Replies
    1. Did you try my suggestions in 'http://linuxiumcomau.blogspot.com.es/2017/10/fixing-broken-hdmi-audio.html'?

      Delete
  3. For Z83-II, no audio, no wifi, BT with some errors. This is a little computer with Z8350 micro and AP6255 (Broadcom Wifi/BT) chipset. Thanks

    ReplyDelete
    Replies
    1. Audio working after respin my own Mint ISO with:

      koko-VPCEB1J1E ISOSRESPIN # ./isorespin.sh -i linuxmint-18.2-cinnamon-64bit.iso -u -f linuxium-install-broadcom-drivers.sh -f linuxium-install-UCM-files.sh -f wrapper-linuxium-install-broadcom-drivers.sh -f wrapper-linuxium-install-UCM-files.sh -c wrapper-linuxium-install-broadcom-drivers.sh -c wrapper-linuxium-install-UCM-files.sh

      And modify '/etc/pulse/default.pa' as indicated in http://linuxiumcomau.blogspot.com.es/2017/10/fixing-broken-hdmi-audio.html

      Next step: Fix wifi... any ideas?

      Delete
    2. Did you try my suggestions from 'Wifi issues' section in 'http://linuxiumcomau.blogspot.com.au/2017/06/customizing-ubuntu-isos-documentation.html'?

      Delete
  4. i installed ubuntu 17.10 atom cinnamon to lenove miix 320 with z8350 cpu. and can found issues (no audio, no gravity sensor)

    ReplyDelete
    Replies
    1. As per the suggestion from 'thor17' try blacklisting the 'snd_hdmi_lpe_audio' module.

      Delete
    2. i have the same problem. if i blacklist the module no sound over HDMI. Is there a way to solve it?

      Delete
    3. No audio over HDMI or no audio over speakers/headphones or both?

      Delete
  5. @Child Choi
    I got also a Lenovo Miix 320, solving the audio problem is easy, just blacklist the snd_hdmi_lpe_audio module. It's causing the problem with Pulseaudio.
    Do you have a problem with the module axp288_fuel_gauge?

    I got almost everything working, with exception of the battery gauge. The module axp288_fuel-gauge is flooding the dbus with errors, so the tablet cannot be used, I had to blacklist the module.


    I uploaded the logs below:

    https://www.file-upload.net/download-12793834/dmesg2.log.txt.html
    https://www.file-upload.net/download-12793833/lspci.txt.html

    ReplyDelete
  6. Thank you Ian for your outstanding work! I have a little Minix PC (based on an Intel Atom Z3735F) and used your Ubuntu 16.04 ISO and with a little work converted it to Linux Mint Cinnamon (and removed the Unity and Ubuntu-only packages). I did try to create a respin using your scripts and Linux Mint 18.2 but could not get it to boot nomatter what I did. I did find that the Minix box locked up on a regular basis (usually in a web browser and when it was using the GPU) but I have not been able to find the exact cause. I tried just about every combination of GRUB boot parameters but the combination that worked (and seemed to prevent lockups) was adding

    intel_idle.max_cstate=1 maxcpus=3

    to GRUB_CMDLINE_LINUX_DEFAULT. Not ideal I know as I am not using one of my CPU cores but a stable PC is more important to me than a faster one that locks up sometimes! Posted in case somebody else might find it helpful. I have no idea why this works (thermal overload perhaps?) but it does.

    Running Linux Mint Cinnamon on this little Minix box makes it into a fantastic (and silent) little desktop machine which is plenty powerful for most general desktop tasks and even embedded development (as long as I keep my eye on memory usage as I only have 2GB of RAM)!

    ReplyDelete
  7. Hey! I do not know wether you are going to read it or not, but - how strong was the performance hit? I want to run Android Studio, which runs smoother than on windows - very smooth actually but because of the kernel it random freezes regardless of memory usage - c-state 1 does not help

    ReplyDelete
    Replies
    1. What kernel version are you using?

      Delete
    2. I reverted back to 4.10 but I previously used 4.14 and 4.13 as well, both hung and froze after a short time even with cstate disabled. I heared that there are some patches like the one from jbMacAZ, howver, I lack the space on my computer to compile it myself and no kernel I found contains it.

      Delete
  8. Thank you for sharing the great iso! Everything works on my Atom except for bluetooth. The widget allows to turn the bluetooth on but "add device" button is greyed out and if I click on "add adapter" it says "no adapter found". Bluetooth service is up. Any ideas on what is missing?

    ReplyDelete
    Replies
    1. Try following the section 'Wifi issues' in my documentation (see link above top right)..

      Delete
  9. This comment has been removed by the author.

    ReplyDelete
  10. Thank you for your working. But on 2 in 1 netbook didn't work sound. Any ideas? In netbook is Atom x5-Z8300. Thank you.

    ReplyDelete