<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://dev1galaxy.org/extern.php?action=feed&amp;tid=29&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Dev1 Galaxy Forum / Minimal openbox desktop how to]]></title>
		<link>http://dev1galaxy.org/viewtopic.php?id=29</link>
		<description><![CDATA[The most recent posts in Minimal openbox desktop how to.]]></description>
		<lastBuildDate>Mon, 05 Dec 2016 04:32:25 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Minimal openbox desktop how to]]></title>
			<link>http://dev1galaxy.org/viewtopic.php?pid=98#p98</link>
			<description><![CDATA[<h5>Minimal openbox desktop guide</h5><p>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.</p><p><strong>Installing the packages</strong> </p><p>We will start by installing the minimum packages necessary to use and configure openbox.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install openbox obconf obmenu</code></pre></div><p>It is also helpful to install the menu package as it provides menu items for software that supports it.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install menu</code></pre></div><p>We should now install the compton composite manager.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install compton</code></pre></div><p>The idesk program can be used to manage desktop icons and background images.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install idesk</code></pre></div><p>For a task bar we will use the lightweight tint2.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install tint2</code></pre></div><p>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.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install xfe</code></pre></div><p>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.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install scrot</code></pre></div><p>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.</p><div class="codebox"><pre><code>user@devuan:~$ sudo apt-get install desktop-base</code></pre></div><p><strong>Configure Openbox</strong></p><p>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.</p><div class="codebox"><pre><code>user@devuan:~$ mkdir -p ~/.config/openbox
user@devuan:~$ sensible-editor ~/.config/openbox/autostart</code></pre></div><p>In the autostart file add the following and save the file. Note that each line ends with &amp; except the last line. </p><div class="codebox"><pre><code>compton &amp;
idesk &amp;
tint2</code></pre></div><p><strong>Configure idesk</strong></p><p>In order to use idesk we need to create the directory it uses to store desktop icons or it will not start.</p><div class="codebox"><pre><code>user@devuan:~$ mkdir ~/.idesktop</code></pre></div><p>Start idesk so that it generates the default configuration. You should kill the process using ctrl + c afterwards.</p><div class="codebox"><pre><code>user@devuan:~$ idesk</code></pre></div><p>We will now modify the config file so that we can set the purpy background.</p><div class="codebox"><pre><code>user@devuan:~$ nano ~/.ideskrc</code></pre></div><p>Find the line that reads &quot;Background.File: None&quot; so that you can set the default background. We will change it to the purpy background.</p><div class="codebox"><pre><code>Background.File: /usr/share/images/desktop-base/your-way_purpy-wide-large.png</code></pre></div><p>Now that we&#039;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.</p><div class="codebox"><pre><code>user@devuan:~$ cp ~/.idesktop/default.lnk ~/.idesktop/xfe.lnk</code></pre></div><p>Open the new Xfe desktop link with an editor. </p><div class="codebox"><pre><code>user@devuan:~$ sensible-editor ~/.idesktop/xfe.lnk</code></pre></div><p>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. </p><div class="codebox"><pre><code>table Icon
  Caption: Xfe
  Command: /usr/bin/xfe
  Icon: /usr/share/pixmaps/xfe.xpm
  Width: 48
  Height: 48
  X: 30
  Y: 120
end</code></pre></div><p><strong>Login using the openbox session manager</strong></p><p>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.</p><div class="codebox"><pre><code>user@devuan:~$ echo &quot;exec openbox-session&quot; &gt; ~/.xinitrc
user@devuan:~$ startx</code></pre></div><p>If you prefer you can change the default session manager to openbox-session using alternatives so that it is globally honoured.</p><div class="codebox"><pre><code>user@devuan:~$ sudo update-alternatives --config x-session-manager</code></pre></div><p>This work is released under the Creative Commons Attribution-ShareAlike 4.0 International <a href="https://creativecommons.org/licenses/by-sa/4.0/" rel="nofollow">[CC BY-SA 4.0]</a> license. All trademarks are the property of their respective owners. Please note that this work is provided &quot;AS IS&quot; and comes with absolutely NO warranty.</p>]]></description>
			<author><![CDATA[dummy@example.com (chillfan)]]></author>
			<pubDate>Mon, 05 Dec 2016 04:32:25 +0000</pubDate>
			<guid>http://dev1galaxy.org/viewtopic.php?pid=98#p98</guid>
		</item>
	</channel>
</rss>
