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

Linux

48311 readers
750 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 5 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
[–] [email protected] 5 points 4 months ago (2 children)
[–] [email protected] 24 points 4 months ago (3 children)
  1. Gimp to batch edit pictures in a script (I know about ImageMagick but still)
  2. Excel to change stuff in excel files quickly (I know about python modules but it's so complicated to use)
  3. Proprietary VPN software like Cisco AnyConnect, I want to automate the login when I boot, but they don't let me

Just from the top of my head.

[–] [email protected] 10 points 4 months ago (1 children)
  1. Gimp to batch edit pictures in a script (I know about ImageMagick but still)

It seems to exist: https://www.gimp.org/tutorials/Basic_Batch/

[–] [email protected] 1 points 4 months ago

There are many things you can do in the GIMP gui that can't be done programmatically :(

[–] [email protected] 5 points 4 months ago

For anyconnect: openconnect works perfectly, either as standalone script or via networkmangler.

[–] [email protected] 1 points 4 months ago (1 children)

Check out openconnect to connect to anyconnect VPNs

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

I did, doesn't work with our company setup with 2FA.

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

What kind of prompt does your company 2FA provide? Using openconnect with networkmangler, I get a pop up to input my pin+totp. I haven't done the script way in the last few years, but the connection script is plain shell and I was able to handle the 2FA from there too

[–] [email protected] 1 points 4 months ago

It's some time ago I dug deeper on what was happening, but openconnect was getting a different response from the server than it expected and it just failed because of that.

[–] [email protected] 4 points 4 months ago (1 children)

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

[–] [email protected] 5 points 4 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

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

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.

[–] [email protected] 1 points 4 months ago

Yeah, it changes without skipping a beat for me in pipewire, even in things like zoom/teams.