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

Linux

48668 readers
747 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

top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 69 points 5 months ago (4 children)

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

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

It's been years since I had to admin Windows servers, but I was quite impressed with the number of MS products where the install and configuration tools would output the Powershell commands to carry out the changes you'd asked for. It made it quite a lot easier to automate. I'd love to see that paradigm catch on more widely, with the GUI and CLI having the same functionality and the GUI giving you the commands to run.

[–] [email protected] 5 points 5 months ago (2 children)
[–] [email protected] 24 points 5 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 5 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/

load more comments (1 replies)
[–] [email protected] 5 points 5 months ago

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

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

Check out openconnect to connect to anyconnect VPNs

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

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

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

load more comments (1 replies)
load more comments (2 replies)
[–] [email protected] 20 points 5 months ago (2 children)

Rclone. Not because it's a complicated tool, but because I would like a history of my file transfers and a few graphs to show we what speeds, files sizes and whether the transfer succeeded. At the moment in order to confirm my home backups have succeeded, I have to run a separate size comparisons between my different datastores.

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

Probably not what you want, but rclone now has a simple web ui built in: https://rclone.org/gui/

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

I looked at it a few months back and it didn't have the history side of things, just the setup and realtime stats which I'd already got through the CLI. Thanks tho!

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

I feel like you can parse a --dry-run

load more comments (1 replies)
[–] [email protected] 13 points 5 months ago (5 children)

yt-dlp. Too many options to remember and look up every time, but all useful and missing from GUIs when you just want to dowload audio or 'good enough' quality video in batches without re-encoding.

While nmtui is perfectly fine for the CLI-uninitiated, I sometimes wonder why the nm-connection-editor window doesn't provide the same level of functionality.

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

Too many options to remember and look up every time

This is a good use case for shell aliases. If you can identify a few of your use cases, you can give each bundle of options its own command.

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

I do exactly this for downloading music, I aliased my preferred options to 'yt-audio'

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

Would you mind sharing your command?

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

This is what I use (with zsh):

yt-audio() {
	   yt-dlp --no-playlist -f 'ba' -x --audio-format mp3 $1
}
yt-audio-playlist() {
	   yt-dlp -f 'ba' -x --audio-format mp3 $1
}

It takes the best quality available and downloads it to mp3.

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

There’s a firefox extension that generates the cli command for whatever video you’re on. Let’s you check boxes for the format, sponsorblock, etc and then copies it to your clipboard.

Just search the addon store for yt-dlp and it should show up

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

(Windows only warning, unless someone wants to add Linux support)

I didn't really search around for GUIs way back, but ended up making a basic GUI because I wanted to learn programming.

https://camo.githubusercontent.com/5ecb6cdfb3710e359894b65e42b79c7ab7dd8de55a14cdf34f0f0f37d48c7d04/68747470733a2f2f692e696d6775722e636f6d2f346a46776846652e706e67

With just having options as checkboxes for YouTube-dl. It has served me well all these years. It was literally the thing I made while learning programming so the code is pretty janky when I look back at it though...

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

You can have most of the settings pre-loaded in its config file. I mostly let it do my preset -f, or when that fails do a -F to see what encodings are available.

load more comments (1 replies)
load more comments (1 replies)
[–] [email protected] 13 points 5 months ago (6 children)

I'd love supported GUI apps for pacman and systemd. I know there are GUI's out there for them, but they are not supported by the main project, so they don't count.

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

Yeah I think a good GUI for systemd will be super useful even for people comfortable with command line.

Sometimes you need an overview of what is running on the system.

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

There's a TUI called sysz for systemd stuff, but I haven't found a true GUI

load more comments (4 replies)
[–] [email protected] 13 points 5 months ago (1 children)

I'd like a GUI app for generating CLI's for other GUI apps that don't have them already. An application is never complete unless everything can be done via a CLI and/or API.

load more comments (1 replies)
[–] [email protected] 8 points 5 months ago

I've kinda grown towards CLI the last year or so. I used to make wrappers around CLIs for myself even haha

[–] [email protected] 7 points 5 months ago* (last edited 5 months ago)

Restic Backup!

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

Dwarf Fortress no longer counts, huh?

load more comments (1 replies)
[–] [email protected] 6 points 5 months ago (3 children)

Mount a network share permanently on Kubuntu. Non IT people need to do backups too. And Plasma apps can't access network shares unless they are mounted.

load more comments (3 replies)
[–] [email protected] 5 points 5 months ago

I'm surprised at the shortage of good Borg repository visualization tools. There are tools but they're either incomplete or they try to do too much.

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

There is a gui for aria2. It is called Persepolis

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

Pandoc, for sure. I love its versatility, it's made it super easy for me to do most of my writing in markdown — and a lot of MD editors have it built-in as an export feature.

But I use it too rarely to know the CLI commands by heart, and sometimes it would just be super helpful to open a GUI and batch convert (and/or collate) a bunch of files to a new format.

Tell you what, throw Imagemagick and maybe a light OCR backend into the package as a Swiss Army Knife for document management, I'd probably be happy.

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

Hmm, I might try to make that. Any particular feature you are looking for, or is just displaying all the events in a table good 'nuff?

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

w3m, as weird as that sounds, for image drawing. links graphical mode is nice, but I'm not a fan of its keybindings, and w3mimagedisplay is hacky at best, to say the least.

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

swap and zram configuration. lots of games need more than distro defaults

[–] [email protected] 2 points 5 months ago* (last edited 5 months ago)

Just of the top of my head discovered today.

Not a GUI as one exists. But a more configurable one as it is crap for visually impaired.

Rpi-imager gui dose not take theme indications for font size etc. Worse it has no configuration to change such thing.

Making it pretty much unsuable for anyone with poor vision.

Also it varies for each visually impaired indevidual. But dark mode is essential for some of ua.

So if your looking for small projects. Youd at least make me happy;)

[–] [email protected] 2 points 5 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

I'd love to have archivemount or a similar tool integrated in a file manager

I'd also love to have some sort of full featured gui software to install and manage custom roms in phones, allowing to do everything, from unlocking bootloaders to downloading and flashing/upgrading roms. For the tasks that require manual steps, it could offer illustrated steps, with a community driven database of phone models.

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

There are a bunch of GUI wg apps.

[–] [email protected] 1 points 5 months ago* (last edited 5 months ago)

We use a doc where we can't just manage the config.

As well, there are a host of tools that all purport to manage your wireguard for you (generally using consul) that may be better. Assuming your goal is "GUI because I want to X" for management values of reason X, one of those manager apps may get you there without you needing to care about the GUI.

load more comments
view more: next ›