this post was submitted on 22 Jul 2024
85 points (94.7% liked)

Linux

55951 readers
1302 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS
 

For me it's: Testdisk (and Photorec) Caddy Netstat Dig Aria2

you are viewing a single comment's thread
view the rest of the comments
[–] jeena@piefed.jeena.net 90 points 11 months ago (29 children)

For me it's the other way around I wish there would be better CLI support for GUI apps.

[–] mfat 8 points 11 months ago (18 children)
[–] rescue_toaster@lemm.ee 4 points 11 months ago (2 children)

pavucontrol. I switch between usb headset and my external speakers all the time. Continually going to this gui is kind of annoying.

[–] mranderson17@infosec.pub 6 points 11 months ago (1 children)

I use a little oneliner with tofi (rofi/wofi would also work) to select the current output and avoid pavucontrol. It's mapped to a sway binding but would probably work in any wm/de:

pactl set-default-sink $(pactl list short sinks |awk '{print $2}' |tofi $tofi_args)

I'm using pipewire so the functionality of pactl is actually provided through pipewire-pulse I think

[–] rescue_toaster@lemm.ee 2 points 11 months ago

Does set-default-sink change an already current stream? Or do you need move-sink-input.

I've looked at the manpages but was a bit overwhelmed and didn't try to make my own script. Your solution gives me motivation to do so. I also use sway and pipewire. Though I use fuzzel for my launcher.

load more comments (15 replies)
load more comments (25 replies)