Skip to content

u/iwaka

In this archive from Dec 2015 to May 2023

9
posts
153
comments
1
media
764
score

I've heard there's a way to play YouTube videos directly to mpv without seeing ads.

I've been doing this for a long time, because qutebrowser used to be unable to play videos, so spawning mpv was the only choice back then.

I have the following in my config.py:

config.bind(';x', 'hint links spawn mpv {hint-url}')
config.bind('x', 'spawn mpv {url}')

With this, ;x uses link hints and opens a video from a link, whereas x opens mpv using the current address. NB: you need youtube-dl (probably dlp or another newer version) for this to work. Might also need to tweak mpv.

Hope this helps!

7 points

Sadly no. I've even looked through the source code, and I don't think there's an easy fix for this (although my C sucks).

What I do these days is center the page vertically and horizontally on each PgUp/PgDown, and zoom in on the average page manually.

Apart from this little quirk, zathura is still my favourite PDF viewer.

1 points

I really like the way Nix has overturned the whole idea of OS package managers. I've been meaning to try Guix myself. Not because FREEDOM (this part might actually be an inconvenience or even a major p.i.t.a.), but because of Guile. Love me some Lisp.

27 points

I tried /boot too, but the end result was the same. The wiki says that you don't need to update systemd-boot with every system update, cause it should load anyway. Mine didn't.

Anyway, that's a moot point for me now. Just wanted to provide a data point from a person who couldn't make it work.

1 points

Wasn't easy for me. Was installing on a new computer a couple of months ago and decided to try systemd-boot cause I kept hearing about it.

The instructions in the wiki and in the systemd-boot manual were contradictory about whether I should install it in a /boot or an /efi partition. I tried both (separately). Kept getting an unbootable system every update. Back to GRUB it was for me.

3 points

Waiting for an update of the libgccjit package, which is currently pegged to gcc-10.2.0. I'm not in any particular hurry, so I'll just wait for an update rather than monkey patch it myself.

3 points

This is my version, based on a similar Manjaro script:

paru -Sl | awk '{print $2($4=="" ? "" : " *")}' | sk --multi --preview 'paru -Si {1}' --reverse | xargs -ro paru -S

I use sk instead of fzf here, but they're largely the same. The awk part puts an asterisk after the names of packages you've already installed.

42 points

One thing Manjaro's installer did really well was allow me to connect to the internet with a static IP. It took me an embarrassingly long time to figure out how to do this in Arch's manual install (this part is pretty confusing in the wiki, I think maybe I should edit it).

I did two installs on a new computer in the past year, both with a static IP (work PCs). The first time around I gave up on the Arch install because of this, and just installed Manjaro instead. The second time around I wasn't in a hurry, and finally figured out how to do it, but man was that a painful process.

1 points

I have a ThinkPad T470. It has two batteries, one of which is detachable. Originally I was getting like 4-5 hours with the inbuilt batteries, so I bought a massive 12-cell battery for it. Now it weighs twice as much as it did, and the battery sticks out from the bottom (although that's actually not a problem in usage at all), but it easily gives me 10+ hours.

I could probably get even more out of it if I took the time to adjust battery-powered settings, but honestly I'm not bothered. I'm happy with what I have now.

3 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.