💬 Replied to: a post

“We were promised that USB-C would solve all our connectivity problems.

Instead, I have two USB-C ports on this laptop, only one of which is Thunderbolt, which is worse because they look identical but act different. Also apparently only some USB-C cables support Thunderbolt too. “

The one USB-C port on my work laptop provides the full range of Thunderbolt/USB-C functinonality, and plugs into a dock at work to simplify connectivity. My partner’s work laptop also has one USB-C port, supports Power Delivery and peripherals, but it doesn’t support display-out on some model revisions… guess which one she has. A fact we only discovered after I bought a dock for home.

As far as the dock, it promised “full Power Delivery pass-through,” but caps the PD output to 45w, meaning both our laptops complain on boot about insufficient charging capacity – but otherwise charge fine. It took buying multiple differently rated PD chargers to discover this.

I’d dreamed of having single cable connectivity letting us share a single desk setup instead of having two desks in the house (We work from home on different days), but that isn’t going to happen.

💬 Replied to: Reply to https://mrkapowski.com/2019/11/10005.html

“What hardware are you running on? I’ve found it often doesn’t work “out of the box” because the hardware manufacturers don’t Open Source/upstream their drivers so it can’t be released as part of the core distro offering. It is definitely a pain for users, as it’s not like ie Dell would say “don’t bu…”

CC: Jacky.

The hardware is a Broadcom-based chip built in to my Asus ROG motherboard. Broadcom are known to not play well with Linux, so there’s that. The thing is, it used to work fine out of the box on older kernels, which I guess is when my expectations were set. It wasn’t until sometime during 4.x and onwards I started having these sorts of issues on fresh installs.

That said, it’s nowhere near as bad as the old days of Intel Centrino and the kludge that was ndiswrapper. At least I don’t have to recompile my kernel from source these days!

💬 Replied to: A manual tweak for icons in the Syndication Links plugin

“I’m not sure why I had never manually done the fix before, but I’ve had issues1 2 with the Syndication Links plugin showing icons for the reading.am service and my old chrisaldrich.wordpress”

BoffoSocko

My gut was right 😃. You can add extra icons without editing the plugin, by adding something similar to this to your theme’s functions.php file:

function wp4632_extra_site_icons( $return, $url) {
	$sites = array(
		'chrisaldrich.wordpress.com' => 'wordpress',
		'www.reading.am' => 'book',
	);
	$parsed = parse_url( $url );
	$return = false;
	if ( false !== $parsed ) {
		$host = $parsed['host'];
		if ( array_key_exists( $host, $sites ) ) {
			$return = $sites[ $host ];
		}
	}
	return $return;
}
add_filter( 'syn_link_mapping', 'wp4632_extra_site_icons', 10, 2);

For maximum upgrade safety, I put modifications like this into a child theme.

Without similar code in my theme, this post doesn’t display the (test) Mastodon syndication link… but with it the link and icon are displayed. The $sites array can be modified with any URLs you want mapped to a suitable icon in the set.

Hope this helps you out!

💬 Replied to: A manual tweak for icons in the Syndication Links plugin

“I’m not sure why I had never manually done the fix before, but I’ve had issues1 2 with the Syndication Links plugin showing icons for the reading.am service and my old chrisaldrich.wordpress”

BoffoSocko

I’d need to spend some time looking into this to confirm either way, but my gut tells me you should be able to use the syn_link_mapping filter and a function to make these tweaks via your theme’s functions.php file, without hacking the plugin code itself.

I want to do something similar for my Mastodon profile link, so I’ll try to take a look into it in the next couple of days 😃

💬 Replied to: a post


Maybe it is just me, certainly not unknown !!!

Is anyone else seeing WP 5.3 acting a little flaky under Safari?”

John Philpin

Not just you, and not just on Safari! I’ve been having all sorts of visual and interaction oddities with the admin area since I updated, and I’m using Firefox.