<remiliascarlet>
zorz: I think I'm a bit late, but I just found a PHP project that includes working configs for both Nginx and OpenBSD's httpd, which is very easy to re-use: https://gitler.moe/tak4/bibis
<zorz>
remiliascarlet: i was just going to sleep
<zorz>
thank you man
<zorz>
let me bookmark it
<zorz>
remiliascarlet: how are you doing ?
<remiliascarlet>
Doing fine, just woke up have had breakfast.
<remiliascarlet>
Steak, ground beef, and 4 eggs. And then I don't eat anything else for the entire rest of the day.
<zorz>
fuckin hell,, you are short in cholesterol?
<zorz>
lol
<remiliascarlet>
No, just the carnivore diet.
<remiliascarlet>
The only diet that actually works for me.
<zorz>
i manage the thing yestarday,,, and now i am testing php but the fuck is i have to change permissions on the files everytime i change them refresh them etc etc
<remiliascarlet>
Just make sure the user and group in the config files for php-fpm, php.ini, and nginx match.
<remiliascarlet>
This is what I personally call "daemon power struggle".
<zorz>
yes the groups
<zorz>
anyway... any time you need a config like that... we have ready
<zorz>
it works very nice
<zorz>
the only thing that did not manages to use is the PDO
<zorz>
something i do wrong, but i dont care
<remiliascarlet>
I don't use PDO myself, so that's one area I can't help with.
<zorz>
did you know that...
<zorz>
wait to find it
<remiliascarlet>
Man, I hate so many western YouTubers! They make it very clear what they want to talk about in their videos, and then spend 40 minutes talking about irrelevant bullshit, and maybe 1 to 2 minutes of relevancy can be found somewhere within those 40 minutes.
<zorz>
$conn = new mysqli($servername, $username, $password, $dbname, null, "/var/run/mysqld/mysqld.sock");
<zorz>
so when i finish, i test the page online there
<zorz>
remiliascarlet: yes ofcourse they have lightdm :PPpp
<remiliascarlet>
Not the same thing.
<zorz>
thats why iam louphing
<zorz>
never used DM in linux
<remiliascarlet>
Same.
<zorz>
couldnot install it
<zorz>
as a matter of fact, my first linux was arch with wayland sway
<zorz>
no DM na X configs
<zorz>
no DM no X configs
<zorz>
lol
<remiliascarlet>
I just log into a TTY, and to `startx /usr(/local)/bin/dwm`. I just see no point in using a DM.
<zorz>
man i run agetty
<zorz>
and the auto startx
<zorz>
iam on dwm, very fast
<remiliascarlet>
The reason why I don't autostart is because being able to use a TTY-only session is really nice.
<zorz>
do you start dbus-run-session dwm ?
<remiliascarlet>
No, just `startx /usr(/local)/bin/dwm`..
<zorz>
i log out if i need tty
<zorz>
and you can run multiple instances of firefox?
<zorz>
me with just x i cannot
<remiliascarlet>
Maybe I could, but I never do so.
<zorz>
if i start with dbus-run,,, i open as many firefox i like
<zorz>
slstatus is very cool, dont forget what i told you to get the dev mixer file
<zorz>
for sound.
<remiliascarlet>
I would have used Lynx for all my browsing if it wasn't for all these JS-only soydev crap.
<zorz>
man.... lynx no visual....
<zorz>
at least w3m
<remiliascarlet>
I don't need visual.
<zorz>
u know
<remiliascarlet>
Run Lynx in tmux/screen/byobu, and you've got yourself a TUI browser with tabs.
<zorz>
the only things i add in dwm, is the xf86 volume keys, i3 keys... and Super+Shift+Del = shutdown
<remiliascarlet>
Install rofi and rofi-calc, configure it to Super + Eisu_Toggle, and you've got yourself a nice calculator.
<zorz>
rofi,, dont like too much, dmenu i am fine
<zorz>
this i took the patch...
<zorz>
dmenu desktop only
<remiliascarlet>
I applied that patch on dmenu, but it didn't work.
<remiliascarlet>
Which is why I went back to rofi.
<zorz>
you need to patches
<zorz>
you need 2 patches
<remiliascarlet>
The other reason why I use rofi over dmenu is because rofi has fuzzy search.
<zorz>
git clone a new dwm and patche it before you add your customisations
<zorz>
patch the plugin
<zorz>
it works fine
<remiliascarlet>
So in rofi I just type "wall", and I immediately get the Monero wallet. But in dmenu I have to explicitely type "monero-gui-wa", or it just won't appear.
<zorz>
ok
<zorz>
what i really like in dwm is
<zorz>
that iam right handed and i am used to write and look left. so dwm opens new windows left.
<zorz>
i3 opens new windows right
<zorz>
sway opens new windows right
<zorz>
is not convenient.
<remiliascarlet>
I never really understood the appeal of the Eisu_toggle. It's just a key that exists, and serves no functionality.
<zorz>
and ofcoourse is fucking stable.
<remiliascarlet>
Which is why I just mapped other stuff to it.
<remiliascarlet>
With the exception of Shift + Eisu_toggle, because that activates Caps Lock.
<zorz>
i like whe i sent terminals on the fly in other workspaces
<zorz>
fucking hell
<zorz>
and changing tiled with monocle
<remiliascarlet>
But just Eisu_toggle by its own got remapped into the Escape button, which comes in handy when using Vim.
<zorz>
i watch news, 4-5 workspaces, firefox-picture i picture press super-shift-0 you have it in all work spaces
<zorz>
lol
<remiliascarlet>
I don't watch news, fuck the brainwashing!
<zorz>
only the titles man... i dont care about their opinion.... i care for the titles
<zorz>
anway... its time
<zorz>
thank you again and goodnight
zorz has quit [Quit: WeeChat 4.1.2]
ppetrov^ has joined #crux-social
pitillo has joined #crux-social
<pitillo>
hey! I didn't know about this channel (thanks ppetrov^ :D)
<ppetrov^>
pitillo, heh... "we donät make mistakes, just happy accidents"
<SiFuh>
Heh
<remiliascarlet>
ppetrov^: Donuts were a mistake.
<remiliascarlet>
Too much sugar.
<pitillo>
ppetrov^: xD
<SiFuh>
remiliascarlet: Wanted to ask yesterday if you ever watched that series Blue Eye Samurai (2023)
<ppetrov^>
remiliascarlet, ä is just next to '
<remiliascarlet>
SiFuh: No.
<remiliascarlet>
Actually, I don't watch live action movies unless there's nothing better to do, like while on an airplane for 9+ hours for example.
<SiFuh>
It's an animation
<remiliascarlet>
Didn't hear of it.
<remiliascarlet>
I see it's a Netflix show? No wonder I've never heard of it then.
<SiFuh>
Yeah, it is, it was recommened to a friend of mine who asked me if I would be interested to see it because his friend gave good reviews so I did and it was a bit extreme but yeah quite good
<remiliascarlet>
The only time I hear of Netflix shows are when they're being laughed at for the memes they are.
<remiliascarlet>
"i seem to have read that this book also blamed anime for troonism" Because they just take pictures of random anime girls they don't even know anything about, and the other side that knows just as much about it immediately comes to the conclusion that "those motherfuckers use anime girls as their avatars, therefore anime is all about trannies".
<lavaball>
can anyone confirm that's actually in the book
<lavaball>
?
<remiliascarlet>
I have no means to do so, But I've seen enough people on Bitchute and Odysee thinking that "anime = pro-tranny", despite the fact anime got attacked by trannies way more frequently than anything conservatives value.
<lavaball>
that doesn't buy anything. the majority of people believe that god is all love and peace and shit.
<lavaball>
i guess i'll see if i can find the book then.
farkuhar has joined #crux-social
lavaball has quit [Remote host closed the connection]
ppetrov^ has quit [Quit: Leaving]
ppetrov^ has joined #crux-social
zorz has joined #crux-social
<zorz>
bonjour!
<farkuhar>
zorz: on the rare occasions when I don't want an auto-starting graphical session after agetty login, I have my start-sway command protected by the test $(tty) = "/dev/tty1"; that way I can switch to a different VT if all I want is a console session.
<zorz>
farkuhar: :-)
<farkuhar>
but if you're interested in a simple display manager that supports both Xorg and Wayland, consider greetd from the contrib repo.
<zorz>
farkuhar: since i got you online,,, tell me something if i will create this folder /home/packages/build:mypackage and activate it in prt-get.conf
<zorz>
what should be the order of the diretoctory ex /home/packages/build/xclip/ ?
<zorz>
if [ -z $DISPLAY ] && [ $(tty) = /dev/tty1 ]; then
<zorz>
startx
<zorz>
fi
<farkuhar>
zorz: good question. The man-page for prt-get.conf(5) is not very clear on this distinction (base directories versus local builds). In fact there was once some discussion about removing support for the "local builds" feature, since it wasn't documented well enough for people to use.
<zorz>
instead of startx you can do dbus-run-session sway
<zorz>
farkuhar: i am thinking if i can build locally the packages that i use in a way like ports behave then i can move on the stages to sign them and push the config pkgbuild online.
<farkuhar>
zorz: if you want to share your ports with the wider CRUX community, drop a note to jaeger asking to be listed on the portdb. See https://crux.nu/Main/HowToContribute for more details.
<farkuhar>
Also read the man-page for pkgmk, specifically the sections on --update-signature (-us) and --refresh-signature (-rs).
<zorz>
let me copy those
<farkuhar>
pkgmk will look for the private key /etc/ports/$(basename $(dirname $PWD)).sec, but you can override this default with the --secret-key (-sk) switch.
<zorz>
farkuhar: thank you
lavaball has joined #crux-social
<lavaball>
now tell me why my central nervous system takes about 10 days to recuperate.
<lavaball>
like 3 years ago it was ready two days after, if not the very next day.