#Windows10 – Where is my mouse 🖱️ ? CTRL Key may help

Buy Me A Coffee

Hi !

Here goes a quick Windows 10 tip. I work with several monitors, and from time to time, I lost my mouse. Yes, it sounds silly, but I start to move my mouse all around until I detect the location of the mouse pointer. So, there is a cool way to solve this, enabling a mouse settings, that will show the mouse pointer when you press the CTRL Key.

animation with the ctrl show mouse location demo

Enabling this is super easy.

  • Open Settings // Devices // Mouse
  • Select Additional Mouse options
  • In the [Pointer Options] tab, enable the [Show location … ] feature

Sounds familiar, yes?

Happy coding!

Greetings

El Bruno



¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

#Windows10 – Enable #clipboard history

Buy Me A Coffee

Hi !

I’ve been using this feature for so long, and now I can’t really remember when it was officially launched. The way it works is super easy, once you copy a content to your clipboard, using CTRL+C, the content is added to the Clipboard ring and you can access later using WIN+V.

As you can see in the previous image, the Clipboard ring support different types and formats, which is a great bonus. Of course, be extra careful if you store passwords, connection strings, access keys or any sensitive data here.

And finally, to enable this feature just search for [Clipboard] in Windows 10 Settings.

Happy coding!

Greetings

El Bruno



¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

#Windows10 – Disable Edge Tabs as apps when you Alt+Tab

Buy Me A Coffee

Hi !

One cool feature was added in one of the latest Windows 10 updates:

Display the Edge Tabs as apps when you Alt+Tab between Windows applications

That’s cool and useful. However I don’t need it, so I decided to turn it off.

And it’s easy, just go to Settings // System // Multitasking, and choose your own preference:

  • All Edge Tabs
  • 5 or 3 more recent Tabs
  • Windows Apps only

Maybe the 3 recent tabs make sense … I may give that option a try later !

Happy coding!

Greetings

El Bruno



¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

#Windows10 – How to solve “#docker daemon is not running”. Extreme solutions like restart windows won’t work! 🙀🙀🙀

Buy Me A Coffee

Hi !

Time to share a weird experience on Windows 10 and Docker. Sometimes, usually after some Windows 10 update or even after a software installation, docker stop responding.

An typical error may look like this.

error during connect: This error may indicate that the docker daemon is not running.: Post http://%2F%2F.%2Fpipe%2Fdocker_engine/v1.24/build?buildargs=%7B%7D&cachefrom=%5B%5D&cgroupparent=&cpuperiod=0&cpuquota=0&cpusetcpus=&cpusetmems=&cpushares=0&dockerfile=Dockerfile.amd64&labels=%7B%7D&memory=0&memswap=0&networkmode=default&rm=1&shmsize=0&t=noToday.azurecr.io%2FU%3A0.0.88-amd64&target=&ulimits=null&version=1: open //./pipe/docker_engine: The system cannot find the file specified.

From Visual Studio Code we get:

And it’s very weird. When I check the Docker desktop app, it’s stuck in the the STARTING state.

docker windows 10 for ever in starting mode

I can restart the docker desktop app, and I will still have the issue. As I said, weird.

I’m a handy man, so I decided to restart the docker service. Just 2 commands:

Net stop com.docker.service
Net start com.docker.service

However, this does not solve the problem. And sometimes, even restarting Windows won’t fix the problem.

After some time, I found the root cause:

Somehow WSL was set to version 1 instead of version 2.

I’m not sure why, however the solution is super easy. Just run a command to set WSL to version 2 and then restart docker service.

wsl --set-default-version 2
Net stop com.docker.service
Net start com.docker.service

If you are a visual person, this may look like this:

docker windows 10 set WSL2 as current version

Important: you need to run these commands with Administrator privileges. So in a Windows Terminal world, this may also look like this. Right click on the Windows Terminal App, and click on “Run as administrator”.

Happy coding!

Greetings

El Bruno



¿Con ganas de ponerte al día?

En Lemoncode te ofrecemos formación online impartida por profesionales que se baten el cobre en consultoría:

#Tools – How to create an IP Camera from a USB Camera on #Windows10

Buy Me A Coffee

Hi!

So, I may need to create a new category for these posts, something like “scenarios that you will never need in your life”, or “I did this once and now I can’t remember what I did”. Today is a simple one,

Let’s create a IP Camera from a USB Webcam in Windows.

There are several ways to do this, you can even write some code, however I will use a deprecated software: Dorgem (see references)

Dorgem is a webcam capture application for Windows 9x and up. Any Video for Windows compatible webcam (or other digital camera) is supported.
It has unlimited storage events that can put the captured image on an FTP site as well as a local disk, all with their own time interval. It can put a unlimited texts and bitmaps on the captured image before the image is stored.
Dorgem supports an unlimited number of simultaneous cameras. It has a built-in webserver for still images and can be used as security camera because of its motion detection.

Note: YawCam is also an option, however it requires Java Runtime, and I don’t want to install it unless is necessary.

Ok, once you installed the app, we need to select the source camera.

We can also choose camera options like Resolution, Pixed Depth, etc.

In order to have a IP Cam, we need to enable the WebServer, from the Options button. Here we can define port, refresh rate and more.

And that’s it, we have a small and usefull webserver sharing our webcam via http.

Happy coding!

Greetings

El Bruno


References

#Tools – Add ZoomIt to Windows 10 Start Menu #Windows10

Buy Me A Coffee

Hi !

Here it goes another post reminder, just for me. Every time I install a new Windows 10 instance, I need to search on how to add a .exe file as an application to the Windows Start Menu. So, I’ll use ZoomIt as the sample one and here are the steps.

Disclaimer: if you share your screen often, zoomit is a must have !

  • Right click on your ZoomIt executable file and create a shortcut on your desktop
  • Open the location [%AppData%\Microsoft\Windows\Start Menu\Programs]
  • Move the shortcut you created on the Desktop to the previous location
  • Done!

Now you can search for ZoomIt on the Start Menu Programs:

start menu and zoomit

Happy coding!

Greetings

El Bruno


Resources

#Tools – Using an old #Android tablet as an additional monitor

Buy Me A Coffee

Hi !

Please don’t ask me why, however today I was in the need to have a 3rd monitor to my current setup.

And, somewhere during these days, I remember that someone commented about using an old iPad / Android tablet as an external monitor.

We don’t do Apple at home (again, don’t ask me why!), however I still have some old Android tablets, and I decided to try some of those apps.

Note: You know the feeling about installing Android apps, you never know what’s there.

So, after a couple of tests, I found a super cool and decent solution:

SpaceDesk (see references)

I won’t bother with detailed instructions;

  • Install the app on your PC, that will be the host.
  • Install the app on the Android tablet (client)
  • Both needs to be in the same network
  • and done !

Some settings to arrange the screen

And, in the Bottom left corner you may see a new screen

3 monitors

Awesome !

Happy coding!

Greetings

El Bruno


References

#Windows10 – Can’t remove a device ? Let’s try with “Show hidden devices”

Buy Me A Coffee

Hi !

Saturday off-topic post.

I’ve been a Windows user for a long time, and I consider myself smart enough to solve the most common issues. However, while I was installing a new Bluetooth 5.0 dongle in my brand new Windows 10 installation, I face an error:

I could not uninstall some devices. These devices where paired to my Windows 10 machine using an older Bluetooth 4.0 dongle.

And, even weirder, when I try to remove the device from the Control Panel, I got a cryptic message:

Can’t remove device.

No extra details, no details in the Event Viewer; just that simple message.

I was afraid that I will need to manually clean up entries in the Windows Registry, until I read that the non-used devices can also be accessed in the Device Manager. Just following these steps:

Press Windows key + X. and open Device Manager

device manager

Click on View // Hidden Devices.

show hidden devices

Search for desired device and click uninstall

uninstall a hidden device

And, that’s it ! 5 minutes later, I finally have all my devices connected using Bluetooth 5.0 and up and running in Windows 10 !

Windows 10 installed devices

Happy coding!

Greetings

El Bruno


#Anaconda – How to List and Remove Virtual Environments (get back some disk space!)

Buy Me A Coffee

Hi !

I already shared how to create Virtual Environments using Anaconda, and also how to create shortcuts to use them directly in Windows Terminal (see references). This task is easy an amazing, however, at some point you may want to clean your environment.

That’s an easy task. I’m currently using Anaconda version 4.8.3. You can check your version with the command

conda -V

To show your virtual environments, you must use the command

conda info --envs
anaconda display version and virtual environments
Anaconda PowerShell display conda version and virtual environments

Before deleting any of this, I checked them and … they use some space.

anaconda virtual environments disk size

As you can see in the previous image

  • drone02, disk size is 2GB
  • p38, disk size is 1.4 GB
  • telloOpenCV, disk size is 2.6 GB
  • tfenv, disk size is 1.76 GB

I didn’t even check the other virtual environments. Right now I’m only using 2 from the total of 6 on the list, so I’ll delete the non used ones.

To delete a virtual environment we must use the command

conda env remove --name ENVIRONMENT

And with a simple command like this, I can remove the unused ones

conda env remove --name drone02
conda env remove --name telloOpenCV
conda env remove --name tfenv

And, after this I get some space back to my disk!

Happy coding!

Greetings

El Bruno


References

#Personal – USB Hub with On/Off switch, one of the best ideas ever !

Buy Me A Coffee

Hi !

Every single day I have connected to my main PC at least 5 or more different USB devices. In example:

  • Logitech Brio WebCam
  • SENNHEISER SP 30 Speakerphone
  • USB BT and Wifi Dongle
  • and more…

And, depending on my current work, I also connect and disconnect extra devices. These days, I’m playing with Thermal Camera, so an extra camera, a Raspberry Pi and other devices are part of the pack.

Thermal detection as soon as a person is detected

So, several devices connected and, I also think about security. How a connected camera 24×7 may be an entry point for an attach. My Logitech Brio has a nice lid to cover the entry, but the old LifeCam is just a plain camera.

Microsoft LifeCam and Thermal Camera

And, these cameras also have microphones, so that’s another entry point that I can hardly connect. I mean, I can open my Device Manager settings and disable each device, however this is not an easy and pleasant task to do.

This is my device manager configuration at any time of the day for my Audio Devices, and I only need the selected 2.

Audio Devices in Windows 10
Audio Devices in Windows 10

I created a couple of PowerShell scripts to disable the extra devices, however these are not very reliable and in random times, I get an amazing Green Screen Of Death (Windows Insider version of BSOD)

windows 10 insider blue screen of the dead
Windows 10 Insider G Screen Of Dead

After doing some digging I found what is the best solution for my pain

An USB Hub with On/Off switchs for each entry

Usb hub for PC with also chargers

As you can see on the image, I have the USB with several connected devices to my PC (blue lights) and I’m also using one of the Power entries to power one Raspberry Pi (red lights).

USB Hub Ports

The USB hub also have an optional 12V/4A power adapter that can provide charging power up to 2.4A.

And, this is not an sponsored post, however I’m so happy to found a simple solution to enable / disable devices that I think it will make sense to share !

Happy coding!

Greetings

El Bruno


References