beh_93825561489

joined 2 years ago
[–] [email protected] 3 points 1 year ago

I want to for exemple even when my headphones are plugged have the ablility to play audio through my speakers using qpwgraph and stuff like that its just a cool little thing I wanted to do also you can't do that in pavucontrol natively when you plug in headphones its as if your speaker doesn't exist you can't for example play the same audio on your headphones and speakers at the same time or play different audio its relatively niche kinda thing but its handy for the few times I needed it to be honest

 

might be helpful to someone so here we are cross-posted from: https://lemmy.ml/post/9547307

so since I digged pretty hard to find what is a ucm profile and how to seperate headphones from speakers in pipewire and alsa so yeah heres a guide first of all these are my sources:

https://github.com/luisbocanegra/linux-guide-split-audio-ports https://www.reactivated.net/writing_udev_rules.html https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3556 https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3552

you need a custom ucm profile use this command since its helpful lspci -nn -vvv

SUBSYSTEM!="sound", GOTO="pipewire_end"
ACTION!="change", GOTO="pipewire_end"
KERNEL!="card*", GOTO="pipewire_end"

ATTRS{subsystem_vendor}=="0x103c", ATTRS{subsystem_device}=="0x8742", ENV{ACP_PROFILE_SET}="custom.conf"

LABEL="pipewire_end"

and than create a file in /usr/share/alsa-card-profile/mixer/profile-sets/custom.conf and yeah I guess

https://www.freedesktop.org/wiki/Software/PulseAudio/Backends/ALSA/Profiles/

and this especially

https://github.com/luisbocanegra/linux-guide-split-audio-ports

they helped a lot

[General]
auto-profiles = yes

[Mapping headphones]
device-strings= hw:0,2
channel-map = left,right
paths-output = behe-headphones
paths-input = analog-input-headphone-mic analog-input-headset-mic
priority = 20

[Mapping speaker]
device-strings= hw:0,0
channel-map = left,right
paths-output = behe-speaker
paths-input = analog-input-front-mic analog-input-rear-mic analog-input-internal-mic analog-input-dock-mic analog-input analog-input-mic analog-input-linein analog-input-aux analog-input-video analog-input-tvtuner analog-input-fm analog-input-mic-line analog-input-headphone-mic analog-input-headset-mic
priority = 18

[Profile help]
input-mappings = speaker headphones
output-mappings = speaker headphones
description = both_both_is_good
skip-probe = yes
priority = 100

.include 9999-custom.conf

and yes that was my custom.conf and yes just reboot now and you are set btw no need to touch hdajackretask and that idor 0,2 and 0,0 I just switched profile to proaudio and than ran pactl list sinks short and took the ids from there I am basically following the guides and mimicking /usr/share/alsa-card-profile/mixer/profile-sets/default.conf to be completely honest yes thats all

 

so I want to create two scripts

  • first one that basically runs "systemctl suspend" when the lid is closed basically the default behavior doesn't work for some reason and running systemctl suspend always works so yeah you get the idea

  • since I have made the headsets aka the jack output and the default speakers each their respective sink (that's what I actually want (to have the power to put whatever I want in each sink using qpwgraph ) ) but that power comes at the cost of not switching between those respective two sinks so I just want to change I guess either the wireplumber config file or create a systemd service that runs when the jack port is plugged or unplugged

but I am lost in both questions to be honest and wireplumber is a mystery lol - sorry for being a noob if that matters

 

so closing the lid actually stops the wifi the bluetooth but since I am using swayidle for some reson suspending by closing the lid doesn't tell swayidle to actually show up even though pressing the shutdown button which I made it suspend for tests it actually works in the shutdown button so I am guessing this is an nvidia issue I am using nvidia-dkms not even the open ones so to mitigate this issue I though about making systemd ignore it when the lid closed and just right my own script when runs when the system suspends which is basically just systemctl suspend so any ideas

UPDATE_1: yes I wanted to add that I thoroughly checked "journalctl --system" and it was not helpful at all it seems my laptop sends an unknown key that correspends to other laptops tablet mode and that is funny since my laptop has none

well and systemd basically rfkill soft block wifi and doesn't actually enable it again when the lid is open so yeah I guess the solution I gave is fair enough I guess

[–] [email protected] 1 points 2 years ago

Thanks thes is good to hear And I guess I will take the strategy of seeding as long as possible to get the points And then use them to fix my ratio And yeah thanks

[–] [email protected] 1 points 2 years ago

Ok I will apply this advice thanks

[–] [email protected] 2 points 2 years ago

I will check them out thanks Hopefully I will enter when they open up on the winter

[–] [email protected] 1 points 2 years ago (2 children)

so after reading the wiki and that phrase multiple times so I should have like 50 torrents that I stopped seeding without meeting the 1:1 or the 10 days requirement before receiving that warming and if I have like only 1 torrent and go in 3 month trip then open my qbittorrent again it will be seeding again and that hit and run reminder will be gone ok then I can work with this system lol sine most of what I download is already like above the 14Gb mark which I guess the freeleech torrent mard

  • about not downloading a torrent to 100% my question is I found a torrent for a whole season of some random tv show it is marked as freeleech thoratically speaking I can just download episode 1 through 5 for example and leave the others like uncheck the files will that count as me downloading a percentage of the torrent or the full 100% if it's a percentage well that means the 10 days rule don't count on me so I am required to seed to the 1:1 ratio in that instance right do they also track how much you downloaded in each torrent
[–] [email protected] 1 points 2 years ago (6 children)

what is the tracker you are using from what Ican see people are talking about on reddit torrentleech seems rough for people with no seedbox

[–] [email protected] 1 points 2 years ago* (last edited 2 years ago) (5 children)

so will like me coming back to my computer after that 23 hour mark the torrent will not be seeding for exemple I download inception and for get about it existing after a month I got in a 2 day vacation the torrent will not be seeding after that vacation and yeah that's a weired system

and if torretleech isn't for me and I am surely not gonna get that seedbox you guys are talking about since it's so expensive in my country and I don't have a gb internet connection lol it's 2 mbytes maximum lol then what are the other private torrents that I got a chance with

basically I want a private torrent that I can live in as a person with no seedbox

[–] [email protected] 1 points 2 years ago (1 children)

I have a question do they figure you out that you are not the same person because your ip has changed like will moving countries ban me or something it doesn't make sense

 

on my question about torrentleech they seem to open their doors quiet frequently so yeah I am planning to enter the next time they do my question is what are the rules actually

  • I found a post from 2 years ago and it says you have to either have a download ratio of 1:1 on the files you download or you seed them for 10 days so my question: is there a way actually to see those stats before deleting that file

  • for exemple if Ic seed like for 9 days will I still get a warning isn't there a threshhold

  • If I seed for exemple everyday for 10 hours and then shutdown my pc like any normal person than do the same thing for the next 30 days with variation in those 10 hours theoratically speaking I seeded for more than 10 days or sould I constantly seed for 10 days like my pc shouldn't shut down cause if that's the case then hate to break it to you but in some reagions electricity isn't stable

  • there is a question I always wanted to ask if you can't reupload stuff in the private repo to anywhere and they somehow will find that out then how is the stuff in the public trackers there in the first place

  • as long as the rules are not 10 days in a row I have no problem doing them since well I already have searxng always running in the background lol

  • to be honest all my torrent usage is that once in a while anime or movie and I usually keep the file until the ration is like above 1 since I don't mind

  • another question are there a lot or qualities and resolutions in torrentleech since if the file is like 20 gb I don't think I will ever reach that 1 ratio I usually go for the 1080p even 720 when the file size is huge + yeah sorry I have 500 gb ssd lol