Compare commits

...

2 Commits

Author SHA1 Message Date
yosh 2d3bcf0bd4 facepalm 2024-04-03 00:58:40 -04:00
yosh c735be521c arrrrgs stay not here please 2024-04-02 22:32:34 -04:00
3 changed files with 1 additions and 33 deletions

View File

@ -138,6 +138,7 @@ __THREADS="$(nproc 2>/dev/null || sysctl -n hw.ncpu 2>/dev/null || getconf _NPRO
[ $? -ne 0 ] \
&& echo 'unable to find number of cores! defaulting to 1 thread unless otherwise specified...' >&2 \
&& __THREADS=1
__THREADS=$((__THREADS * 2))
# make a parallel fifo/file descriptor we need
__fifo_para="$(mktemp -u -t "shpbuild.XXXXXX")"
@ -148,7 +149,6 @@ while [ "$__THREADS" -gt 0 ]; do
printf "\n" >&9 # start with THREADS amount of lines in fd 9 for later
__THREADS="$((__THREADS - 1))"
done
__THREADS=$((__THREADS * 2))
# read each line from fd 9, launch new program for each line
# print a line after program finished such that another one can take its place

View File

@ -1,3 +0,0 @@
<ul>
<li>&#47;usr&#47;local&#47;lib in addendums</li>
</ul>

View File

@ -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"&amp;</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>