<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Catatonic</id>
	<title>Alpine Linux - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alpinelinux.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Catatonic"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Catatonic"/>
	<updated>2026-05-05T19:42:06Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=15246</id>
		<title>AwesomeWM</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=15246"/>
		<updated>2018-05-03T08:10:21Z</updated>

		<summary type="html">&lt;p&gt;Catatonic: Added the &amp;quot;Enable &amp;quot;alpine/v3.7/community&amp;quot; Repository&amp;quot; section, added login as root to the &amp;quot;install D-Bus&amp;quot; section.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;= Initial setup =&lt;br /&gt;
Start by booting up Alpine (see [[Installation|these]] instructions on how to do that)&amp;lt;BR&amp;gt;&lt;br /&gt;
When Alpine is up and running, do the initial setup.&lt;br /&gt;
{{Cmd|setup-alpine}}&lt;br /&gt;
&lt;br /&gt;
= Enable &amp;quot;alpine/v3.7/community&amp;quot; Repository =&lt;br /&gt;
In order to install the awesome package (see &amp;quot;Install packages&amp;quot; below), you need to enable the alpine/v3.7/community repository:&lt;br /&gt;
{{Cmd|vi /etc/apk/repositories}}&lt;br /&gt;
Scroll down and delete the &#039;&#039;#&#039;&#039; symbol from the beginning of this line:&lt;br /&gt;
{{Cmd|&amp;lt;nowiki&amp;gt;#http://dl-cdn.alpinelinux.org/alpine/v3.7/community&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
Save and quit (press &#039;&#039;esc&#039;&#039;, then type &#039;&#039;:wq&#039;&#039;, press &#039;&#039;enter&#039;&#039;).&lt;br /&gt;
&lt;br /&gt;
= Install packages =&lt;br /&gt;
Install awesome, feh, aterm as basic desktop system.&amp;lt;BR&amp;gt;&lt;br /&gt;
This might take a few minutes depending on your network speed. &lt;br /&gt;
{{Cmd|apk add awesome feh aterm}}&lt;br /&gt;
If aterm is not recognized by apk (Alpinelinux 3.2.x or above) instead of it you can install lxterminal.&amp;lt;BR&amp;gt;&lt;br /&gt;
On the same version of Alpinelinux (3.2.x or above) you have to install the package lua otherwise awesome will not start&lt;br /&gt;
{{Cmd|apk add lua}}&lt;br /&gt;
Add other apps on need, eg. firefox, gnumeric, xchat, gimp, pidgin, geany, vim, etc.&amp;lt;BR&amp;gt;&lt;br /&gt;
For Alpinelinux 2.6.x add additional pkgs&lt;br /&gt;
{{Cmd|apk add cairo-gobject pango}}&lt;br /&gt;
&lt;br /&gt;
== Optional packages ==&lt;br /&gt;
=== Video and Input packages ===&lt;br /&gt;
You &amp;lt;u&amp;gt;might&amp;lt;/u&amp;gt; also want to install a package suitable for your video chipset and input devices.&amp;lt;BR&amp;gt;&lt;br /&gt;
For example, if you have an Sis video chipset install &#039;xf86-video-sis&#039;, for Intel video chipset install &#039;xf86-video-intel&#039;.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|apk add xf86-video-sis}}&lt;br /&gt;
and / or &lt;br /&gt;
{{Cmd|apk add xf86-input-synaptics}}&lt;br /&gt;
&lt;br /&gt;
Run &#039;apk search xf86-video*&#039; to see available xf86-video packages.&amp;lt;BR&amp;gt;&lt;br /&gt;
Run &#039;apk search xf86-input*&#039; to see available xf86-input packages.&amp;lt;BR&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== acpid ===&lt;br /&gt;
If you installed your Alpine Linux as a VirtualBox or VMWare guest you might find it handy to be able send ACPI shutdown.&amp;lt;BR&amp;gt;&lt;br /&gt;
{{Cmd|rc-update add acpid}}&lt;br /&gt;
&lt;br /&gt;
= Configure xorg-server =&lt;br /&gt;
On most systems, xorg should be able to autodetect all devices. However you can still configure xorg-server by hand by launching:&lt;br /&gt;
{{Cmd|setup-xorg-base}}&lt;br /&gt;
&lt;br /&gt;
= Create user accounts =&lt;br /&gt;
Create a normal user account.&lt;br /&gt;
{{Cmd|adduser ncopa}}&lt;br /&gt;
&lt;br /&gt;
Optionally, give that user sudo permissions in /etc/sudoers. When doing so, it is important to use the command: {{Cmd|visudo}} This ensures that only one user is changing the file at any given time.  Visudo has two modes: Command mode and Insert mode.  To edit the file, use the arrows to navigate to the appropriate line and enter Insert mode by pressing the &#039;i&#039; key.  To save and exit, enter Command mode by pressing the &#039;Esc&#039; key, then &#039;:w&#039; + &#039;enter&#039; to save, and finally &#039;:q&#039; + &#039;enter&#039; to quit.&lt;br /&gt;
&lt;br /&gt;
Logout from root and login into new created account.&lt;br /&gt;
&lt;br /&gt;
= Start your desktop =&lt;br /&gt;
{{Cmd|echo &#039;awesome&#039; &amp;gt;&amp;gt; /home/&amp;lt;newuser&amp;gt;/.xinitrc}}&lt;br /&gt;
{{Cmd|mkdir /home/&amp;lt;newuser&amp;gt;/.config}}&lt;br /&gt;
{{Cmd|cp -r /etc/xdg/awesome  /home/&amp;lt;newuser&amp;gt;/.config}}&lt;br /&gt;
{{Cmd|vi /home/&amp;lt;newuser&amp;gt;/.config/awesome/rc.lua}}&lt;br /&gt;
Replace instances of xterm with aterm or (if 3.2.x or above use lxterminal instead)&lt;br /&gt;
&lt;br /&gt;
Start awesome.&lt;br /&gt;
{{Cmd|startx}}&lt;br /&gt;
&lt;br /&gt;
= Troubleshooting =&lt;br /&gt;
&lt;br /&gt;
D-Bus problems:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|D-Bus library appears to be incorrectly set up; failed to read machine uuid: Failed to open &amp;quot;/var/lib/dbus/machine-id&amp;quot;: No such file or directory}}&lt;br /&gt;
&lt;br /&gt;
If startx fails and returns an error about D-Bus failed to read machine uuid, as shown above, proceed as follow:&lt;br /&gt;
&lt;br /&gt;
Install dbus from apk (you must be logged in as root, as for the step below)&lt;br /&gt;
{{Cmd|apk add dbus}}&lt;br /&gt;
&lt;br /&gt;
Login or su to root account then launch the follow command (Note: sudo is not working for this step):&lt;br /&gt;
{{Cmd|dbus-uuidgen &amp;gt; /var/lib/dbus/machine-id}}&lt;br /&gt;
&lt;br /&gt;
Now if startx is launched it should load correctly the desktop&lt;br /&gt;
&lt;br /&gt;
= Screenshot =&lt;br /&gt;
[[{{ns:image}}:awesome-01.png|awesome-01.png]]&lt;br /&gt;
[[Category:Desktop]]&lt;/div&gt;</summary>
		<author><name>Catatonic</name></author>
	</entry>
</feed>