#I want to move to DWM from xfce4

1 messages · Page 2 of 1

honest grail
#

You just need to make it as executable sudo chmod +x /usr/bin/my_bar

final flax
honest grail
#

oh systemd is weird yeah
Add --force to override it (it was set by lightdm before you uninstalled it and was never unset)

honest grail
lone bronze
#

Can you type that as the command I need to use

honest grail
final flax
honest grail
lone bronze
#

OMG YOU HAVE TO FUCKIN KIDDING ME

#

Wait nvm I can still ttu

#

Tty**

#

But still tf

honest grail
#

welp
Read the logs again

final flax
#

@honest grail can she try the command i sent ? to startx

honest grail
#

see sudo systemctl status sddm as well

final flax
#

.

honest grail
honest grail
honest grail
final flax
#

nothing has changed

lone bronze
honest grail
final flax
honest grail
honest grail
lone bronze
#

So what startx command should I type

final flax
#

echo "exec startplasma-x11" > ~/.xinitrc

#

@lone bronze

honest grail
honest grail
#

And can you show the xinitrc @final flax

final flax
#

#!/bin/sh
my_bar &
xinput disable "AlpsPS/2 ALPS DualPoint TouchPad"
xinput disable "AlpsPS/2 ALPS DualPoint Stick"
exec dwm

lone bronze
final flax
#

yea

#

wait

#

is that 2 dots ?

#

..xinitrc ?

#

should be 1

lone bronze
#

I accidentally put a comma lol

honest grail
# final flax sec

What about this
What happens when you launch it from the terminal? Does it work

lone bronze
#

Now what?

honest grail
#

You can also close dwm and look at the stuff startx outputs and see if it has any errors from my_bar

honest grail
final flax
honest grail
#

(it's asking you to finish the quote you missed rn)

honest grail
lone bronze
#

Where do I put the end of the quote?

honest grail
lone bronze
#

Oki

honest grail
#

echo "exec startplasma-x11" > ~/.xinitrc

honest grail
#

Just edit the termcmd variable

final flax
#

already changed to alaacrity

honest grail
#

So just use the keybinding for it then

#

If it doesn't do anything make sure alacritty is installed and you spelled it right

lone bronze
#

You decipher that while I step away from the desktop for a moment

honest grail
final flax
honest grail
final flax
honest grail
lone bronze
#

Ohh ok

#

I thought you said as root user but ig not

honest grail
#

why would you run that as sudo

#

or wait one sec

#

do stat .xinitrc

#

oh, right
yeah its owned by root because you edited it as root earlier

lone bronze
#

Fuck

honest grail
#

just do sudo chown $USER:$USER .xinitrc

next steppeBOT
honest grail
#

to change the ownership back to your user

lone bronze
#

So root:juno-c?

honest grail
#

(the reason sudo echo .... doesnt work is that sudo applies to echo only, > .xinitrc will still be run as the regular user and try to write it asthat

honest grail
lone bronze
#

Well I’m the regular user

honest grail
#

root:juno-c would mean its owned by root and the group juno-c
whihc usually would mena your user only has read access and nothing else

lone bronze
#

Ohh oki

#

I misunderstood at first

honest grail
lone bronze
#

Like so?

honest grail
#

dont keep the dollar sign

#

$USER is an environment variable that (in this case) is equivalent to juno-c so thats why I wrote it lik ethat

lone bronze
#

Ohhhh

honest grail
#

ugh

lone bronze
#

What?

#

No screens found

honest grail
#

can you do lspci -k | grep -i5 VGA

#

might need to install pciutils

lone bronze
honest grail
# lone bronze

youre using the nouvea driver, thats the issue
it says nvidia is installed but you dont seem to be using it

lone bronze
#

Wait wtf I don’t remember installing that bitch

#

How do I yeet it?

honest grail
#

its installed with the kernel

#

do sudo pacman -S nvidia nvidia-utils

#

then reboot

#

the nvidia package blacklists nouvea apparently

lone bronze
#

So now I reinstall?

honest grail
#

yeah

lone bronze
final flax
#

lol

lone bronze
#

ISWTG I’M GONNA STRANGLE WHATEVER IS DOIN THIS

honest grail
#

just go to a tty ig

final flax
#

ig u might need to try popOS ? or ur comfortable with arch ? just saying popOS cause its the most stable 1 with nvidia

#

go to tty and type starx

lone bronze
final flax
lone bronze
#

What does pop have that arch doesnt

#

Or other way around depending

final flax
honest grail
#

distros are pretty much all the same, other than very few specifc things, you can do on arch everything you can do on any other distro yourself

final flax
honest grail
lone bronze
#

Can I still get the plasma de for pop?

final flax
#

yea

lone bronze
#

Istg I’m a fuckin idiot rofl

honest grail
#

do you want to try getting arch to work first, I think we're relatively close

#

cautiously optimistic ofc

lone bronze
honest grail
#

alright

final flax
#

ye ig continue first and u might be comfortable after all that changes

honest grail
#

switch to a tty if you can, id disable sddm now so it doesnt annoy you every time you reboot before its fixed

lone bronze
#

So systemctl disable —now sddm

honest grail
honest grail
lone bronze
final flax
#

try startx now maybe ?

honest grail
#

^

honest grail
# lone bronze

(the red authentication stuff is normal if you were wondering)

lone bronze
honest grail
# lone bronze

can you rerun lspci -k | grep -i5 VGA again just to make sure its using nvidia now

#

also I looked it up and apparently sometimes you do actually need to just list the monitors, so maybe you should use nvidia-xconfig but it seemed to output garbage so idk

final flax
lone bronze
honest grail
# lone bronze

still using nouvea, but I think thats okay
it might just be using it for the vga text mode emulation while youre in the tty

lone bronze
#

Fair

#

So I do nano for which again

honest grail
#

you dont have an igpu right

lone bronze
#

I do but I dont use it

lone bronze
#

So?

honest grail
#

just do what it says

#

make a /etc/X11/xorg.conf.d/10-nvidia.conf file and and write that

lone bronze
#

By doing nano?

honest grail
#

yeah

#

just sudo nano /etc/X11/xorg.conf.d/10-nvidia.conf

final flax
lone bronze
#

That look right?

honest grail
final flax
#

ah

honest grail
lone bronze
#

Ctrl s then x?

final flax
#

no need

#

just ctrl x

honest grail
#

i dont think ctrl+s even is an option

final flax
#

it is

lone bronze
#

To save?

final flax
#

auto saves

#

without asking u

honest grail
#

isnt ctrl+o save

final flax
honest grail
#

either way, ctrl+x also asks you if you want to save the file so you can use that

final flax
#

ctrl s not telling u to make sure

honest grail
#

i see

lone bronze
#

So now what?

honest grail
#

try startx again

lone bronze
#

At least we’re getting somewhere lol

#

Want me to check the logs?

final flax
#

thats really annoying that it doesnt wanna start normal..even tho everything looks fine

lone bronze
#

Ikr

#

And this has been what forced me to reinstall

honest grail
lone bronze
#

I did cat btw on the log file it was referring to

honest grail
lone bronze
#

Mhm

honest grail
#

see sudo dmesg | grep -i3 nvidia

lone bronze
#

Conflicting nvidia drivers caused by nouveau maybe?

honest grail
#

yeah looks like it

#

really odd its not automatically blacklisted

lone bronze
#

Hmmm weird

honest grail
#

try sudo blacklist nouveau

lone bronze
#

Eh blacklist aint a command?

honest grail
#

AH

#

im an idiot

#

yeah you have to regenerate the initramfs

lone bronze
#

Lmfao

#

How do I do that

honest grail
#

first, can you show me the /etc/mkinitcpio.conf file (if it exists)

final flax
#

cat /etc/mkinitcpio.conf

honest grail
#

^

lone bronze
#

WE’RE FINALLY GETTING SOMEWHERE

#

So how do I get mkinitcio.conf?

honest grail
#

run mkinitcpio -p linux

final flax
honest grail
#

as root

final flax
#

i forgot the p my bad

honest grail
final flax
#

just type it again

honest grail
#

oh lol

lone bronze
#

Like how?

final flax
#

i edited it

final flax
lone bronze
#

Ok yeah still doesnt exist

final flax
#

with the p ?

#

u sure ?

lone bronze
#

Omfg lmfao

#

My dumbass dyslexia

final flax
#

cpio

lone bronze
final flax
#

not pcio

lone bronze
#

Haza

honest grail
lone bronze
#

With nano?

honest grail
#

yeah

#

edit it with sudo

lone bronze
#

Show me which line you see kms?

#

Oop found it

#

Like so?

honest grail
#

yep

#

now save it

#

then run sudo mkinitcpio -p linux

#

then run sudo grub-mkconfig -o /boot/grub/grub.cfg to regenerate the grub config, then reboot

#

(make sure your efi partition is mounted to /boot first)

lone bronze
#

I can check that with lsblk ye?

honest grail
#

yeah or just ls /boot and see if it has an EFI and GRUB folder

lone bronze
#

I’ll take that as a yes?

honest grail
#

looks good

final flax
#

she should reboot and startx now right ?

honest grail
#

yeah

lone bronze
#

Fingers crossed y’all

honest grail
lone bronze
#

FUCK YEAH

final flax
#

rkive doesnt like to read the wiki at all XD

#

finally

lone bronze
#

Now my mouse doesnt work

final flax
#

pffft lol

lone bronze
#

How tf do I fix my mouse now rofl

honest grail
#

is it working badly or is it just straight up not showing up/moving

lone bronze
#

I cant move my cursor

final flax
honest grail
#

plasma is weird and doesnt always work well when launched via startx, at this point id recommend just trying to see if it works fine if you log in through sddm

#

if it doesnt fix it, theres more we can try

lone bronze
#

I mean couldn’t you tell I was getting quicker with it during this bs

#

So do I go to a sep tty

honest grail
#

yeah

lone bronze
#

And re enable sddm?

honest grail
#

and then sudo systemctl enable --now sddm

#

it should replace the current plasma session when you launch it in sddm

#

so you dont need to worry about closing it

#

even if it doesnt, linux allows you to have infinite desktop environments open at once so its still not an issue
if you cant move the mouse its kind hard to close kde so its better to just not worry about it lol

lone bronze
#

YEAHH

#

LETS GOO

honest grail
#

works?

lone bronze
#

Yup

honest grail
#

nice

lone bronze
#

Fuck you pop os you little prick

#

My mouse still doesnt work

honest grail
#

okay which mouse do you have

lone bronze
#

Razer basilisk v2 if I remember correctly

honest grail
#

some (especially gamer-focused) companies have thier own custom mouse drivers which is really fun and definitely not annoying at all

#

yup razer is one of those

lone bronze
#

Yeah I figured as such

honest grail
#

you have to install openrazer

lone bronze
#

I’m thinking bout gettin new keyboard and mouse for my new os

honest grail
#

if you dont have an aur helper its fine, I can help you install htat too
its pretty important for arch since the main repos are small, the aur basically adds a good 60k user created packages you can download

lone bronze
#

Yay correct?

honest grail
#

theres a few, yay is what I use
its just simple and works

lone bronze
#

Also why cant I switch ttys?

honest grail
#

do you know how to get it?

lone bronze
#

Mhm I already have it

honest grail
lone bronze
#

Definitely not frozen I can do alt fn shortcuts jus fine

honest grail
#

remember youre in a different tty rn,make sure youre switching to the one youre not already in

#

and try pressing it multiple times, its a bit inconsistent sometimes

lone bronze
#

I’ve tried f1 and f3

#

I can still use my arrow keys to traverse the de so I can install open razer from console

#

Is it -S or -Syu?

honest grail
#

yay -S openrazer
(yay doesnt need to be and should not be run with sudo)

lone bronze
honest grail
#

apparently its called openrazer-meta

lone bronze
#

Weird

#

Y or n

honest grail
#

also add yourself to the plugdev group

honest grail
# lone bronze Y or n

your choice
if you say to remove them after its done building, youd need to reinstall the deps every time theyre used again
personally I just dont remove them so I dont have to waste time reinstalling it

#

(btw when I say I use something, I mean I used it when I used arch, I dont use arch anymore)

lone bronze
#

What do you use now?

final flax
#

gento user now

honest grail
#

yeah

honest grail
#

generally theres a few youd want to add yourself to

lone bronze
#

Would I type that in?

lone bronze
honest grail
#

one of the first things I run on every install is
sudo usermod -a -G plugdev,netdev,wheel,input,audio,video jodi (obviously replace jodi with your username lol)

final flax
lone bronze
#

Lel

honest grail
# lone bronze Would I type that in?

thats an alternative, ive always used usermod instead but its the same
also install linux-headers, idk if the package installed that for you or not

lone bronze
#

I actually remember installing that

honest grail
# lone bronze How’s gento compared to arch?

theyre pretty different
gentoo allows you to customize everything about your system way more than arch, its a true DIY distro
you compile every single package (other than a few optionally) and can control which features theyre compiled with and everything like that
leads to preformance benefits and further customizations

honest grail
#

after adding yourself to the plugdev group
(id also recommend adding input, video, netdev, and audio too)
then you just reboot and itll automatically work

final flax
honest grail
#

yeah i wouldnt really recommend it to most people

lone bronze
#

What is netdev for?

honest grail
honest grail
# lone bronze What is netdev for?

used by some networking tools for authentication, you need it to run iwctl as a regular user for example (no clue about network manager)

lone bronze
#

Lol so its oki for me to reboot?

honest grail
#

Yeah

final flax
#

uhm mouse working ?

honest grail
#

Might not have to even reboot, I think just restarting the xserver works but idk how you'd do that without a mouse

lone bronze
#

Bouta find out

honest grail
#

Unless you want a 3rd kde session

final flax
#

alt p for dwm XD

lone bronze
#

Ok bruh my mouse still doesnt work

#

Lmfao all I had to do was unplug and replug it in X333

final flax
#

tf

#

u bein serios ?

honest grail
#

That just makes the driver load, that's normal lol

lone bronze
#

Still hilarious

#

Now I'm back in desktop disc

honest grail
#

You can check if it's using openrazer with lsusb -t if you want, if the driver is called like "basic mouse" then it was just needing to unplug and plug in

lone bronze
#

welp whatever the case its all good now

honest grail
#

Yeah yeah

final flax
#

do u have intel u-code installed ?
@lone bronze

#

if not then install it

lone bronze
#

Why?

final flax
#

can u take a quick look at the wiki for that ?

lone bronze
#

Suree

#

lmaoi

#

So all I have to do is pacman this one or should I yay?

final flax
#

sudo pacman -S intel-ucode

lone bronze
#

Guessing that one is the safer bet?

#

And what should I use yay for?

final flax
#

didint try yay for it tbh...but only use yay for the aur packages ig

lone bronze
#

Makes sense

final flax
#

also update arch every 3-4 days with command
yay

#

not everyday like everyone is doing lol..cause it might break ur system

lone bronze
#

How would I update arch by only using yay?

final flax
#

so its just easier to type yay

honest grail
# lone bronze And what should I use yay for?

for basically anything
Yay can do anything pacman can do + more
The only issue is that if you search for a package it'll take 15 years since it has to look through tens of thousands of AUR packages

lone bronze
honest grail
#

You can also just do yay -Syu like you normally would

lone bronze
#

valid**

honest grail
final flax
#

yea cause its a rolling release

honest grail
#

I don't know if it's better than updating every day though, I feel like as long as you update once or twice a week at least you're fine

lone bronze
#

Ig I'm confused

#

So yay breaks shit if you only type yay yes?

#

More frequently I mean

final flax
final flax
#

so its just easier to type yay

honest grail
#

It won't break anything

#

Well not commonly at least, arch can just sometimes break after a full upgrade but it's usually easy to fix and rare

final flax
#

yes but this 1 to install packages

#

not update

lone bronze
#

so yay -S differentiates than jus typing yay?

#

I'm sorry for me being stupid lel

honest grail
final flax
#

yay -S mpv

#

thats will install mpv for u

honest grail
#

Yay == pacman -Syu
(But with AUR packages being updates as well as official packages)

final flax
#

yay only = pacman -Syu

lone bronze
#

Ahhh oki thank you thats where I was tripping myself up

final flax
lone bronze
#

Thank y'all for putting up with me x333

lone bronze
final flax
#

sudo grub-mkconfig -o /boot/grub/grub.cfg

lone bronze
#

Thank you

#

How can I check that?

olive tide
#

why are you in this thread now lol

final flax
#

cause jodi was helping her

honest grail
lone bronze
#

Alrighty lol

#

Jus me bein paranoid

olive tide
honest grail
#

you can do cat /etc/fstab though and just see if it declares a vfat drive that gets mounted to /boot

lone bronze
#

Idk why fes didnt ask jodi to enter my thread lol

final flax
lone bronze
#

That would made this a lot more organized

final flax
#

anyway imma sleep now gn yall

lone bronze
#

Gn fes

#

Jodi if ya want you can join my thread cause thats where a lotta other ppl help me with my stupidity x333

honest grail
#

Alright

final flax
#

@honest grail does pamixer have limits in volume up ?

#

cause like it doesnt stop going higher when i try to see what is the max volume for it

honest grail
#

its limited by default for safety reasons

#

without a limit you can go to infinite

#

like literally infinite

final flax
final flax
#

how do i set the limit to 150% only ?

honest grail
#

(this is psuedo code, this wont actually work written exactly like this, its just a concept)

honest grail
#

takes from 200 miliseconds to like 500 sometimes
which is pretty long compared to not doing that which is instant

#

if you still want to do that though, youd probably want to use SHCMD again and just make the script in there

#

if [ $(pamixer --get-volume) -lt "150" ]; then pamixer --increase 5; fi
try this

#
static const char[] volumecmd = "if [ $(pamixer --get-volume) -lt "150" ]; then pamixer --allow-boost--increase 5; fi";

and then later
instead of doing {.v = volumecmd}, do just SHCMD(volumecmd) just like you did for the screenshot command

final flax
#

got u

#

thx btw

honest grail
#

this technically isnt perfect, it stops you from increasing your volume if the volume is equal to or greater than 150 so if youre on like volume 149 you can get up to 154 but that doesnt really matter and if youre only ever going up with increments of 5 anyway it shouldnt ever happen

#

and keep in mind you might notice a delay now because of pamixer --get-volume

final flax
#

imma give it a try..will go back to what it was if i felt uncomfortable

honest grail
final flax
#

Jan 09 13:37:39 arch kernel: x86/cpu: VMX (outside TXT) disabled by BIOS
Jan 09 13:37:39 arch kernel: ACPI BIOS Error (bug): Could not resolve symbol [_PR.CPU0._PPC], AE_NOT_FOUND (20220331/psargs-3>
Jan 09 13:37:39 arch kernel: ACPI Error: Aborting method _PR.PPCE due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Jan 09 13:37:39 arch kernel: ACPI Error: Aborting method \EV4 due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Jan 09 13:37:39 arch kernel: ACPI Error: Aborting method \SMIE due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Jan 09 13:37:39 arch kernel: ACPI Error: Aborting method \NEVT due to previous error (AE_NOT_FOUND) (20220331/psparse-529)
Jan 09 13:37:39 arch kernel: ACPI Error: Aborting method _SB.PCI0.LPCB.ECDV._Q66 due to previous error (AE_NOT_FOUND) (202203>
Jan 09 13:37:39 arch kernel: EXT4-fs: Cannot change data mode on remount
Jan 09 13:37:40 arch systemd-remount-fs[236]: /usr/bin/mount for / exited with exit status 32.
Jan 09 13:37:40 arch systemd[1]: Failed to start Remount Root and Kernel File Systems.
░░ Subject: A start job for unit systemd-remount-fs.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░
░░ A start job for unit systemd-remount-fs.service has finished with a failure.
░░
░░ The job identifier is 32 and the job result is failed.

#

Jan 09 13:37:52 arch kernel: Support for cores revisions 0x17 and 0x18 disabled by module param allhwsupport=0. Try b43.allhws>
Jan 09 13:37:53 arch dhcpcd[379]: dhcpcd_prestartinterface: Operation not possible due to RF-kill
Jan 09 13:37:57 arch dhcpcd[405]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:37:59 arch dhcpcd[405]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:38:00 arch dhcpcd[405]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:38:02 arch dhcpcd[405]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:38:04 arch dhcpcd[405]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:38:31 arch sudo[482]: pam_unix(sudo:auth): conversation failed
Jan 09 13:38:31 arch sudo[482]: pam_unix(sudo:auth): auth could not identify password for [alu]
Jan 09 13:38:42 arch sudo[498]: pam_unix(sudo:auth): conversation failed
Jan 09 13:38:42 arch sudo[498]: pam_unix(sudo:auth): auth could not identify password for [alu]
Jan 09 13:38:50 arch sudo[514]: pam_unix(sudo:auth): conversation failed
Jan 09 13:38:50 arch sudo[514]: pam_unix(sudo:auth): auth could not identify password for [alu]
Jan 09 13:40:53 arch dhcpcd[973]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:40:54 arch kernel: usb 2-1.1: device descriptor read/64, error -32
Jan 09 13:40:54 arch kernel: usb 2-1.1: device descriptor read/64, error -32
Jan 09 13:40:54 arch kernel: usb 2-1.1: device descriptor read/64, error -32
Jan 09 13:41:01 arch dhcpcd[1016]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:41:02 arch dhcpcd[1016]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:41:04 arch dhcpcd[1016]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:41:06 arch dhcpcd[1016]: ps_bpf_recvmsg: Invalid argument
Jan 09 13:41:08 arch dhcpcd[1016]: ps_bpf_recvmsg: Invalid argument
Jan 09 14:08:41 arch kernel: usb 2-1.1: device not accepting address 16, error -71
Jan 09 14:08:41 arch dhcpcd[379]: ps_root_dispatch: No such file or directory
Jan 09 14:08:41 arch dhcpcd[379]: ps_root_dispatch: No such file or directory

#

Jan 09 14:08:41 arch dhcpcd[379]: ps_root_dispatch: No such process
Jan 09 14:08:45 arch dhcpcd[2158]: ps_bpf_recvmsg: Invalid argument

#

are these errors critical ?

final flax
#

@honest grail

honest grail
#

Doesn't sound good

#

Is your system still like usable?

final flax
#

ye lol i use it right now

final flax
honest grail
#

I guess it's not critical then? I'd definitely keep it mind though since they don't seem good
Yeah I'd say just google the errors

final flax
#

@honest grail can u help me uninstall all pulseaudio components and install pipewire ? just wanna give it last try cause someone said he got laptop from 2001 and mic was working on it with pipewire..+ im telling u to help me uninstall it cause last time i tried uninstalling it by myself, linux didint want to boot up at all

honest grail
#

The pipewire page tells you how to replace pulseaudio with it

#

.aw pipewire

autumn zodiacBOT
honest grail
#

I'm in class rn so can't help rn

final flax
#

alr

#

uhm so
sudo pacman -S pipewire-pulse
then reboot and
systemctl start pipewire-pulse.service
then uninstall pulseaudio components right ? just making sure tho

final flax
#

or
sudo pacman -S --noconfirm --needed pipewire
sudo pacman -S --noconfirm --needed pipewire-media-session
sudo pacman -S --noconfirm --needed pipewire-alsa
sudo pacman -S --noconfirm --needed pipewire-jack
sudo pacman -S --noconfirm --needed pipewire-zeroconf

sudo pacman -Rs --noconfirm pulseaudio-equalizer-ladspa
sudo pacman -Rs --noconfirm pulseaudio-alsa
sudo pacman -Rs --noconfirm gnome-bluetooth-blueberry
sudo pacman -Rs --noconfirm pulseaudio-bluetooth
sudo pacman -Rs --noconfirm pulseaudio

sudo pacman -S --noconfirm --needed pipewire-pulse
sudo pacman -S --noconfirm --needed blueberry
then reboot

honest grail
#

99% of this is optional, it just depends on what you're using
If you remove pulseaudio, it'll remove it's dependencies
It also doesn't matter if you remove it all since it just simply won't be used if you're not using pulseaudio

final flax
honest grail
#

You don't need wire-plumber or anything, you can use whatever session manager you used for pulseaudio unless you need the special pipewire only features

olive tide
honest grail
#

I don't remember ever installing wire-plumber at least

olive tide
#

At least I think so, maybe pipewire doesn't directly require it

final flax
#

[alu@arch ~]$ pactl info
Server String: /run/user/1000/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 91
Tile Size: 65472
User Name: alu
Host Name: arch
Server Name: PulseAudio (on PipeWire 0.3.63)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: alsa_output.pci-0000_00_1b.0.analog-stereo
Default Source: alsa_input.pci-0000_00_1b.0.analog-stereo
Cookie: 8a36:2e4e

honest grail
# final flax done but i still see what im on pulseaudio ?

well yeah
pipewire is just a sound server, its still using pulseaudio as a client
if you dont want to use the pulseaudio client remove pipewire-pulse, but then some apps wont work and bluetooth also wont work
the benefits of pipewire are as a sound server, it doesnt really replace pulseaudio

#

so youll still get less latency, better video recording, etc

final flax
honest grail
final flax
#

@honest grail why when i alt + p and then type reboot and enter, it doesnt reboot my laptop ?

#

it was working fine...idk what happened tbh

final flax
honest grail
#

try systemctl reboot instead

#

it does require polkit being installed though

final flax
#

worked thanks

honest grail
# final flax worked thanks

If you want you can alias it in /etc/profile (or /etc/profile.d) like alias reboot="systemctl reboot" and then it should just work in dmenu if you do reboot

final flax
#

@honest grail is the formating here is fine ?

honest grail
# final flax

Yeah
Normally youd want to line it up but since this line is so much longer, you can't really do that
And it's visual anyway, as long as you can read it, it's correct

#

Personally I just made a macro and used that to make it shorter

final flax
#
  • also i wanna see ur whole latest config.h if u dont mind
honest grail
#

its all on GitHub, lemme resend the link

final flax
honest grail
#

I actually reset it when I started reusing dwm so it might be slightly different

honest grail
final flax
#

VOLKEY(LowerVolume),
VOLKEY(RaiseVolume),
VOLKEY(Mute),

honest grail
#

Yeah, VOLKEY is a macro I made

final flax
#

wait what..is it going to work like that

#

#define VOLKEY(ACTION) { 0, XF86XK_Audio##ACTION, spawn, {.v = ACTION##cmd} }

honest grail
#
#define VOLKEY(ACTION) { 0, XF86XK_Audio##ACTION, spawn, {.v = ACTION##cmd} }

VOLKEY(LowerVolume) == {0, XF86XK_AudioLowerVolume, spawn, {.v =LowerVolumecmd}}

#

So ofc you'd also need to change the names of the volume commands to match that

#

I could've just made an array for it but meh, it doesn't matter that much and it'd require it to use 24 bytes of memory for no reason

#

I'd recommend just like not worrying about this, it doesn't really matter
I just thought it'd make it look slightly nicer

#

It does exactly the same as yours just more concisely

final flax
#

ah i see, alr thx btw

final flax
#

@honest grail where can I start learning C language ? Gonna start learning it when I finish this year BTW cause I'm really busy in studying

honest grail
#

You just need basic programming knowledge and you need to know how memory management works

#

Its basically a thin wrapper over assembly (the language specific to your processor) to be portable to multiple computers so it's very simple and doesn't really have anything fancy

final flax
honest grail
final flax
#

Hmmm alr I'll just look around for stuff I can take as an example too but in my free time

#

U sure u learned it in 1 week only ?

honest grail
#

Yeah, under a week in fact

#

Obviously I was worse then than I am now but I understood the core concepts

final flax
#

Is it going to be as easy for me too if my main language isn't English ?

honest grail
#

well probably as easy as any other language, there's not that many keywords so most of it is in English

final flax
#

Ah ig that will be fine then

honest grail
#

There could be an issue if your language doesn't use the English alphabet
C was made in 1970 so it only supports ASCII, which only includes the English alphabet, numbers, and a few extra symbols like () and ;
So if you make a string in C with Japanese symbols for example, and try to take the 3rd character, it will not work correctly

#

But that's also true for python and a lot of other languages, it's just one thing you should be aware of

#

obviously you can get around this by using a utf8 library which supports basically all symbols including emijis

final flax
honest grail
#

Also what other programming languages do you use

final flax
final flax
#

@honest grail

#

pacman -Rnsu xorg got this after that command...I thought it will only remove unused xorg stuff

honest grail
#

Just reinstall everything

final flax
#

Should I just install xorg-xinit ?

honest grail
#

that will probably pull the other stuff so probably yeah

final flax
honest grail
final flax
#

Imma just try xorg-xinit for now and see if its gonna boot

#

Same thing..uhm which xorg is actually needed to make it work...I just don't wanna install it all

#

@honest grail

honest grail
final flax
#

Worked thanks ..uhm for u do u just install all the xorg stuff ?

honest grail
final flax
honest grail
final flax
#

@honest grail is it possible to add the ones i want from here in slstatus?

honest grail
final flax
honest grail
#

Just remember they'll all be refreshed at the same time so if you want your current volume to be displayed every second, your CPU usage would be redisplayed every second too

honest grail
#

Look at the default config and see the comments

#

(if you want them, they're also on my GitHub page under the dwmstatus project)

final flax
final flax
honest grail
final flax
honest grail
final flax
honest grail
final flax
#

how am i supposed to use it

honest grail
# final flax

Oh god this is from like a year ago lol, I didn't realise i still had that
That was my first attempt at making the status bar and I basically just copied someone else's project entirely lmao

honest grail
#

Well first you'd probably want to edit config.h

final flax
honest grail
#

What

final flax
#

u mean the whole folder ?

honest grail
#

No that's not how it works
This is an entire status bar, it isn't contained in the 10 line config.h file
The config.h file is only the configuration

#

You need to clone the whole repo

final flax
#

so uhm git https://github.com/DaQueenJodi/dwmstatus

honest grail
final flax
#

but i wanna edit it first b4 i install it

honest grail
#

then do that

final flax
honest grail
honest grail
final flax
#

alr got u...btw uhm does it use alot of ram n cpu ? or no

honest grail
#

I never tested it since it works fine in my PC
But for ram it should use basically nothing, it never allocates memory after startup

#

You can change how much it allocates but by default it uses 100 bytes of memory per module and 1024 bytes just for the test in the status bar itself
You can change all of that but it might crash if you ever exceed the length so yaknow don't be too strict

final flax
#

uhm alr

#

static const char datecmd[] = "date '+%x %r'";
#define seperator " | "

#define SECONDS(n) (1 * 1000)
#define MINUTES(n) (SECONDS(n) * 60)

// {prefix, command, ms_interval}
static const Module modules[] = {
{NULL, datecmd, SECONDS(1)},
};
its fine like that for only date n time ? (just for testing tho)

#

@honest grail

#
  • should i add it in .xinitrc
    dwmstatus &
queen bison
#

If you want to truly move to DWM you will also need to move to your mother's basement

queen bison
#

Bruh

final flax
#

ban that toxic kid

patent thorn
queen bison
#

I was just informing OP of a certain sentiment

honest grail
final flax
final flax
# honest grail Yep

make
clang ./dwmstatus.c -std=c99 -pthread -Wpedantic -Wall -Wextra -lpthread -lX11 -o dwmstatus
make: clang: No such file or directory
make: *** [Makefile:15: all] Error 127

patent thorn
# queen bison I was just informing OP of a certain sentiment

My advice, if you’re not going to help, leave the thread. I don’t mind people joking a little but if you’re going into a support thread just to shit post it’ll go down badly, as in I’ll start more actively moderating that behaviour or even removing you if it gets more disruptive. Not willing to discuss this further in a support thread. Good luck to the folks here 🙂

winged wharfBOT
#

vegancookies received a thank you cookie!

honest grail
#

@final flax do you have a /usr/local/bin folder?

#

ls /usr/local/bin

final flax
#

yea

#

ls /usr/local/bin
dmenu dmenu_path dmenu_run dwm slstatus st stest

honest grail
#

Weird, idk where that error is coming from then lol

honest grail
#

Just go into the Makefile and change "CC=clang" to "CC=gcc"

final flax
#

alr

honest grail
#

Forgot to make it that before release
I use clang on my PC but not everyone has it

final flax
honest grail
#

Yep

#

Dw about it

final flax
#

works fine thanks..uhm now how do i remove all slstatus components

#

not talking about its folder...talking about the things that has been installed with the make command

honest grail
final flax
#

@honest grail is it needed to update dwm by recompiling it ?

#

or there is no update for it at all

honest grail
#

Dwm gets updates rarely and yeah ofc when it updates you'll need to recompile it

final flax
#

then sudo make install

honest grail
final flax
#

ah thats way easier, thanks for letting me know it tho

final flax
#

if [ -d /etc/X11/xinit/xinitrc.d ] ; then
for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
[ -x "$f" ] && . "$f"
done
unset f
fi
@honest grail what does this do

honest grail
final flax
#

ah

final flax
#

@honest grail xinput by somehow doesnt exits in arch..uhm and touchpad works again

#

xinput list
bash: xinput: command not found

honest grail
#

Well yeah, because remember you uninstalled a bunch of Xorg apps

#

Just reinstall it

final flax
#

is there a way to just get xinput installed without having to install all xorg stuff back ?

final flax
#

Virtual core XTEST pointer
@honest grail do u know what is that driver for ?

final flax
#

whats the diffrence between sleep button and power button ?

#

@honest grail

honest grail
final flax
# honest grail In what context

its just in xinput devices so i was just wondering whats the diffrence between them and can i disable 1 of them if its not needed

honest grail
#

But also I don't know why you're disabling so much, it won't increase performance or anything

final flax
honest grail
final flax
#

@honest grail if i wanna delete my user completly from arch then make new 1 ill have to open the tty and login the root then sudo userdel [myusernamehere] right ? or am i missing something ...i want it to be completely removed with nothing left from it

honest grail
final flax
#

@honest grail can u take a look at that bar ? i want mine to be the same colors..and i have the config.h for it but uhm its diffrent for me in my config..wait ill send u his config and take a look at it

#

static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
static const char col_gray4[] = "#eeeeee";
static const char col_cyan[] = "#005577";
its like that for me

#

for him its
static const char col_bg[] = "#1E1E2E";
static const char col_fg[] = "#CDD6F4";
static const char col_green[] = "#8999FD";

#

did u get what i mean ?

honest grail
#

yeah they just changed the array that controls the colors around to make it fit with their way

#

they have

static const char *colors[][3]      = {
    /*               fg      bg    border   */
    [SchemeNorm] = { col_fg, col_bg,    col_bg },
    [SchemeSel]  = { col_bg, col_green, col_green  },
};

instead of the default

static const char *colors[][3]      = {
    /*               fg         bg         border   */
    [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
    [SchemeSel]  = { col_gray4, col_cyan,  col_cyan  },
};
#

theyre just variable names, it doesnt matter what you call it

final flax
#

done but its diffrent for me @honest grail

final flax
#

u here ? @honest grail

honest grail
#

Yeah

#

Idk how to help with that, they might have edited dwm to have full true color support or something
At which point idk how to even begin doing that

#

Again they can edit the entire source code of dwm
Its pretty much impossible to know what they changed and how they did it