<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="https://dev1galaxy.org/extern.php?action=feed&amp;tid=1581&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Installing GNOME on Devuan Ceres]]></title>
		<link>https://dev1galaxy.org/viewtopic.php?id=1581</link>
		<description><![CDATA[The most recent posts in Installing GNOME on Devuan Ceres.]]></description>
		<lastBuildDate>Tue, 19 Sep 2017 12:27:50 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=5088#p5088</link>
			<description><![CDATA[<p><strong>Fixing gnome-session exiting on startup</strong></p><p>Sorry for the long delay there, but I&#039;ve found a way to fix gnome-session crashing on startup. First, open a terminal or a root text editor, then paste this script:</p><div class="codebox"><pre><code>#!/bin/bash
gnome-shell &amp;
sleep 0.1
cd /usr/lib/gnome-settings-daemon
for i in *; do
    /usr/lib/gnome-settings-daemon/$i &amp;
done
[ -x &quot;$(which fbautostart)&quot; ] &amp;&amp; fbautostart
while [ 1 ]; do sleep 999d; done</code></pre></div><p>And save it as /usr/local/bin/gnome-session. Change the file&#039;s attributes with:</p><div class="codebox"><pre><code>sudo chmod 0755 /usr/local/bin/gnome-session</code></pre></div><p>This will create a sort-of &quot;shim&quot; that will not exit if one of the gnome-settings-daemon applications fail to load.</p><p>If you want to autostart applications in your ~/.config/autostart directory, simply run:</p><div class="codebox"><pre><code>sudo apt install fbautostart</code></pre></div><p>And the script will autostart applications when the shell is loaded.</p><p><strong>GNOME components fails to load due to XDG_RUNTIME_DIR</strong></p><p>If GNOME components fails to load, and it says something like &quot;XDG_RUNTIME_DIR not set in the environment&quot;, make an .xprofile file in your home directory if it doesn&#039;t exist, and add this:</p><div class="codebox"><pre><code>#!/bin/bash

if [ &quot;x$XDG_RUNTIME_DIR&quot; = &quot;x&quot; ]; then
    export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir
    if [ -d &quot;$XDG_RUNTIME_DIR&quot; ]; then
        mkdir -p &quot;$XDG_RUNTIME_DIR&quot;
        chmod 0700 &quot;$XDG_RUNTIME_DIR&quot;
    fi
fi</code></pre></div><p>And chmod +x it, logout and log back in.</p><p><strong>Script to auto-update gnome-settings-daemon</strong></p><p>Sometimes, you&#039;re too lazy to get of your fat ass and compile a package and upload it to github. Luckily for you, you&#039;ve made a script which will update an important GNOME component. This script will pull the gnome-settings-daemon package from the Devuan repository, strip the systemd part out of it, and install it.</p><div class="codebox"><pre><code>#!/bin/bash
TIME=&quot;$(date +%s)&quot;
mkdir /tmp/gsd-$TIME
apt download gnome-settings-daemon
NAME=&quot;$(find ./gnome-settings-daemon*.deb)&quot;
ar x $NAME
tar xzf control.tar.gz
sed -i &quot;s/libpam-systemd/elogind/g&quot; control
tar c {post,pre}{inst,rm} md5sums control conffiles | gzip -c &gt; control.tar.gz
ar rcs newpackage.deb debian-binary control.tar.gz data.tar.*
sudo apt install ./newpackage.deb
rm -rf /tmp/gsd-$TIME</code></pre></div><p>Save it as update-gnome-settings-daemon.sh or something, chmod +x the file and run it to update/install the daemon.</p><p>Happy GNOMEing!</p>]]></description>
			<author><![CDATA[dummy@example.com (shwsh)]]></author>
			<pubDate>Tue, 19 Sep 2017 12:27:50 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=5088#p5088</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4945#p4945</link>
			<description><![CDATA[<div class="quotebox"><cite>shwsh wrote:</cite><blockquote><div><p>As you all gnow, <strong>GNOME</strong>, the pinnacle of desktop GUI design,</p></div></blockquote></div><p>LOLOLOLOL!!!</p><p>Nice! I literally LOL&#039;ed out loud, people are looking at me funny in the coffeeshop. <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" /></p><p>Seriously though, nice work getting the bad tablet/phone-wannabe-interface to actually kinda work for a change, I gotta say that takes some serious skills, kudos!</p>]]></description>
			<author><![CDATA[dummy@example.com (greenjeans)]]></author>
			<pubDate>Thu, 07 Sep 2017 20:26:25 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4945#p4945</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4939#p4939</link>
			<description><![CDATA[<div class="quotebox"><cite>fsmithred wrote:</cite><blockquote><div><p>shwsh, did you do this on jessie, ascii or ceres?&#160; 3.24.3-1 is in buster/sid.</p></div></blockquote></div><p>Info in the image&#039;s terminal says ceres</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Wed, 06 Sep 2017 19:14:34 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4939#p4939</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4938#p4938</link>
			<description><![CDATA[<p>shwsh, did you do this on jessie, ascii or ceres?&#160; 3.24.3-1 is in buster/sid.</p>]]></description>
			<author><![CDATA[dummy@example.com (fsmithred)]]></author>
			<pubDate>Wed, 06 Sep 2017 19:11:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4938#p4938</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4937#p4937</link>
			<description><![CDATA[<p>I once clicked on the wrong file, years and years ago, I think it was Jessie 8.2, and ended up with a live image with gnome.&#160; It took about 10&#039; and I shut it down, erased and downloaded something else.</p><p>Another time I tried Cinnamon just to see what all the hoopla was about.&#160; It lasted a day and a half.&#160; I&#039;ve never seen so many hits and misses on a linux desktop, things crashing, things locking up, ever before.&#160; Even windows vista was more stable than this thing.</p><p>With MATE and KDE, I could possibly live with but I don&#039;t like the way the work, but they do work.</p><p>LXQT is borderline as flaky as Gnome, it is like a gnome-tized LXDE.&#160; I&#039;ll try it again in a few years or whenever lxde becomes obsolete.</p><p>But gnome the pinnacle, never again.&#160; I&#039;d rather not have a desktop at all.</p>]]></description>
			<author><![CDATA[dummy@example.com (fungus)]]></author>
			<pubDate>Wed, 06 Sep 2017 18:41:36 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4937#p4937</guid>
		</item>
		<item>
			<title><![CDATA[Re: Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4936#p4936</link>
			<description><![CDATA[<div class="quotebox"><cite>shwsh wrote:</cite><blockquote><div><p>As you all gnow, <strong>GNOME</strong>, the pinnacle of desktop GUI design . . .</p></div></blockquote></div><p>All these years, I thought it was the default that was shoved down clueless user&#039;s throats.&#160; <img src="https://dev1galaxy.org/img/smilies/wink.png" width="15" height="15" alt="wink" />&#160; But to each his own&#160; In any case, this is a useful contribution for those who want to go there so thank you for that.</p><p>*edit*&#160; Maybe you could copy everything from your personal repo to git.devuan.org.&#160; That way things could get packaged for devuan.</p>]]></description>
			<author><![CDATA[dummy@example.com (golinux)]]></author>
			<pubDate>Wed, 06 Sep 2017 15:46:46 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4936#p4936</guid>
		</item>
		<item>
			<title><![CDATA[Installing GNOME on Devuan Ceres]]></title>
			<link>https://dev1galaxy.org/viewtopic.php?pid=4934#p4934</link>
			<description><![CDATA[<p>As you all gnow, <strong>GNOME</strong>, the pinnacle of desktop GUI design, is not available on Devuan. I&#039;ve packaged elogind and gnome-settings-daemon, allowing you to install the GNOME core packages, minus the display manager.</p><p><strong>Screenshot</strong><br /><span class="postimg"><img src="https://cdn.pbrd.co/images/GL5u1HR.png" alt="screenshot" /></span></p><p><strong>Step 1: install elogind</strong></p><p>Go to <a href="https://github.com/shwsh/elogind/releases/tag/v234.2" rel="nofollow">the elogind package releases</a>, and get the package according to your architecture. Then, open a terminal, and,</p><div class="codebox"><pre><code>sudo apt install ./elogind_234-2.1_i386.deb</code></pre></div><p>where i386 is your architecture.</p><p>If the service didn&#039;t start, start elogind by typing</p><div class="codebox"><pre><code>sudo service elogind start</code></pre></div><p><strong>Step 2: install gnome-settings-daemon</strong></p><p><em><a href="https://dev1galaxy.org/viewtopic.php?pid=5088#p5088" rel="nofollow">Alternative solution for step 2</a></em></p><p>Go to <a href="https://github.com/shwsh/gnome-settings-daemon/releases/tag/debian-3-24" rel="nofollow">the gnome-settings-daemon package releases</a>, and get the package. Then, type in:</p><div class="codebox"><pre><code>sudo apt install ./gnome-settings-daemon_3.24.3-1_i386.deb</code></pre></div><p>where i386 is your architecture.</p><p><strong>Step 3: install gnome-shell</strong></p><div class="codebox"><pre><code>sudo apt install gnome-shell</code></pre></div><p>If you can log out, and log back in with the gnome session, you&#039;re gold. You can now install the rest of the GNOME apps.</p><p><strong>Compiling elogind and gnome-settings-daemon yourself</strong></p><p>To build these packages, you first need to:</p><div class="codebox"><pre><code>sudo apt install git dpkg-dev build-essential</code></pre></div><p><strong>Compiling elogind</strong></p><p>- Get build dependencies:</p><div class="codebox"><pre><code>sudo apt install build-essential debhelper libudev-dev pkg-config docbook-xsl xsltproc automake autoconf libtool intltool gperf gtk-doc-tools intltool libcap-dev</code></pre></div><p>- Get linux headers</p><div class="codebox"><pre><code>sudo apt install linux-headers-$(uname -r)</code></pre></div><p>- Build</p><div class="codebox"><pre><code>mkdir elogind-tmp &amp;&amp; cd elogind-tmp
git clone https://github.com/shwsh/elogind/
cd elogind
git checkout v234-stable
dpkg-buildpackage -uc -us</code></pre></div><p>You may need to set the environment variable DEB_BUILD_OPTIONS=nocheck before the dpkg-buildpackage command because there&#039;s one test that keeps failing if elogind is already running.</p><p>deb packages will appear in the elogind-tmp dir and you may install them with apt.</p><p>Make sure you also install libelogind-dev for building gnome-settings-daemon.</p><p><strong>Compiling gnome-settings-daemon</strong></p><p>- Get build dependencies:</p><p>Insert a deb-src repository into your sources.list, i.e.</p><div class="codebox"><pre><code>deb-src http://auto.mirror.devuan.org/merged ceres          main</code></pre></div><p>, then</p><div class="codebox"><pre><code>sudo apt update
sudo apt build-dep gnome-settings-daemon</code></pre></div><p>gnome-settings-daemon requires libupower-glib-dev (&gt;= 0.99.0), however that&#039;s not currently in Devuan&#039;s repository, so add this to your /etc/apt/sources.list</p><div class="codebox"><pre><code>deb  http://ftp.tw.debian.org/debian         stretch         main</code></pre></div><p>(Replace <a href="ftp://ftp.tw.debian.org" rel="nofollow">ftp.tw.debian.org</a> with the fastest debian mirror)</p><p>Then,</p><div class="codebox"><pre><code>sudo apt remove --auto-remove libupower-glib-dev
sudo apt install -t stretch libupower-glib-dev</code></pre></div><p>Remove the last line you&#039;ve added from /etc/apt/sources.list.</p><p>- Build</p><div class="codebox"><pre><code>mkdir gsd-tmp &amp;&amp; cd gsd-tmp
git clone https://github.com/shwsh/gnome-settings-daemon/
cd gnome-settings-daemon
git checkout gnome-3-24
dpkg-buildpackage -uc -us</code></pre></div><p>deb packages should appear, and you may install them.</p><p><strong>Issues</strong></p><ul><li><p><strong>gdm3</strong> doesn&#039;t run, and will probably never be packaged :(</p></li><li><p><strong>network-manager-gnome</strong> won&#039;t install, as NetworkManager is a systemd thing</p></li></ul><p><strong><a href="https://dev1galaxy.org/viewtopic.php?pid=5088#p5088" rel="nofollow">Fixing gnome-session exiting on startup</a></strong></p><p><strong>Fixing GNOME Tweak Tool</strong></p><p>If you enter &#039;gnome-tweak-tool&#039; on the command line, and it complains about complains about missing key &#039;disable-user-extensions&#039;, edit /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml. Add these lines after the first &quot;schema&quot; tag:</p><div class="codebox"><pre><code>    &lt;key name=&quot;disable-user-extensions&quot; type=&quot;b&quot;&gt;
      &lt;default&gt;false&lt;/default&gt;
      &lt;summary&gt;
      &lt;/summary&gt;
      &lt;description&gt;
      &lt;/description&gt;
    &lt;/key&gt;</code></pre></div><p>Save and quit your text editor, then compile the glib schema:</p><div class="codebox"><pre><code>sudo glib-compile-schemas /usr/share/glib-2.0/schemas/org.gnome.shell.gschema.xml</code></pre></div><p>After that, GNOME Tweak Tool should work.</p><p><strong>GNOME Disks can&#039;t be installed</strong></p><p>GNOME Disks version 3.25 in the Ceres repository requires udisks (version &gt;= 2.7.2), however that&#039;s not in the Devuan repo. So, GNOME Disks must be installed with the ascii version. Add this to your sources.list:</p><div class="codebox"><pre><code>deb http://auto.mirror.devuan.org/merged     ascii          main</code></pre></div><p>, then:</p><div class="codebox"><pre><code>sudo apt update
sudo apt install -t ascii gnome-disk-utility</code></pre></div><p><strong>gnome-color-manager can&#039;t be installed</strong></p><p>First, install colord:</p><div class="codebox"><pre><code>sudo apt update
sudo apt install colord</code></pre></div><p>Add this to your sources.list:</p><div class="codebox"><pre><code>deb http://auto.mirror.devuan.org/merged     jessie          main</code></pre></div><p>, then:</p><div class="codebox"><pre><code>sudo apt update
sudo apt install -t jessie gnome-color-manager</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (shwsh)]]></author>
			<pubDate>Wed, 06 Sep 2017 14:46:56 +0000</pubDate>
			<guid>https://dev1galaxy.org/viewtopic.php?pid=4934#p4934</guid>
		</item>
	</channel>
</rss>
