<?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=Rjcom</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=Rjcom"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Rjcom"/>
	<updated>2026-05-05T19:40:49Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=17792</id>
		<title>AwesomeWM</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=17792"/>
		<updated>2020-07-06T01:12:54Z</updated>

		<summary type="html">&lt;p&gt;Rjcom: /* Install packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[file: awesome-01.png |thumb |Screenshot]]&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
&lt;br /&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 Community Repository =&lt;br /&gt;
In order to install the awesome package (see &amp;quot;Install packages&amp;quot; below), you need to enable the community repository for your version. Uncomment {{codeline|http://&amp;lt;url&amp;gt;/alpine/&amp;lt;version&amp;gt;/community}} in {{path|/etc/apk/repositories}}. For example:&lt;br /&gt;
{{cat|/etc/apk/repositories|&amp;lt;nowiki&amp;gt;# /etc/apk/repositories&lt;br /&gt;
&lt;br /&gt;
#/media/sdb/apks&lt;br /&gt;
http://mirror.csclub.uwaterloo.ca/alpine/v3.8/main&lt;br /&gt;
http://mirror.csclub.uwaterloo.ca/alpine/v3.8/community&lt;br /&gt;
#http://mirror.csclub.uwaterloo.ca/alpine/v3.8/testing&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&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;
Also, you may need to add packages for the Adwaita theme.&lt;br /&gt;
{{Cmd|# apk add adwaita-gtk2-theme adwaita-icon-theme}}&lt;br /&gt;
&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 &amp;lt;user&amp;gt;}}&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;
= =&lt;br /&gt;
* [[Dwm]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;br /&gt;
[[category: Lua]]&lt;/div&gt;</summary>
		<author><name>Rjcom</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=17791</id>
		<title>AwesomeWM</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=AwesomeWM&amp;diff=17791"/>
		<updated>2020-07-06T01:12:38Z</updated>

		<summary type="html">&lt;p&gt;Rjcom: /* Install packages */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[[file: awesome-01.png |thumb |Screenshot]]&lt;br /&gt;
{{TOC right}}&lt;br /&gt;
&lt;br /&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 Community Repository =&lt;br /&gt;
In order to install the awesome package (see &amp;quot;Install packages&amp;quot; below), you need to enable the community repository for your version. Uncomment {{codeline|http://&amp;lt;url&amp;gt;/alpine/&amp;lt;version&amp;gt;/community}} in {{path|/etc/apk/repositories}}. For example:&lt;br /&gt;
{{cat|/etc/apk/repositories|&amp;lt;nowiki&amp;gt;# /etc/apk/repositories&lt;br /&gt;
&lt;br /&gt;
#/media/sdb/apks&lt;br /&gt;
http://mirror.csclub.uwaterloo.ca/alpine/v3.8/main&lt;br /&gt;
http://mirror.csclub.uwaterloo.ca/alpine/v3.8/community&lt;br /&gt;
#http://mirror.csclub.uwaterloo.ca/alpine/v3.8/testing&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
}}&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;
Also, you may need to add packages for the Adwaita.&lt;br /&gt;
{{Cmd|# apk add adwaita-gtk2-theme adwaita-icon-theme}}&lt;br /&gt;
&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 &amp;lt;user&amp;gt;}}&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;
= =&lt;br /&gt;
* [[Dwm]]&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;br /&gt;
[[category: Lua]]&lt;/div&gt;</summary>
		<author><name>Rjcom</name></author>
	</entry>
</feed>