qpsLCV5

joined 2 years ago
[–] qpsLCV5@lemmy.ml 4 points 1 week ago* (last edited 1 week ago)

it's somewhat vibe coded but the one i probably use the most is this one to swap between speakers and headset. the device name to look for is just put directly in there, it'd take some adjustment to run it on different machines. this is in my .bashrc:

# switch sinks
toggle_audio() {
  # Find headset sink ID dynamically
  headset_id=$(pactl list sinks short | grep "Plantronics" | awk '{print $1}')
  
  # Find speakers sink ID dynamically
  speakers_id=$(pactl list sinks short | grep "pci-0000_05_00.6" | awk '{print $1}')
  
  # Get current default sink
  current_sink=$(pactl get-default-sink)
  
  # Get current sink ID
  current_id=$(pactl list sinks short | grep "$current_sink" | awk '{print $1}')
  
  # Toggle between the two
  if [ "$current_id" = "$headset_id" ]; then
    pactl set-default-sink "$speakers_id"
    echo "Switched to speakers (Sink $speakers_id)"
  else
    pactl set-default-sink "$headset_id"
    echo "Switched to headset (Sink $headset_id)"
  fi
}

generally i try not to use too many custom things because for work i regularly work on all kinds of different servers and i've just been too lazy to set up some solution to keep it all in sync. someday....

[–] qpsLCV5@lemmy.ml 1 points 2 months ago

the cursor locking still happens in a handful of games for me - most work perfectly fine but sometimes i do end up running something with gamescope with the --force-grab-cursor argument to fix it.

this is when running games with either steam or wine/bottles/lutris.

strange that it happens in virualbox, i would think it "virtualizing" an entire display would fix issues like that. does virtualbox itself "grab" the cursor, or allow it to go off the screen by default? sorry i don't really know virtualbox, never used it much

[–] qpsLCV5@lemmy.ml 12 points 3 months ago

i'd argue yes. if it's just a plain linux vps without any additional services, you're still doing plenty of setup yourself.

[–] qpsLCV5@lemmy.ml 1 points 3 months ago* (last edited 3 months ago)

I've just recently set up a blog usign Zola (https://www.getzola.org/) because i am looking for something where i'll actually keep making posts. not quite ready to share it yet, but if it keeps going well i might.

The reason i chose Zola is because it's easy to write new posts. it's also simple to setup and very lightweight. a single exectuable (set up a systemd service to start it when the homelab server boots), forward web traffic to it, choose some theme you like and make simple markdown files as posts.

The simple markdown files as posts was the main criteria for me - a small header with title, date and categories, and after that just... pretty much plain text write your post, as a markdown file on the server it's running on. No special login, no "publish" button, no fancypants UI with all kinds of fields to fill out and formatting options... just write. Zola detects itself it the filesystem changed and automatically reflects your changes on the site.

[–] qpsLCV5@lemmy.ml 1 points 3 months ago

i'm having some decent success using cmus and a tiny wrapper script to save some typing.

[–] qpsLCV5@lemmy.ml 4 points 3 months ago* (last edited 3 months ago) (1 children)

i've had good success doing small edits with libreoffice (design? draw? idk what its called).

[–] qpsLCV5@lemmy.ml 3 points 3 months ago

i'd rather see the DOGE discord server

[–] qpsLCV5@lemmy.ml 18 points 3 months ago (12 children)

for me the most critical ones are replacements for discord and microsoft teams. for discord the critical piece is the login - people don't want to make accounts on each server, so until we have proper federation with a good user experience people won't actually move off it.

for teams i'm sure theres projects in development, i just don't know them or their status - all i know is that i want a project to combine several specialized FOSS services (jitsi is great, and there's lots of other collaboration tools for email/calendar/chat) into one nice unified frontend that is actually reasonably easy to self-host and maintain.

[–] qpsLCV5@lemmy.ml 7 points 3 months ago

android yes, but the entire google play ecosystem is not, and some things are very hard to do without being inside that ecosystem.

I'm using my fairphone without any google account (so no play store), and it works, but there are some obstacles. Luckily my bank still offers a good website and even uses some international standard for 2 factor auth, so i can do my ebanking without the app - which, like most companies, is only offered in the play store.

for public transport, i downloaded the app from apkpure (in hindsight, the aurora store would likely be the better option) and it works fine for buying tickets. this is just my lazyness, i could buy tickets on the website (but it sucks) or at ticket machines, but the app is super convenient.

for various other services i just refuse to install apps. parking payments, my insurance company, work (luckily i have a bunch of freedom at work, using linux on my work laptop too)... is all stuff that would be convenient but it's all just available in play store. it looks like aurora is a good option, but 1. i don't know how long until google kills it and 2. i want to completely stop being dependent on adtech anyway.

[–] qpsLCV5@lemmy.ml 3 points 3 months ago

Plenty of distros do package closed source software that does who knows what. i wouldn't worry about it for now. if you are on a distro that takes a hardline stance on privacy, it was probably gone a while ago, but i don't actually know any such distros right now.

[–] qpsLCV5@lemmy.ml 15 points 3 months ago

easiest thing for me was to just... uninstall the app and use it in a browser.

the experience is so terrible, i don't spend much time on it anymore. seriously, go to reddit.com and see what it looks like with no account and no extensions.

instagram is even worse, once in a while i try to open a funny post someone sends me in the browser, and ... it usually works for the first post (after clicking away a bunch of popups) but if i open a second one i get completely blocked. thanks meta 👌

[–] qpsLCV5@lemmy.ml 9 points 4 months ago (9 children)

i mean.. it is massively better, but yes it still sucks. but what do you move friends and family to? last i looked into element it was not an option for several reasons, and i don't think anyone would switch to basically noname apps like simplex or similar, even if they might be decent solutions. i really want the last few contacts i have on whatsapp to move, but i'm not gonna push hard to get them to use signal just to get it enshittified in the near future. also a few switched to telegram, which while not facebook, is not really better mainly because it doesn't even e2ee by default.

 

Hi linuxhardware gang

i've been having some issue on my headphone jack, and the sound quality has never been great. this is on a small mini pc running arch linux.

So what i'm looking for is a device i can plug into my usb (preferably usb-C) and Linux will use it to play audio. i plan to plug that device into my amp, which i can use headphone jack or those white and red plugs for.

I hope USB DAC is the proper term, i'm kind of struggling to find products that do this.

anyway, does anyone have experience with products like this on linux? i don't want to have to hack together the software side. even just a brand recommendation will help.

view more: next ›