Show more

@hrisskar *chuckle* If you want to be a TRU3 H4X0R, the first thing to do is get a drop-down terminal emulator like Yakuake, Guake, or Tilda.

kde.org/applications/system/or

guake.org/

troubleshooters.com/linux/tild

@hrisskar @hrisskar "pushd" is basically just a version of "cd" which adds a new entry to the directory stack you can view with the "dirs" command.

If you always use "pushd" (or "cd" with AUTO_PUSHD) to change directories, then "popd" acts like a Back button for directory changes.

@hrisskar Not my cup of tea. I'm more into melodic music than rhythmic.

Anyway, I need to prepare for bed but, if you'd like, once I'm up again, I could show you some other interesting zsh stuff I use.

(For example, if you're not already using it, "setopt AUTO_PUSHD" will make "cd" act like "pushd" and build up an undo stack you can rewind with "popd")

@hrisskar :)

Is it working with multiple URLs in a single youtube-dl command now (no &&) or do we still need to fix that?

@hrisskar No problem. I enjoy sharing knowledge.

With youtube-dl, are you referring just to the post-download conversion or were you also aware that some sites (YouTube included) offer separate audio and video streams to their players, so you can download just the audio and avoid having to discard the video before converting to your desired format?

For example:

youtube-dl -f 251 -x --audio-format vorbis youtube.com/watch?v=Pwe-pA6TaZ

("youtube-dl -F THE_URL" will list the formats you can ask for with "youtube-dl -f")

@hrisskar That "no matches found" is the key. You *are* running zsh with one of the globbing options which prevents it from passing un-matched globs through verbatim.

Try running "setopt NO_NOMATCH" and, if that fixes the problem, add it to your ~/.zshrc

If it causes the URL to be omitted from the command, also run "unsetopt NULL_GLOB"

@hrisskar Oh, correction. Put quotes around that. Right now, I just want to get you to reliable not needing ` && youtube-dl` while I find the name of the shell option I suspect of being the culprit for needing the quotes.

@hrisskar Hmm. Unlike bash, zsh's "which" is a shell builtin, so it'll identify functions and aliases.

That it gave you a path suggests that it's getting converted to "youtube-dl -ciw ..." some other way. (Or I misunderstood you.)

First, try prefixing it with "command" to see if that alters its behaviour (eg. "command youtube-dl youtube.com/watch?v=Xc4xYacTu- youtube.com/watch?v=T2br1fAKOG")

("command" tells a shell like bash or zsh to bypass aliases, functions, builtins, etc. and call the on-disk command)

@brandon @cosullivan Most of the time, the latter will do but, sometimes, going a little further toward the former is necessary.

Google will occasionally throw something at you where you get the gist but have to recognize the equivalent idiom or turn of phrase in the destination language to make it feel natural to the way a character speaks.

A more mild example would be having Google give you "such a girl" when it needs to be "a girl like that".

@hrisskar Sorry. Force of habit. I'm used to using Markdown code snippet syntax everywhere.

Tell me what "which youtube-dl" (without quotes of any kind) says.

@hrisskar Oh, you've got an alias or shell function redefining it.

Tell me what `which youtube-dl` says and I'll tell you how to alter it to handle multiple arguments properly.

@hrisskar That's odd. I'm also using zsh and it works fine here.

Probably some zsh config flag that Manjaro defaults differently to Debian-family distros.

Try sticking echo on the beginning of the command and see what it prints. Maybe it's interpreting the ? as a globbing character and it's configured to remove unmatched globs rather than passing them through as literals. (Bash has an option to do that too)

@lordalveric Yeah. I run a stack of the MVPS HOSTS file, Firefox's built-in tracker blocker, privacy.resistFingerprinting=true, CanvasBlocker, Cookie AutoDelete, Decentraleyes, HTTPS Everywhere, Privacy Badger, Random User-Agent, uBlock Origin, and uMatrix, with the latter two made stricter than default... and, that's just my day-to-day browsing.

When I'm doing private stuff and not logging into the site anyway, I use Tor Browser instead of "New Private Window".

@lordalveric As long as you don't tell them your SMS number.

The reason so many sites are trying to cajole or even force people to add their SMS number is so they can use it as an ad-targeting identifier that's harder to change or have multiple of than e-mail addresses.

I just got nerd-sniped by an old Tom Scott video which touched on bodging multi-keyboard input.

The funny thing is, Linux is technically easier to do this bodge with, but it's the documentation that holds it back.

Want to bodge it through evdev? Good luck learning to permanently adjust udev permissions.

Want to use XInput2? Qt and GTK don't expose the relevant field, so you have to learn raw X11... which doesn't have the best documentation.

@lordalveric Possibly selling access to your projects to aspiring malware peddlers or hoping to gain access to other sites with a "Login with GitHub" option.

@nebunez In some ways, Emacs's greatest enemy is that it predates standard nomenclature, keybindings, etc.

@Herbert_Rindfleisch

stunnel can also be used the other way around to work around the lack of a "remember my choice" on Pidgin's self-signed cert warning.

@ndegruchy@fosstodon.org @tobtobxx I'm waiting for a compositor that isn't a usability regression:

1. Crash recovery equivalent to how I can restart Kwin when it starts to act up after a couple of weeks of uptime (less with compositing enabled) while Xorg keeps my desktop session logged in for months at a time.

2. APIs that devs don't want in Wayland proper for non-technical user safety, such as allowing time-tracking apps to monitor changes to the active window title.

3. Something lighter and less prone to user customizations causing the compositing pipeline to stutter than Mutter.

4. Server-side window decorations and a QWidget/pre-Win8 UI design philosophy. I'm already in the process of replacing GTK+ apps with Qt ones as the GNOME 3 HIG's influence continues to spread.

5. Stable support for my nVidia GPU (or, failing that, waiting for it to die so I can buy an AMD GPU from a local store that accepts no-shipping-cost returns if the stability/non-bugginess of the AMD drivers proves inferior to what I've come to expect from nVidia over the last last 15+ years since I chose them for TwinView in the bad old days of early Xinerama.)

@cosullivan @brandon Yeah. Google Translate *can* produce surprisingly good translations... but it needs to be operated by someone who natively speaks the language being translated into so they can recognize and adjust for cases where it trips over something.

Show more
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.