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

88 points

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

permalink
report
reply
15 points

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.

permalink
report
parent
reply
2 points

I like gui file browser with integrated console window that prints all the commands you trigger by using gui as well.

permalink
report
parent
reply
8 points

Any examples?

permalink
report
parent
reply
28 points
  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.

permalink
report
parent
reply
11 points
  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/

permalink
report
parent
reply
5 points

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

permalink
report
parent
reply

For Excel there is a PowerShell module called Import-Excel that I use all the time.

permalink
report
parent
reply
1 point

Check out openconnect to connect to anyconnect VPNs

permalink
report
parent
reply
4 points

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

permalink
report
parent
reply
6 points

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

permalink
report
parent
reply
2 points

I love programs like freecad despite the really hard/unintuitive gui. 95% of all the modelling i need to do (as an amateur) can be done easily in a python script.

The finishing touches like adding filets and chamfers are the annoying part were gui is easier, due to the way edges are referenced.

Likewise at work, we have to produce a lot of regular reports in excel. All done via python / sql.

permalink
report
parent
reply
0 points

This, but for a Fireshot like tool. Screenshot and pdf of webpages in their entirety by scrolling while shotting. In bulk, with CLI.

permalink
report
parent
reply
2 points

Do you have a legitimate use-case for this?

permalink
report
parent
reply
2 points
*

Dont know if it’s illegitimate otherwise 😉

But my user story is like this:

I want to preserve and archive information I used because it’s a reflection of the things I did, learned and studied throughout life.

Then my use case are:

  • Orientation about “events”: places to visit on daytrips or holidays (musea, nature, parks, campsites) and looking for practical information and background as well.
  • Gather a “dossier”: info to help make a decision (buying expensive things, how to do home improvement etc)
  • Building a personal knowledge database: interesting articles and blogs.

My current workflow:

  • Browse
  • Bookmark extensively
  • Download pdf or other content (maps, routes, images) when provided.
  • Open bookmarks.
  • Fireshot every webpage to pdf and png
  • Save everything with a consequent filename (YYYYMMDD - Source - Title)

I would like to automate the last 3 steps of my workflow.

permalink
report
parent
reply
1 point

It’s also the use cases supported by Linkwarden:

https://lemmy.world/post/17716634

permalink
report
parent
reply
24 points

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.

permalink
report
reply
10 points

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

permalink
report
parent
reply
8 points

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!

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply
3 points

Thanks. I think I looked at doing that when setting it up, and it was more expensive in terms of API calls. With a cloud vendor you have to be careful of that, so I opted for the SIZE command.

permalink
report
parent
reply
1 point

If it works it works

permalink
report
parent
reply
18 points

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.

permalink
report
reply
3 points

This is an interesting idea. There are some tools out there to auto-generate shell autocompletes based on standardized --help output. Maybe there’s some possibility to GUIfy that sort of thing?

permalink
report
parent
reply
2 points
*

I’m not sure how that could even be done, maybe a way to control the GUI with commands that you’d then be able to script, like Selenium on browsers?

permalink
report
parent
reply
1 point

Maybe. But wishes don’t have to be possible. :)

permalink
report
parent
reply
16 points

Dwarf Fortress no longer counts, huh?

permalink
report
reply
3 points

I see you are one of our elders.

permalink
report
parent
reply
16 points

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.

permalink
report
reply
7 points

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

permalink
report
parent
reply
7 points

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.

permalink
report
parent
reply
7 points

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

permalink
report
parent
reply
5 points

Would you mind sharing your command?

permalink
report
parent
reply
4 points

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.

permalink
report
parent
reply
2 points

Btw, here’s my config file.

-o "%(title)s (%(uploader_id)s).%(ext)s"
 
-P ~/Videos

-P "temp:/tmp/yt-dlp/"

-f 271+ba[language=en][ext=m4a]/308+ba[language=en][ext=m4a]/137+ba[language=en][ext=m4a]/299+ba[language=en][ext=m4a]/231+ba[language=en][ext=m4a]/http_mp3_128/271+140/308+140/137+140/299+140/231+140
--download-archive ~/.config/yt-dlp/dl-archive
--no-playlist
--write-sub
--no-mtime
--compat-options no-live-chat
permalink
report
parent
reply
2 points

I believe ytDownloader might be what you’re looking for. It’s a yt-dlp frontend, you can export to video/audio pretty easily. And it’s in active development. I’ve used it to export short clips to WAV a few times, nothing too fancy, but so far it works pretty well.

permalink
report
parent
reply
2 points
*

(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…

permalink
report
parent
reply
1 point

Bad link

permalink
report
parent
reply
3 points

It’s a link to an image on github not sure why it doesn’t work for you. Try just looking at the repo then:

https://github.com/Thomasedv/Grabber

permalink
report
parent
reply
1 point

I use jdownloader as gui alternative for yt-dlp. 😄 It was easy enough for my mother to understand, apparently.

permalink
report
parent
reply

Linux

!linux@lemmy.ml

Create post

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

  • Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
  • No misinformation
  • No NSFW content
  • No hate speech, bigotry, etc

Related Communities

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

Community stats

  • 9.6K

    Monthly active users

  • 3.1K

    Posts

  • 35K

    Comments