Then I realized: Wait a minute, lots of applications donāt set an icon? And lots of other window managers donāt show these icons, either? Openbox, pekwm, Xfce, fvwm, no icons.
Looks like macOS doesnāt show them, either?!
Has this grown out of fashion? Is this purely a Windows / OS/2 thing?
items is a dict containing ⦠a list of two other dicts? Right?
It is quite hard for me to grasp the structure of YAML docs. š¢
The big advantage of YAML (and JSON and TOML) is that itās much easier to write code for those formats, than it is with XML. json.loads() and youāre done.
pinentry, which is used to safely enter a password on Linux, has several frontends. Thereās a GTK one, a Qt one, even an ncurses one, and so on.
GnuPG also uses pinentry. And you can configure your frontend of choice here in gpg-agent.conf.
But what happens when you donāt configure it? Whatās the default?
Turns out, pinentry is a shellscript wrapper and itās not even that long. Here it is in full:
#!/bin/bash
# Run user-defined and site-defined pre-exec hooks.
[[ -r "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec ]] && \
. "${XDG_CONFIG_HOME:-$HOME/.config}"/pinentry/preexec
[[ -r /etc/pinentry/preexec ]] && . /etc/pinentry/preexec
# Guess preferred backend based on environment.
backends=(curses tty)
if [[ -n "$DISPLAY" || -n "$WAYLAND_DISPLAY" ]]; then
case "$XDG_CURRENT_DESKTOP" in
KDE|LXQT|LXQt)
backends=(qt qt5 gnome3 gtk curses tty)
;;
*)
backends=(gnome3 gtk qt qt5 curses tty)
;;
esac
fi
for backend in "${backends[@]}"
do
lddout=$(ldd "/usr/bin/pinentry-$backend" 2>/dev/null) || continue
[[ "$lddout" == *'not found'* ]] && continue
exec "/usr/bin/pinentry-$backend" "$@"
done
exit 1
Preexec, okay, then some auto-detection to use a toolkit matching your desktop environment ā¦
⦠and then it invokes ldd? To find out if all the required libraries are installed for the auto-detected frontend?
Oof. I was sitting here wondering why it would use pinentry-gtk on one machine and pinentry-gnome3 on another, when both machines had the exact same configs. Yeah, but different libraries were installed. One machine was missing gcr, which is needed for pinentry-gnome3, so that machine (and that one alone) spawned pinentry-gtk ā¦
(#snvjaoa) @lyse@lyse.isobeef.org The cynic in me says: āItās not bleeding edge, itās from 2008!ā Thatās not fair, though, looks like the issue only arose in libinput in 2019. And maybe these weird mice are super rare. Dunno.
(#nrqg3fq) @lyse@lyse.isobeef.org The underlines are a bit much, yes. It appears to be related to my font (Helvetica) ⦠Maybe they do some Unicode trickery these days, I donāt know. š«¤
Although, in the first screenshot, the window title background is much darker in the new version than the old one!1!1 :-P Kidding aside, the contrast in the old one is still better.
Also, note the missing underlines for the Alt hotkeys now. I just think that the underline in the old one is too thick.
(#zokpuva) Of course, @kat@yarn.girlonthemoon.xyz! But Iāll first write some instructions (hopefully this week) and then let you know. :-) Should be much easier then.
(#4rdmeyq) @lyse@lyse.isobeef.org Whatās bleeding edge? The mouse? Yeah, maybe. š I didnāt buy that on purpose and didnāt even know hi-res mouse wheels were a thing ā¦
I have a Python script that transforms the original YouTube channel Atom feed into a more useful Atom feed by removing the spam description and replacing it with the video duration, filtering out videos by title, duration, etc. I just updated it to exclude the damn Shorts garbage more efficiently. Finally, YouTube updated their Atom feed generation, so that the video URL contains /short/ if itās of this useless kind. Never thought that they ever actually will improve their Atom feeds. Thank you, much appreciated!
(#ijm24eq) @kat@yarn.girlonthemoon.xyz I have absolutely no idea, but I wouldnāt be surprised if it uses the closest full image after your cut point and not the one before. Hence, the deltas between the two full images have nothing to really refer to. So, the video player just shows the first full image it finds and āfreezesā the image until the video stream actually hits it.
Let me try to visualize it, | represent full images, . just subsequent deltas:
Original start of video
ā
|......|.....|........|......|..
ā ā
Cut point Cut point
Resulting video:
....|.....|........|....
āāāā
This is where it freezes
Could be complete bullshit, though. Wouldnāt be the first time that Iām wrong. :-)
Iām just curious, what exact command line do you use to cut the video?
Since Wayland compositors handle input devices on a lower level than X11 window managers, every compositor has to figure out on their own what a āmouse wheel clickā is:
(I think āWayland compositorā is a misnomer. They are full-blown display servers that also do compositing, plus Wayland window management, plus X11 window management.)
One can only hope that all this eventually gets moved into the wlroots library. (Iām not sure if thatās possible, nor if people would want that.)
(#enzmqdq) @prologic@twtxt.net that looks like a beautiful camper! What kind of truck do you have to pull it? That could be the next thing you might need to focus on. I mean, 2,800kg gross is not feather light!
(#euobsca) @kat@yarn.girlonthemoon.xyz I kind of like XML because itās mostly well-defined and easy for humans to read (unlike YAML, which is a complete mess, imho) ⦠and at the same time, it can get complicated really fast. 𫤠But at least itās plain-text ā thatās the important part in this case. š
Xfce does one thing very right: It stores its settings in plain-text XML files. This allows me to easily read, track, and maybe even distribute these settings to other machines.
(Unlike GNOMEās dconf, which uses some binary file format. Fun fact: The older and now deprecated gconf also used XML files.)
(#23mu5la) I think I understand now. Americans do not go camping, we do recreational activities. I donāt think campers are a thing here, but RVs (Recreational Vehicles) are. Thatās why it would never cross my mind to get anything with fabric, that folds. No mate, we get a house on wheels, with a million miles engine. š¤£
(#fhizzaq) @movq@www.uninformativ.de Thatās an interesting idea. For privacy, Iād just omit the Referer altogether. But maybe this helps talking to misconfigured HTTP servers that reject requests without such a header. No clue.
(#viazmra) @lyse@lyse.isobeef.org Hm, I donāt think so, the requested page was a Linux-specific post. š¤ I sometimes wonder if privacy-oriented browsers might do this on purpose, to create garbage data? š¤ No idea.
(#mtnfqzq) @lyse@lyse.isobeef.org I honestly wish I could do more than just sit here and wait. Itās just a matter of time until they remove X.Org from the repos. 𫤠But I really canāt dedicate so much time to this ā¦
(#viazmra) @movq@www.uninformativ.de Yeah, you canāt rely on them. Anybody could just transmit whatever they wanted. Bots and spammers abuse them all the time. But maybe some older version of that page actually referenced your site. :-?
(#kyip37a) @bender@twtxt.net hello, nice to meet you too!!! i have just learned about yarnd recenty, great to see it in action and i already have people connected.
next up: authentication center / for both work & personal use.
for the work project, the customers (of my client) are unhappy with the account login flow and I need a fast & easy SSO for them.
for personal use: just a gateway to lock all the apps and provide access to friends.
i slowly realize the power of 1% everyday on what i am doing.
(#2rkpnwq) that isnāt mine, a newly made friend bought the domain & code that simple site for me, i find itās hilarious to have so i put it in the front