#WM/Terminal Installation and Couple Other Questions

1 messages · Page 1 of 1 (latest)

bleak shore
#

Have a couple questions regarding Wm Installation / terminals and stuff, ping if anyone is interested please

#

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

sick kestrel
#

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

bleak shore
sick kestrel
#

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

bleak shore
#

so bg apps are run usig &?

sick kestrel
#

yes

bleak shore
#

should i delete everyting in the default xinitrc?

#

cept the last if loop

#

or statement

bleak shore
sick kestrel
#

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

bleak shore
#

so not even the last if block is needed?

sick kestrel
#

idk what the last block is, tbh

bleak shore
#

what about the #!bin/sh

sick kestrel
#

that's for xserverrc

#

not xinitrc

bleak shore
#

okay

#

npow have an empty file

#

now to install dwm

sick kestrel
#

if i were to write a .xinitrc for dwm for example what i would first do would be

exec dwm
bleak shore
#

im using grub, should i add exec dwm there?

#

to start it at login

#

or exec startx

sick kestrel
#

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

bleak shore
#

mhm

sick kestrel
#

that section for example

bleak shore
#

so bash_profile

sick kestrel
#

.bash_profile, yes

bleak shore
#

lemme just iinstall dwm from aur

#

ill send a cmd can you check if it is correct?

sick kestrel
#

i don't recommend installing dwm as a package directly

bleak shore
#

mhm

#

What do you recommened?

sick kestrel
#

as its configuration is done directly by editing the source code

#

so you would ideally just clone their git repository and build it yourself

bleak shore
#

isnt that what installing from aur is?

#

git clone

#

makepkg

#

or is the second one not right?

sick kestrel
#

in this case you want to still modify the code after the fact

bleak shore
#

mhm

sick kestrel
#

you would just install the binary as is and then can't really modify it after the fact

bleak shore
#

what is a binary?

sick kestrel
#

the executable/program

bleak shore
#

oh

#

so essentially the packaged one

#

where you cant see the source files

sick kestrel
#

ye

bleak shore
#

so how do you recc to install?

sick kestrel
#

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

bleak shore
#

lemme see

#

git clone link

#

git clone git://git.suckless.org/dwm

sick kestrel
#

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

bleak shore
#

and the tutorial skips the installation

bleak shore
sick kestrel
#

yeah

#

but this is how to get the ball rolling

bleak shore
#

Do you have a vid you can recc?

#

i don't know which ones are good

sick kestrel
#

i don't really watch many linux videos so i sadly cannot do that

bleak shore
#

kk

sick kestrel
#

the iGPU driver should be included with mesa, nothing should be needed there

bleak shore
#

kk

#

What does a conmpositor do exactly?

#

i am reading the wiki

sick kestrel
#

Eye candy things

#

And in some instances fix tearing

bleak shore
#

kk

#

do you recommend installing dwm in a directory in /home or /root?

bleak shore
sick kestrel
#

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

bleak shore
#

where should i browse for fonts

sick kestrel
#

you can just search the official arch package website for font packages if you want to

bleak shore
#

is it git://?

sick kestrel
#

just git clone https://git.suckless.org/dwm.git

bleak shore
#

thats what i did

bleak shore
sick kestrel
#

i am dumb

#

remove the .git part at the end

bleak shore
#

umm wtf

#

i look away and my laptop has shutdown???

sick kestrel
#

wat

bleak shore
#

yes

sick kestrel
#

did you run out of battery or something pepelaugh

bleak shore
#

its always charged

#

its currently charging

#

OH

#

OH

#

f me

sick kestrel
#

are you okay?

bleak shore
#

the switch was not flipped on

#

only the cable was connected

#

f

sick kestrel
#

lol

bleak shore
#

are there going to be problems?

sick kestrel
#

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

bleak shore
#

wtf is my passwd wrong

#

umm wat

#

wdym

#

it correct

sick kestrel
#

idk what you did so i can't help you there PepeShrug

bleak shore
#

it right again

bleak shore
#

cloned it

bleak shore
sick kestrel
#

you can, but dmenu is more essential

bleak shore
#

i installed via pacman

#

should i have cloned it?

sick kestrel
#

only if you wanted to hack onto st

bleak shore
#

i meant dwm

sick kestrel
#

but it's fine, not essential like dwm

bleak shore
#

dmenu*

sick kestrel
#

yeah that is completely fine

bleak shore
#

kk

#

how do i uninstall packages?

sick kestrel
#

pacman -Rs package

bleak shore
#

logout?

sick kestrel
#

exit

bleak shore
#

hmm

bleak shore
#

logged out logged back in

#

still in tty

sick kestrel
#

not needed as launching dmenu can be done with a hotkey in dmenu as it should be mentioned in the tutorial

bleak shore
#

only the tty

sick kestrel
#

then just run startx

bleak shore
#

yep

#

it works

sick kestrel
#

my job is done

bleak shore
gray swanBOT
#

Soul wants to use NixOS btw received a thank you cookie!

bleak shore
#

first lemme snapshot this

bleak shore
#

logged in

#

i get
bash: [1: command not found

sick kestrel
#

you probably entered stuff incorrectly when trying to copy from the wiki

bleak shore
bleak shore
sick kestrel
#

then idk what is wrong then PepeShrug

#

maybe someone else can help you

bleak shore
#

is it the xinitrc?

#

nope

bleak shore
sick kestrel
#

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

bleak shore
#

Yep

#

my bad

umbral edgeBOT
#

Too few arguments for command addnote!
Usage: .addnote <name> <text>