-
fran
Hello; I've been running FreeBSD on my desktop for the past several months, but one thing I've been having trouble figuring out is switching between sound devices. I have a whole seven devices available <
bsd.to/QH4B>, when I really just want to playback from Front Analog if it's plugged in and Rear Analog if it's not, and record from my USB webcam. I've gathered that I probably have to do something in /boot/device.hints, but I'm absolutely confounded by
-
fran
the syntax and having to reboot my system every time has made trial-and-error incredibly frustrating. I was wondering if someone would be able to help.
-
VimDiesel
Title: dpaste/QH4B (Plain Text)
-
debdrup
-
jcamos
curious... freshports is not working for me
-
jcamos
website*
-
edenist
It started acting funny for me earlier today then eventually went down completely a few hours ago
-
jcamos
btw I think what Fran means is to be able to automatically switch between audio sinks when plugged/unplugged
-
jcamos
does virtual_oss does that? because I have the same issue on my laptop... have to manually change when I want to use headphones, etc.
-
jcamos
fran: correct me if I'm wrong
-
reyman
Hi ! Is there a way to defined multiple "ext_if=" interfaces used later with NAT for jails into pf ? I didn't found any example
-
edenist
reyman: there should be a few wayss
-
edenist
you can include a list of interfaces within braces the same way as ports eg: "pass from { em0, em1, lo0 } to any keep state"
-
edenist
so if you want to possibly add more interfaces later as jails are added, define a macro at the top, say jail_if="{lo1, lo2, lo3}", then include jail_if in your rules
-
edenist
then just add the extra interfaces to the macro later on
-
reyman
ok ! thanks @edenist, i will try, i'm interested to publish my jails on two network, so ext_if={re0, tailscale0} is probably the solution
-
debdrup
jcamos: yeah, it's been a bit hit and miss, but I'm sure dvl has monitoring to alert him when he wakes up
-
debdrup
jcamos: As for virtual_oss and automatic switching, it's a question of combining it with devd
-
debdrup
Make a script that can toggle between the modes using virtual_oss and have devd trigger it when the device (based on its serial number or somesuch) is plugged in.
-
jcamos
I know this is somehow tedious, but could you make a simple example? specially on the devd side :/ just something generic
-
jcamos
thank would be great!!! I mean, I did some changes on devd to (for example) dimm the screen everytime I unplug the power, but that was directly on the /etc/devd.conf
-
jcamos
actually not sure if it was on that file.... need to check
-
jcamos
actually it was directly on /etc/rc.d/power_profile
-
jbo
I just did a kldunload fusefs and the process is stuck
-
jbo
how would one go about dealing with that?
-
sldks
is there a way to reduce the number of installed translations (via pkg)?
-
Remilia
jcamos: you should not edit /etc/rc.d/* directly
-
jcamos
Remilia: yes I know... it just temporarily worked
-
jcamos
meaning it was a temp fix I did
-
jcamos
basically I've added the following two lines:
bsd.to/O0qw (it's not like I'm altering anything else, even though I know I'm not supose to edit directly)
-
VimDiesel
Title: dpaste/O0qw (Plain Text)
-
Remilia
jcamos: you can copy the script over to /usr/local/etc/rc.d, edit its name (in the script itself) and edit devd.conf to make it call service your_power_profile
-
jcamos
thanks for the tip!
-
jcamos
Remila: not only the name in the script but also the scrip file name as well if I'm not mistaken
-
jcamos
remilia: *
-
PredatorONormies
Hi. Does anyone know how Mozilla Firefox works? Apparently it's written in Rust (a bit hard to find it's source code)... but I don't see Rust being installed on my machine.. how does it work on FreeBSD?
-
mage
things compiled with Rust doesn't require Rust
-
mage
it's not Java :)
-
mage
also Mozilla is using Rust for some parts of Firefox (which is mainly c++ I think)
-
la_mettrie
rust's hello world binary size is 4 MB ...which may help understanding something here
-
PredatorONormies
Yeah, one of reasons I want to avoid it.
-
PredatorONormies
Isn't Mozilla the company that created Rust?
-
la_mettrie
yes
-
PredatorONormies
holy shit haha
-
PredatorONormies
Mozilla sucks
-
PredatorONormies
I rank it now as equal as Google
-
la_mettrie
well, like it or not, mozilla is our only guardian against situation in which google gets the position to dictate WWW's development alone
-
PredatorONormies
Well kind-of wrong.
-
PredatorONormies
There are alternatives that support ShitScripts and CSS
-
gman999
mozilla is hardly google....
-
PredatorONormies
I think those are IronWolf (or something like that)
-
gman999
the googs and cloudflares *fund* the mozillas
-
gman999
and mozilla doesnt know whether it's coming or going
-
PredatorONormies
Probably Suckless' Surf
-
PredatorONormies
But I don't need JavaScript, really
-
PredatorONormies
> <gman999> mozilla is hardly google.... < It is for me.
-
PredatorONormies
For more than the Rust reason
-
Anonymous__
There's also them being buggy (even esr), then I guess Mozilla heading in the censorship direction (something about their tweets on Twitter, I think)
-
gman999
there is a push and pull within mozilla about privacy for a very long time.
-
gman999
very open to tor project and closely work.. then there's the marketing ppl.
-
Anonymous__
Yeah, also Mozilla Firefox's SLOC is like 400-600 MiB in size
-
Anonymous__
Or just the repo overall, I mean
-
Anonymous__
And that's massive, a big "no thank you"
-
Anonymous__
And the Tor project doesn't really even seem care about the following:
-
Anonymous__
I heard that Firefox also includes some proprietary Google thing
-
Anonymous__
Like a font or something idk
-
gman999
er, yes we do :)
-
tradar
vanilla firefox isn't totally privacy friendly
-
Anonymous__
Not sure if it's insecure to have it
-
gman999
tor browser is heavily changed from default ff-esr
-
gman999
go look at the code.
-
Anonymous__
gman999, I tried to 'look at the code'
-
Anonymous__
But the repo is like +400M in size
-
Anonymous__
so I gave up and said "I hate it"
-
Anonymous__
That day I basically gave-up on JavaScript, too
-
gman999
then you should prob avoid the freebsd code base
-
Anonymous__
So I deleted TBB, too
-
gman999
code bases can be big
-
Anonymous__
gman999, I need 1 operating system, not 10 of them
-
Anonymous__
I know xD
-
Anonymous__
gman999, but it's just a web browser
-
gman999
"just a web browser"... ha ha...
-
gman999
this isn't 1993 anymore
-
Anonymous__
well Firefox isn't just that... but it's what it's supposed to be.. anyways
-
Anonymous__
IronWolf (I think) is VERY lightweight, and even supports JavaScript, I think..
-
Anonymous__
and I reviewed it's source code
-
gman999
web browsers are nightmares... agree.
-
gman999
ff a pile of something
-
Anonymous__
> <gman999> this isn't 1993 anymore < Just because it's not 1993 anymore - doesn't mean that I need 1G of features I will never use, but which also make the project's code unreadable lol
-
Anonymous__
I use Links
-
Anonymous__
And I love it
-
Anonymous__
I thought about diching X.org for dvtm, but hmmmm not feeling it just yet
-
gman999
im describing reality.. not praising it.
-
Anonymous__
Oh
-
Anonymous__
Well - it should be 1993, then xD
-
gman999
url for ironwolf browser?
-
gman999
not on freshports
-
gman999
idk that browser
-
Anonymous__
It's new I think?
-
Anonymous__
give me a few minutes
-
nacelle
you have 14 seconds.
-
nacelle
COMPLY!
-
Anonymous__
badwolf
-
gman999
it's so new, it's pre-url
-
Anonymous__
?
-
Anonymous__
-
VimDiesel
Title: BadWolf — lanodan’s cyber-home
-
gman999
ty
-
Anonymous__
code ~1500 LoC
-
gman999
found it
-
Anonymous__
> ty < nip
-
mage
15:07 < la_mettrie> rust's hello world binary size is 4 MB ...which may help understanding something here
-
mage
?
-
mage
it's ~500 kb
-
mage
-
VimDiesel
Title: foo.rs · GitHub
-
mage
rust is not go :-)
-
la_mettrie
asking the duck seems to give different sizes...
-
scoobybejesus
unstripped, debug, non-LTO builds will be a lot bigger than necessary
-
Remilia
la_mettrie: my web app with a dependency tree of about 400 crates total compiles to 7 MB, this is with native PostgreSQL client, tokio/hyper/axum, and rustls
-
Remilia
so I highly doubt a Hello World can be half that
-
Remilia
mage: 500 KB seems to be with debug information etc., I just did cargo new helloworld && cargo build --release, and the result was 155 KB
-
Remilia
though might be platform dependent
-
Remilia
on FreeBSD, the result is 3.7M that turns into 307K after strip
-
mage
Remilia: du you use web assembly?
-
Remilia
no
-
mage
just curious, why did you choosed axum rather than axis or rocket or .. ?
-
Remilia
this topic however is more suited for #freebsd-social
-
mage
yeah
-
Remilia
mage: simply because I liked its design more and because it is a part of tokio
-
» saltd Topic is: Have fun
-
sldks
is there a way to tell pkg not to install certain translations?
-
debdrup
sldks: unfortunately not; you can't lock non-existent packages.
-
debdrup
It's an interesting idea, would love to see a patch for it.
-
polyex
if we only allow public key ssh in, any good reason user accounts should still have a pw?
-
svm_invictvs
Okay
-
svm_invictvs
So I have an old jail and I"m getting this message pkg:
pkg.FreeBSD.org/FreeBSD:11:amd64/quarterly/packagesite.txz: Not Found
-
svm_invictvs
I kind of forgot about this jail
-
svm_invictvs
Will I have to update the jail?
-
Chargen
lo
-
luna__
hey
-
Chargen
hello
-
Chargen
hey luna__
-
Chargen
!seen Dru
-
Chargen
lo back and again
-
Chargen
!seen Dru
-
Chargen
hello developerians
-
Chargen
who of #freebsd may I be giving my advisories to Fbsd development (subsystem crypto)
-
Chargen
mississippi 1
-
PredatorONormies
There's probably some mailing list?
-
Chargen
nonody online >here< for that?
-
Chargen
I want to discuss some things offlinish, that is not for the maillist intended
-
polyex
chargen do you have access to efnet? if so i can tell you a chan
-
Chargen
thank you I will arrange that
-
Chargen
I'm planning overhaul of FBSD on Console , security, there be new link layers etc scientific instruments that will run on Fbsd
-
Chargen
flying off to efnet
-
polyex
idiot left before i could tell him the chan
-
woland
hi, would the linux version of reaper DAW work on FreeBSD?
-
jcamos
lol
-
SpaceBass_laptop
Been trying to update some ports for three days... I was on 13.0 and had to upgrade to 13.1, and now I get this error if I try and do anything /etc/defaults/rc.conf: 391: Syntax error: redirection unexpected (expecting word)
-
SpaceBass_laptop
Do most people just not update their ports and system once it is working?
-
sphex
SpaceBass_laptop: probably merge conflict markers in your /etc/defaults/rc.conf
-
sphex
SpaceBass_laptop: did you use mergemaster or etcupdate?
-
SpaceBass_laptop
I didn't use either
-
SpaceBass_laptop
Fundamentally its just lack of knowledge on my part - not matter how much googling I do, I cannot find a good canonical guide on updating and upgrading
-
_Random
Hi have enabled a working freebsd desktop bare metal with ufs( primarily as I'm new to Bsd & once I more understanding of FreeBsd, I may consider switching to Zfs.I 've installed Plasma DE, as it is it usable but there is more tweaking to do. Firstly , how do I stop the Plasma from going into a sleep mode, then I'm not able to get back into unless i force a reboot? Is ssh up by default, or do I need to enable it to work. 3. Tor browser is a must
-
_Random
for me is it able to be installed from freebsd pkgs/ports ?
-
_Random
thanks in advance!
-
rtprio
_Random: what is 'the plasma' ?
-
mason
rtprio: KDE
-
rtprio
what is sleeping, X or the system
-
_Random
Kde Plasma Desktop
-
_Random
mason: Not sure if its Xorg, but most likely as Once I press any key nothing starts up.
-
_Random
All pkgs are updated
-
mason
_Random: You don't find Tor Browser Bundle for FreeBSD, but you can build an equivalent set-up:
freshports.org/security/tor community.torproject.org/relay/setup/guard/freebsd
-
VimDiesel
Title: FreshPorts -- security/tor: Anonymizing overlay network for TCP
-
_Random
thanks VimDiesel:
-
mason
He's a real helper.
-
_Random
I'm following the guide of the latter link. community.torproject
-
CrtxReavr
How do I quash confirmation with 'pkg delete -f'?
-
CrtxReavr
My eyes aren't finding it in the manpage.
-
_Random
are you using a desktop virtual termininal or without xorc
-
_Random
are you using a desktop virtual termininal or without xorg
-
Cere0
Hi, peeps!
-
_Random
if no xorg perhaps use another tty, then find the pid, use top/htop to locate the pid. then kill the process.
-
Cere0
oh, I forgot to buy CD-ROMs
-
wez
Are CD-ROMs still a thing?
-
Cere0
I am on a slice.
-
Cere0
Perhaps, silces are a thing.
-
CrtxReavr
_Random, is than an answer for me?
-
Cere0
Even nowadays, I wish I can find the CD-ROM of FreeBSD 3.141592 in a shop.
-
Cere0
Some kind of antiquity.
-
CrtxReavr
3.0 was my first FreeBSD.
-
» CrtxReavr wipes a tear.
-
» Cere0 is in love, but not with you.
-
wez
;(
-
Cere0
wez, it's about a 7.141592 FreeBSD, very exactly.
-
Cere0
I have another slice, but it is for a pxe installing from the network the last archlinux
-
Cere0
Perhaps it can work something out of this.
-
Cere0
Slices frighten me.
-
Cere0
I think I've done something manipulative.
-
» Cere0 is free now.