Screenshot app that freezes screen to then capture?

Here’s an example of the type of screenshots I’m trying to make for a tutorial book:

  1. In the Finder, I Option-drag a file over a folder. I get a green + sign next to my mouse pointer and the folder is highlighted.
  2. I press a key command to freeze the screen in that state, ready to determine which area I want to capture.
  3. I take my time framing the exact area I want to capture.
  4. I double-click or press Enter to finalize my screenshot.

The resulting screenshot shows my mouse pointer with the green + sign and the folder selected.

Is there an app out there that does that?

What are all these “Screen Mirroring” apps actually doing?

There are a plethora of “Screen Mirroring” apps available on the Google Play store, but after trying a few of them without success I am thinking they are not actually doing anything, because I have noticed that all of them do the same thing – show me an ad or two and then redirect me to the “Cast” option already on my phone!

Is the app itself actually doing anything? Why do we need one at all? I have found that several of them have this 4-step connection process where it claims to be Searching for devices, Identifying the device, Installing Drivers, Connecting (But then doesn’t connect and doesn’t seem to have found my device at all!). The progress indicator moves so smoothly that I find it hard to believe it’s real. Is that just for show? I wonder because I have come across it on several different apps.

So the question is, what are the apps doing, and why could we not just go into the Settings / Cast on the phone already?

color – Screen / display colours on new Galaxy Tab S5e

Having just got a Tab S5e, I can see why people are full of praise for its AMOLED screen, which is bright, sharp and colourful. However, I have two concerns.

Firstly, the screen hue & white balance. Having recently tried a Tab A 10.1 (2019), I noticed a major difference between that and the S5e. The Tab A has a faintly pink-hued white, and the angle the tablet is viewed from makes no difference to that. The S5e has colder whites overall which I’m not overly keen on, although I find it a bit better if I adjust the white balance right over to the warm side (good that this model has that option). But the thing I find most surprising is that the colour changes significantly on the S5e dependong on the angle the tablet is viewed from. If I look at it absolutely straight on, the white balance is reasonably natural, but when viewed from even just a slight angle (and especially if flat on a desk, for example), the whole display takes on a markedly green-blue hue. It’s very noticeable on white and paler-coloured areas. There is no such phenomenon on the Tab A. Is this normal? Having tweaked every display-related setting I can find, and given the nature of the issue, I’m guessing this is very much down to the hardware, but wondering if it’s a normal phenomenon with AMOLED displays such as this one (first time I’ve had one) or whether there is a fault with this particular device.

My secondary concern is just whether Pulse Width Modulation is likely to be a problem. I first noticed it when taking a picture of the Tab A and S5e side-by-side – I could see distinct grey bands scrolling across the screen on the S5e and not on the Tab A, and I understand this is probably down to the use of PWM in the AMOLED display. This is something I wasn’t aware of before purchasing and I read that some people find it a real problem (causing eye strain and headaches), but I’ve not had the tablet long enough to know if it’s a problem for me or not. Have many people on here noticed any problems with this?

Any help much appreciated.

8 – What is the best practice for writing a link to the screen through t()?

In Drupal 7, one could do the following one line::

t('Visit !mylink', ('!mylink' => l('my website', 'http://example.com')));

But that no longer works in Drupal 8 or 9 😞. So far, I’ve tried this:

First I create a link, Drupal 8 style:

$mylink = Link::fromTextAndUrl('my website', Url::fromUri('http://example.com'));

Then try to create a string that can be printed. I’ve tried toString():

t('Visit @mylink', ('@mylink' => $mylink->toString()));

However, we’re not supposed to do this. The API docs says:

Do not use this method to render a link in an HTML context. In an HTML context, self::toRenderable() should be used so that render cache information is maintained.

So I try to use toRenderable():

t('Visit @mylink', ('@mylink' => render($mylink->toRenderable()));

But PHP 7.2 doesn’t like it. Both calls to t() produces the following Notice:

Notice: Only variables should be passed by reference …

Fair enough – but how is this done?

I could not find how to do this described in any of the obvious docs, such as:

So my question is:
What is the best practice for writing a link to the screen in Drupal 8?

(Environment: Ubuntu 20.04 LTS, Drupal 8.8.6 (core + devel), procedural code – e.g. hook_help()).

8 – What is the best practice for writing a sanitized link to the screen in D8?

In Drupal 7, one could do the following one line::

t('Visit @mylink', ('@mylink' => l('my website', 'http://example.com')));

But that no longer works in Drupal 8 or 9 😞. So far, I’ve tried this:

First I create a link, Drupal 8 style:

$mylink = Link::fromTextAndUrl('my website', Url::fromUri('http://example.com'));

Then try to create a string that can be printed. I’ve tried both ways:

t('Visit @mylink', ('@mylink' => $mylink->toString())));
t('Visit @mylink', ('@mylink' => render($mylink->toRenderable())));

But PHP 7.2 doesn’t like it. Both calls to t() produces the following Notice:

Notice: Only variables should be passed by reference …

Fair enough – but how is this done?

I could not find how to do this described in any of the obvious docs, such as:

So my question is:
What is the best practice for writing a sanitized link to the screen in Drupal 8?

(Environment: Ubuntu 20.04 LTS, Drupal 8.8.6 (core + devel), procedural code (e.g. hook_help().

unity – How can I render 3D objects and particle systems in front of a Screen Space – Overlay Camera?

To render 3D objects on top of your canvas:

  1. Create a new Canvas in Screen Space – Overlay.
  2. Add a RawImage to that canvas.
  3. Create a new Render Texture.
  4. Add the Render Texture to the Raw Image.
  5. Create a new Camera.
  6. Set the camera to Solid Color background with an alpha of 0.
  7. Set the output texture of the camera to be the Render Texture you created.

You can now render 3D objects on top of your canvas; however, there are extra steps for particle systems:

  1. Create a material. Set its shader to Universal Render Pipeline/2D/Sprite-Lit-Default.
  2. Add your particle sprite to the Diffuse of your material.
  3. In the Renderer settings of your particle system, replace the material with the one you just created.

You should be good to go!

(If you have any problems, try going to your Render Settings and change the Anti Aliasing to 8x.)

gnome – Screen magnifier and text input follow problem

I’m using screen magnifier on ubuntu 19.10 and see problems with following magnigier to text foucus. It works good in some apps (terminal, gedit) but don’t works at all in others (sublime text 3). You can see working example of behaviour in gedit:
enter image description here

And broken one for sublime text 3

enter image description here

May be there is way to fix it for any text input in any app?