[EXPERIMENT] Unity desktop for Porteus 5.01

Here is a place for your projects which are not officially supported by the Porteus Team. For example: your own kernel patched with extra features; desktops not included in the standard ISO like Gnome; base modules that are different than the standard ISO, etc...
i3slkiller
Black ninja
Black ninja
Posts: 43
Joined: 03 Feb 2020, 18:51
Distribution: Porteus XFCE v5.0rc2 x86_64
Location: Poland

[EXPERIMENT] Unity desktop for Porteus 5.01

Post#1 by i3slkiller » 29 Feb 2024, 21:45

Hi everyone :hi:
I'm making attempt to do something, which no one has ever did before - make Unity desktop working in Porteus.

Image


About:
This experiment aims to check if it's possible to have stable and fully working Unity desktop in Porteus. There is no guarantee that this will happen.

Currently this desktop environment is not suitable for everyday use in Porteus.


List of packages:

Code: Select all

## Precompiled packages to download
| Package name | Version | Package source |
|--------------|---------|----------------|
| boost | 1.78.0 | slackware patches |
| Cython | 0.29.36 | slackware patches |
| libyaml | 0.2.5 | slackware |
| gperf | 3.1 | slackware |
| json-glib | 1.6.6 | slackware |
| python-pygments | 2.10.0 | slackware |
| libwnck3 | 3.36.0 | slackware |
| libgtop | 2.40.0 | slackware |
| libxml2 | 2.11.7 | slackware patches |
| ibus | 1.5.25 | slackware |
| python-tomli | 1.2.2 | slackware |
| python-packaging | 21.3 | slackware |
| pyparsing | 2.4.7 | slackware |
| python-six | 1.16.0 | slackware |
| fcitx | 4.2.9.8 | slackware |
| sane | 1.0.32 | slackware |
| libcanberra | 0.30 | slackware |
| libdbusmenu | 16.04.0 | slackware |
| libxklavier | 5.4 | slackware |
| lightdm | 1.30.0 | salix |
| libgee | 0.20.4 | slackware |
| xapian-core | 1.4.19 | slackware |
| cups | 2.4.7 | slackware patches |

## Slackbuilds and source codes to download
| Slackbuild name | Version | Slackbuild source |
|-----------------|---------|-------------------|
| gtk+3-ubuntu | 3.24.33 | slackware (modified gtk+3) |
| lxdm | 20170805_e3e7517 | slackbuilds.org (modified) |
| compiz | 0.9.14.2 | slackware (modified) |
| appstream-glib | 0.8.2 | slackbuilds.org |
| gnome-common | 3.18.0 | slackbuilds.org |
| libxslt | 1.1.39 | slackware |
| bamf | 0.5.4 | slackbuilds.org |
| gnome-desktop | 41.1 | slackbuilds.org |
| frame | 2.5.0 | own |
| grail | 3.1.1 | own |
| geis | 2.2.17 | own |
| dee | 1.2.7 | own |
| glewmx | 1.13.0 | own |
| nux | 4.0.8+18.10.20180623 | own |
| telepathy-glib | 0.24.1 | slackbuilds.org |
| python3-flit_core | 3.9.0 | slackbuilds.org |
| python3-installer | 0.7.0 | slackbuilds.org |
| python3-build | 1.0.3 | slackbuilds.org |
| python3-pyproject-hooks | 1.0.0 | slackbuilds.org |
| python3-poetry-core | 1.9.0 | slackbuilds.org |
| python3-isodate | 0.6.1 | slackbuilds.org |
| python3-rdflib | 7.0.0 | own |
| zeitgeist | 1.0.4 | own |
| xpathselect | 1.4+15.10.20150824.1 | own |
| libunity-misc | 4.0.5+14.04.20140115 | own |
| libunity | 7.1.4+19.04.20190319 | own |
| gsettings-unity-schemas | 0.0.7+21.10.20210712 | own |
| libgusb | 0.4.8 | slackbuilds.org |
| colord | 1.2.7 | slackbuilds.org |
| unity-settings-daemon | 15.04.1+21.10.20220802 | own |
| ido | 13.10.0+22.10.20221007 | own |
| libindicator | 16.10.0+18.04.20180321.1 | slackware (modified) |
| unity | 7.7.0+23.04.20230222.2 | own |
| unity-greeter | 23.10.1 | own |
| libzeitgeist | 0.3.18 | own |
| libcolumbus | 1.1.0+15.10.20150806 | own |
| gnome-menus | 3.36.0 | slackbuilds.org |
| db53 | 5.3.28 | slackware (modified db48) |
| unity-lens-applications | 7.1.0+16.10.20160927 | own |
| unity-scope-home | 6.8.2+19.04.20190412 | own |
| geocode-glib | 3.26.4 | slackbuilds.org |
| libgweather | 40.0 | slackbuilds.org |
| geoclue2 | 2.6.0 | slackbuilds.org |
| gnome-settings-daemon | 41.0 | slackbuilds.org |
| indicator-session | 12.10.4 | own |

Known issues:
- non-obvious way of starting unity (see "Starting unity desktop")
- no indicators, no desktop
- no file manager, text editor or other basic programs
- lack of DE settings UI
- only application lens is working
- installed programs are shown after while
- changing settings in CCSM cause throw to login screen
- huge module (100+ MiB), will be slimmed down if desktop becomes usable
- ...?


Downloads:
Currently there is no prebuilt module to download, see below to make it yourself :download:


Build instructions:
Note: It's recommended to build module in virtual machine.

1. Boot into Always Fresh mode without 003-* module loaded.
2. Download all files from https://gitlab.com/i3slkiller/porteusbu ... type=heads (Code > Download this directory)
or execute these commands

Code: Select all

git clone https://gitlab.com/i3slkiller/porteusbuilds.git
cd porteusbuilds
git checkout 003-unity7
cd porteus/5.01/003-unity7
3. Download slackbuilds and source tarballs

Code: Select all

bash download.sh
4. Build module

Code: Select all

bash 003-unity7.PorteusBuild
Note: don't forget to set these variables:
- TMP = folder for saving temporary files by module build script
- SBTMP = folder for saving temporary files by SlackBuilds
- OUTPUT = folder where module will be saved

Code: Select all

TMP=/mnt/sda1/tmp SBTMP=/mnt/sdf3/sbtmp OUTPUT=/mnt/sdc4/porteus/modules bash 003-unity7.PorteusBuild


Starting unity desktop:
1. Boot into Always Fresh mode without 003-* module loaded in text mode
2. Activate 003-unity7-[...].xzm
3. Start login manager

Code: Select all

lxdm
4. Login to guest account. Make sure to select 'Unity session'