<?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=Discerno</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=Discerno"/>
	<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/wiki/Special:Contributions/Discerno"/>
	<updated>2026-05-06T08:07:59Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Include:Setup-desktop&amp;diff=31777</id>
		<title>Include:Setup-desktop</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Include:Setup-desktop&amp;diff=31777"/>
		<updated>2025-12-12T00:42:30Z</updated>

		<summary type="html">&lt;p&gt;Discerno: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The Alpine Linux script for quickly [[Alpine_setup_scripts#setup-desktop|setting up a desktop]] is:{{Cmd|# setup-desktop}}&lt;br /&gt;
&lt;br /&gt;
On running the above command, you will be prompted to select a desktop environment.{{Cmd|Which desktop environment? (&#039;gnome&#039;, &#039;plasma&#039;, &#039;xfce&#039;, &#039;mate&#039;, &#039;sway&#039;, &#039;lxqt&#039; or &#039;none&#039;) [none]}}&lt;br /&gt;
&lt;br /&gt;
Once you have chosen a desktop environment, this script installs the chosen desktop along with necessary packages, {{pkg|firefox|repo=community}} browser (which can be modified by setting up the BROWSER variable) and adds necessary services to run on startup. You can reboot when complete, and the system will boot into a graphical login screen with the chosen desktop environment, except for [[Sway#Setup-desktop|sway]]. To view the packages installed by the script: {{Codeline|$ cat /usr/sbin/setup-desktop}}&lt;/div&gt;</summary>
		<author><name>Discerno</name></author>
	</entry>
	<entry>
		<id>https://wiki.alpinelinux.org/w/index.php?title=Silent_boot&amp;diff=31776</id>
		<title>Silent boot</title>
		<link rel="alternate" type="text/html" href="https://wiki.alpinelinux.org/w/index.php?title=Silent_boot&amp;diff=31776"/>
		<updated>2025-12-12T00:32:59Z</updated>

		<summary type="html">&lt;p&gt;Discerno: Added a section about getty &amp;amp; edited headers according to Help:Style&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;Silent boot means to almost completely remove all kernel and OpenRC messages on boot from your system. This may make it harder to debug issues when booting your computer, but it is also relatively &amp;lt;u&amp;gt;simple&amp;lt;/u&amp;gt; to get back a verbose message boot, with this following wiki page guide.&lt;br /&gt;
&lt;br /&gt;
This wiki page guide will remove all OpenRC messages, except login prompt. This will also remove kernel messages at boot.&lt;br /&gt;
&lt;br /&gt;
{{note| This wiki guide is done without any frame buffers. You may use frame buffers to add a gui boot (such as adding a logo) when booting linux.}}&lt;br /&gt;
&lt;br /&gt;
== Disable kernel messages ==&lt;br /&gt;
&lt;br /&gt;
=== Grub ===&lt;br /&gt;
Edit /etc/default/grub and add quiet to the GRUB_CMDLINE_LINUX variable:&lt;br /&gt;
{{cat|/etc/default/grub|&lt;br /&gt;
GRUB_CMDLINE_LINUX{{=}}&amp;quot;... quiet ...&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
=== Kernel-hooks ===&lt;br /&gt;
Modify /etc/kernel-hooks.d/secureboot.conf and add quiet to cmdline:&lt;br /&gt;
{{cat|/etc/kernel-hooks.d/secureboot.conf|&lt;br /&gt;
cmdline{{=}}&amp;quot;... quiet ...&amp;quot;&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
== Disable OpenRC Boot messages ==&lt;br /&gt;
Make your &amp;lt;code&amp;gt;/etc/inittab&amp;lt;/code&amp;gt; similar to this:&lt;br /&gt;
{{cat|/etc/inittab|&lt;br /&gt;
# /etc/inittab&lt;br /&gt;
&lt;br /&gt;
::sysinit:/sbin/openrc sysinit &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
::sysinit:/sbin/openrc boot &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
::wait:/sbin/openrc default &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
&lt;br /&gt;
# Set up one getty&lt;br /&gt;
tty1::respawn:/sbin/getty 38400 tty1&lt;br /&gt;
&lt;br /&gt;
# Stuff to do before rebooting&lt;br /&gt;
::shutdown:/sbin/openrc shutdown &amp;amp;&amp;gt; /dev/null&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
Remove the &amp;quot;&amp;lt;code&amp;gt;&amp;amp;&amp;gt; /dev/null&amp;lt;/code&amp;gt;&amp;quot; on each line to see OpenRC boot messages again.&lt;br /&gt;
&lt;br /&gt;
=== Logging OpenRC while still keeping a silent boot ===&lt;br /&gt;
Enable this option in &amp;lt;code&amp;gt;/etc/rc.conf&amp;lt;/code&amp;gt;&lt;br /&gt;
{{cat|/etc/rc.conf|...&lt;br /&gt;
rc_logger{{=}}&amp;quot;YES&amp;quot;&lt;br /&gt;
...}}&lt;br /&gt;
This will produce a file &amp;lt;code&amp;gt;/var/log/rc.log&amp;lt;/code&amp;gt; so you can read the OpenRC logs&lt;br /&gt;
while keeping a clean and silent boot &lt;br /&gt;
&lt;br /&gt;
== Clear screen on login prompt ==&lt;br /&gt;
&lt;br /&gt;
If you do not use a graphical display manager, you might want to clear screen when a login prompt appears. You can achieve it in several ways.&lt;br /&gt;
&lt;br /&gt;
First option is to use getty&#039;s INITSTR argument, which allows to send a string before getty&#039;s main output, and [https://en.wikipedia.org/wiki/ANSI_escape_code#Control_Sequence_Introducer_commands escape codes] to clear screen:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/inittab|...&lt;br /&gt;
tty1::respawn:/sbin/getty -I &#039;\033[2J\033[H&#039; 38400 tty1&lt;br /&gt;
...}}&lt;br /&gt;
&lt;br /&gt;
Alternatively, you can install [https://pkgs.alpinelinux.org/packages?name=agetty agetty], which clears screen by default, and modify &amp;lt;code&amp;gt;/etc/inittab&amp;lt;/code&amp;gt; to use it:&lt;br /&gt;
&lt;br /&gt;
{{cat|/etc/inittab|...&lt;br /&gt;
tty1::respawn:/sbin/agetty 38400 tty1&lt;br /&gt;
...}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [https://www.youtube.com/watch?v=HoltBFnu0yo Alpine Linux Silent Boot with cmatrix (youtube)]&lt;br /&gt;
&lt;br /&gt;
[[Category:Security]] [[Category:Booting]]&lt;/div&gt;</summary>
		<author><name>Discerno</name></author>
	</entry>
</feed>