|
|
|
@ -1,29 +0,0 @@
|
|
|
|
|
<?shTITLE="voidlinux|"./head.sh?>
|
|
|
|
|
|
|
|
|
|
<body>
|
|
|
|
|
<?sh./header.sh?>
|
|
|
|
|
<?sh./sidebar.shtopbottom?>
|
|
|
|
|
<main>
|
|
|
|
|
<?shTB_TITLE="voidlinux|xorg"./titlebar.sh?>
|
|
|
|
|
<h1>voidlinux-xorg</h1>
|
|
|
|
|
<p>bynow,youshouldstartdoingtherestofthisguideasanormaluserandusing<code>doas</code>or<code>su-</code>toinstallpackagesoreditconfigfilesthatrequireroot</p>
|
|
|
|
|
<p>I'llmakethisspecificpartbrief.install<code>xorg-minimal</code>,<code>xorg-fonts</code>,yourfavoriteterminalemulator(<code>rxvt-unicode</code>forme),yourfavoritewindowmanager,andthedriversforyourgraphicscard(youcanseewhichpackageyouneedtoinstallwith<code>xbps-query-Rsxf86-video</code>.somethingImuststressisthatIamonlyfamiliarwithxorgthroughthelensof"non-integrating"windowmanagers.thatmeansnooverarchingDElikekde,gnome,etc.ordisplaymanagerlikelightdm,etc.Icannotguaranteeeverythingonthispagewillapplyperfectlytothosekindsofsetups</p>
|
|
|
|
|
<h3>disablingrootpriviledge</h3>
|
|
|
|
|
</p>voidlinuxrunsxorgasrootbydefault.Idonotknowwhy.tomyknowledgethereiszerobreakagewithmysetupwhenyouconfigureittonotrunasroot.todothat,create/edit<code>/etc/X11/Xwrapper.config</code>withthefollowing:
|
|
|
|
|
<codeclass="codeblock">
|
|
|
|
|
<pre>
|
|
|
|
|
needs_root_rights=no
|
|
|
|
|
</pre>
|
|
|
|
|
</code>
|
|
|
|
|
<p>that'sit.nowxorgwillnotrunwithrootrightsandlogto<code>~/.local/share/xorg/Xorg.DISP.log</code>.followthe<ahref="https://docs.voidlinux.org/config/graphical-session/xorg.html">manual</a>foraddingyourwindowmanagerto~/.xinitrc,thenuse<code>startx</code>tolaunchanXsession</p>
|
|
|
|
|
<h2id="local-services">localservices</h2>
|
|
|
|
|
<p>settinguplocalservicesisincrediblyuseful.however,Idon'tlikethewaythemanualdescribessettingthemup.itseverelylimitswhatservicesyoucanuseasawholeandlikestobefinnickywithstufflikepipewireforme.sohere'showIsetuplocalservices</p>
|
|
|
|
|
<p>maketwodirectories,<code>~/.local/sv</code>and<code>~/.local/service</code>.thesewillactjustlike<code>/etc/sv</code>and<code>/var/service</code></p>
|
|
|
|
|
<p>inyourxinitrc,addtheline<code>runsvdir"$HOME/.local/service"&</code><b>before</b>the<code>execyour-window-manager</code>line.now,wheneveryou<code>startx</code>,arunitrunsvprogramwillsuperviseyourlocalservicedirectory,justlikehowitdoesasroot.now,thisdoesn'tallowforservicesinatty,butI'vehonestlyneverneededanylocaluserspecificserviceswhileinattybefore,sothisworksforme</p>
|
|
|
|
|
<footer>
|
|
|
|
|
<h2id="pipewire">pipewire(-pulse)</h2>
|
|
|
|
|
</footer>
|
|
|
|
|
</main>
|
|
|
|
|
<?sh./footer.sh?>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|