<?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=Maalos</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=Maalos"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Maalos"/>
	<updated>2026-04-29T17:27:12Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=River&amp;diff=23425</id>
		<title>River</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=River&amp;diff=23425"/>
		<updated>2023-05-14T15:57:48Z</updated>

		<summary type="html">&lt;p&gt;Maalos: fixed some styling issues&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;[https://github.com/riverwm/river River] is a dynamic tiling [[Wayland]] compositor. An introduction to River can be found in [https://isaacfreund.com/blog/river-intro/ this blog post] by the developer for the 0.1.0 release.  &lt;br /&gt;
&lt;br /&gt;
This wiki was written starting from a fresh install using the Alpine 3.14.2 x86_64 extended .iso. The steps begin from the first reboot after running setup-alpine and performing a sys install to disk. &lt;br /&gt;
&lt;br /&gt;
Many steps below were taken from the [https://wiki.alpinelinux.org/wiki/Sway wiki entry for installing Sway].&lt;br /&gt;
&lt;br /&gt;
== Installation ==&lt;br /&gt;
&lt;br /&gt;
Login as root.&lt;br /&gt;
&lt;br /&gt;
Edit the repositories file and uncomment the community and testing repos. For 3.14.2, we need edge/community to get the correct software versions to support River:&lt;br /&gt;
{{Cat|/etc/apk/repositories|&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/v3.17/main&lt;br /&gt;
#http://dl-cdn.alpinelinux.org/alpine/v3.17/community&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/edge/main&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/edge/community&lt;br /&gt;
http://dl-cdn.alpinelinux.org/alpine/edge/testing&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Install &amp;amp; configure {{Pkg|eudev}}:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|&amp;amp;#35; apk update&lt;br /&gt;
&amp;amp;#35; apk add {{Pkg|eudev}}&lt;br /&gt;
&amp;amp;#35; setup-devd udev}}&lt;br /&gt;
&lt;br /&gt;
Then install the mesa gallium drivers:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add {{Pkg|mesa-dri-gallium}}}}&lt;br /&gt;
&lt;br /&gt;
The following links contain guides for setting up the video stack.&lt;br /&gt;
&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Intel_Video Intel Video]&lt;br /&gt;
* [https://wiki.alpinelinux.org/wiki/Radeon_Video Radeon Video]&lt;br /&gt;
&lt;br /&gt;
Install River and the documentation:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add {{Pkg|river}} {{Pkg|river-doc}} {{Pkg|mandoc}}}}&lt;br /&gt;
&lt;br /&gt;
Install your choice of additional packages:&lt;br /&gt;
&lt;br /&gt;
This list includes icons, fonts, and a terminal emulator named foot which is the default in River&#039;s sample init file that we will use later.&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# apk add {{Pkg|adwaita-icon-theme}} {{Pkg|foot}} {{Pkg|ttf-dejavu}}}}&lt;br /&gt;
&lt;br /&gt;
Set seatd to start automatically at next boot and also manually start it for this session:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|# rc-update add {{Pkg|seatd}}&lt;br /&gt;
&amp;amp;#35; rc-service {{Pkg|seatd}} start}}&lt;br /&gt;
&lt;br /&gt;
Create a new user and update group membership:&lt;br /&gt;
{{Cmd|# adduser sodface&lt;br /&gt;
&amp;amp;#35; addgroup sodface audio&lt;br /&gt;
&amp;amp;#35; addgroup sodface input&lt;br /&gt;
&amp;amp;#35; addgroup sodface seat&lt;br /&gt;
&amp;amp;#35; addgroup sodface video&lt;br /&gt;
&amp;amp;#35; addgroup sodface wheel&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Install sudo and run visudo, uncommenting the desired permissions for the wheel group:&lt;br /&gt;
{{Cmd|# apk add {{Pkg|sudo}} &amp;amp;&amp;amp; visudo}}&lt;br /&gt;
&lt;br /&gt;
Logout and log back in as the new user.&lt;br /&gt;
&lt;br /&gt;
== Running River ==&lt;br /&gt;
&lt;br /&gt;
Before running River for the first time, copy the sample init file to ~/.config:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|install -Dm0755 /usr/share/doc/river/examples/init -t ~/.config/river}}&lt;br /&gt;
&lt;br /&gt;
Set [[Wayland#XDG_RUNTIME_DIR|XDG_RUNTIME_DIR]] and then start River:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|1=river}}&lt;br /&gt;
&lt;br /&gt;
[[Category:Desktop]]&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
Following are a few notes that are most certainly not related to River whatsoever but rather discovered while running River so I&#039;m tacking them onto the end of this wiki.&lt;br /&gt;
&lt;br /&gt;
Firefox 89.0.1 complains on launch &amp;quot;glxtest: libpci missing&amp;quot;, resolved by:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|sudo apk add {{Pkg|pciutils-libs}}}}&lt;br /&gt;
&lt;br /&gt;
Firefox 89.0.1 complains continuously &amp;quot;Unable to load hand2 from the cursor theme&amp;quot;, resolved by:&lt;br /&gt;
&lt;br /&gt;
{{Cmd|mkdir -p ~/.icons/default&lt;br /&gt;
ln -s /usr/share/icons/Adwaita/cursors .icons/default/cursors}}&lt;/div&gt;</summary>
		<author><name>Maalos</name></author>
	</entry>
</feed>