#WM/Terminal Installation and Couple Other Questions
1 messages · Page 1 of 1 (latest)
for xorg installation, read the wiki
nvdia drivers are already installed
i have an integrated graphics card (intel) should i install their drivers as well or is it prebuilt?
currently thinking to do
sudo pacman -S xorg-servers xorg-xinit
i do not know what xorg apps contain
im also installing a WM and terminal
do am not thinking of installing clock/xterm/xtwm
also have a couple questionsbout xinitrc
the xorg-server package should contain the minimal set of applications for a X server, xinit is for using startx and generally used to start the xorg session manually
in regards to xinit there's this arch wiki article that is elaborate on what it does
https://wiki.archlinux.org/title/xinit
yea, i got that,
Xinitrc:
the wiki says anything following exec is ignored
Does that mean we only exec the Wm and do
stuff & above it?
What does & do?
in my personal usage i have background apps always run in the background, which need to be put before the wm exec command, then launch the wm
so bg apps are run usig &?
yes
should i delete everyting in the default xinitrc?
cept the last if loop
or statement
or are they needed?
generally you can trim the entirety, idk why the wiki recommends copying
i usually just wrote what i need in the background, and window manager exec command
so not even the last if block is needed?
idk what the last block is, tbh
what about the #!bin/sh
if i were to write a .xinitrc for dwm for example what i would first do would be
exec dwm
idk grub very well but i am fairly certain that you should not put that there
there's different methods of executing startx on login in the tty
mhm
so bash_profile
.bash_profile, yes
i don't recommend installing dwm as a package directly
as its configuration is done directly by editing the source code
so you would ideally just clone their git repository and build it yourself
isnt that what installing from aur is?
git clone
makepkg
or is the second one not right?
in this case you want to still modify the code after the fact
mhm
you would just install the binary as is and then can't really modify it after the fact
what is a binary?
the executable/program
ye
so how do you recc to install?
https://dwm.suckless.org/ should point you to what to do to get the dwm source code and how to modify it, including a tutorial iirc
while i still recommend you to read it, or maybe watching a video on the window manager
here's the very short version:
clone the repo from https://git.suckless.org/dwm.git
cd dwm
make to build
or sudo make install to build and install system wide
and the tutorial skips the installation
i did read the tutorial, but it skips the installation
i don't really watch many linux videos so i sadly cannot do that
kk
Setting up dwm from scratch on Arch ( Virtual Box ).
repo links
dwm: github.com/umrian/dwm
dmenu: github.com/umrian/dmenu
st: github.com/umrian/st
dotfiles: github.com/umrian/dotfiles
Arch setup: https://youtu.be/4aHkl1vpWHI?si=bXK2uMyv_sUm-lOO
wallpaper credit to peppercarrot.com
00:00 intro
01:27 install xorg
02:23 install feh, picom, poly...
This?
the iGPU driver should be included with mesa, nothing should be needed there
and should i preinstall fonts?
generally not a bad idea to install any font you like
and where you clone doesn't really matter, as long as you find it, when you run sudo make install for exmaple, it'll take care of where to copy the executable to the correct place
where should i browse for fonts
you can just search the official arch package website for font packages if you want to
syas repo not found
is it git://?
just git clone https://git.suckless.org/dwm.git
thats what i did
exactly what i did
wat
yes
did you run out of battery or something 
are you okay?
lol
are there going to be problems?
idk what problems you would expect but you will definitely encounter some stumbles, but that's linux for ya
also
make sure you have dmenu installed
as the tutorial should elaborate
my login ugged ot
nvm
idk what you did so i can't help you there 
it right again
nothing just restarted
cloned it
should i also install st?
you can, but dmenu is more essential
only if you wanted to hack onto st
i meant dwm
but it's fine, not essential like dwm
dmenu*
yeah that is completely fine
pacman -Rs package
exit
hmm
i added exec dmenu to xinitrc
logged out logged back in
still in tty
not needed as launching dmenu can be done with a hotkey in dmenu as it should be mentioned in the tutorial
wasnt launched into dwm]
only the tty
then just run startx
my job is done
I do have some questions but lemme play around .
Thanks a lot.
You were really helpful!!
Soul wants to use NixOS btw received a thank you cookie!
first lemme snapshot this
i did auto startx at login
logged in
i get
bash: [1: command not found
you probably entered stuff incorrectly when trying to copy from the wiki
nope
checked, word for word
do i ask on #tech-general or wait here?
maybe, maybe a new thread, but i know that i can't help you anymore, so i would also kindly ask to stop pinging me
Too few arguments for command addnote!
Usage: .addnote <name> <text>