Monday, February 24, 2025

AMD CPU GPU Metrics Overlay Randomly Activated

 This annoying overlay suddenly appeared as an overlay in Windows 11.

If you want to disable it, open the AMD software, go to Performance, switch off Enable Metrics Overlay and hope it doesn't randomly activate again by itself.

 Thanks to Chezaus.

Update! I found out the key shortcut that enables it: Ctrl-Shift-o.

Friday, February 21, 2025

Thunderbird: Create New Message: default style is Paragraph instead of Body Text - UPDATE

 Update to the post from May 13, 2016

If you want to disable Paragraph format as the default style and revert to Body Text, go to Settings -> Composition and uncheck "Use Paragraph format instead of Body Text by default".

Friday, February 14, 2025

Configure a Brother Printer in Fedora Linux

I needed to configure a relatively old Brother HL2030 laser printer.
Don't look for the official drivers on Brother's Web site but rather install this package.
Make sure the printer is connected to a USB socket and switched on.
Then go to Settings and add a printer. It should be automatically found.
 

Friday, February 07, 2025

Stop Windows 11 from Changing Input Language

 The default option when you have multiple keyboard languages is to present the default system language for every app.

If you want to stick with one language for all apps, go to Advanced Keyboard Settings and instead of "Use language list", choose your favorite language.

You can still change keyboard language from the taskbar.

Thanks to Sumit.

Friday, December 13, 2024

Firefox uses too much memory or CPU

A few days ago Firefox started becoming unusable for me.
I usually have more than 10 windows and probably 40 tabs open at any time.
It was so slow I switched for a few days to Edge, which was much more responsive.
But I couldn't give up. I've been with Netscape Navigator, Mozilla Firebird and Firefox all my browsing life.
I fould this page from Mozilla really helpful.
In particular the option to "Minimize memory usage" in the about:memory page.
A combination of actions can really have an impact on the usability.

Thursday, December 05, 2024

Disable Firefox Translation Pop-up

Open a tab and go to:
about:config
 
Search for the entry:
browser.translations.automaticallyPopup
 
Double click in the row to switch from true to false.
 
Done!
Thanks to Mozilla Support.

Saturday, November 23, 2024

Set up Credentials in Git for Windows

 Open a Git Bash terminal.
 
# Set user name
> git config --global user.name "John Doe"

# Set email
> git config --global user.email "john.doe@email.com"

Set password
> git config --global user.password "not_123456"

# Permanently store credentials
> git config --global credential.helper store

Thanks to GeeksForGeeks.

Wednesday, October 23, 2024

Remove an Account from Google Authenticator

Swipe from right to left to remove the selected Account.

Thanks to Parayil

Friday, October 11, 2024

Stop Seeing Unwanted Posts in Facebook

Are you still on Facebook and noticed the amount of undesired crappy fake AI-generated posts infesting your feed?

Instead of scrolling from Home, go to Feeds and choose more specialized feeds like Friends or Groups.


Thursday, October 03, 2024

Less and Less Space on Your Disk? Using Thunderbird?

 If you see your free disk space going lower and lower and you are using Thunderbird, there's a good chance a bug is eating away a lot of it.

First step: disable automatic compacting of folders: uncheck "Compact all folders..."


Then go to:

C:\Users\xxx\AppData\Roaming\Thunderbird\Profiles\

Check the size if you have multiple ones, go inside and delete all "nstmp" files.

Those are the product of a bug:

"This sounds a lot like the folder compaction bug which can cause Thunderbird to drastically increase the size of temporary files (nstmp, nstmp-2, etc) if the process fails. We're currently rewriting the code for this (https://bugzilla.mozilla.org/show_bug.cgi?id=1890448) and a fix should be coming soon."

Thanks to https://www.reddit.com/user/killyourfm/

Thunderbird Eating Up My Hard Drive : r/Thunderbird (reddit.com)

Monday, September 30, 2024

Free up Space in Windows 11

Open "System" and go to Storage -> Temporary Files or search for "storage" and click on Temporary Files. Customize and get some space back.

Monday, August 26, 2024

Manually Edit the TortoiseHg Registry

 Sometimes you have spurious entries that cannot be removed from the UI.

You can manually edit the Repository Registry by going to the local configuration directory--something like: C:\Users\username\AppData\Roaming\TortoiseHg--and editing the file:

thg-reporegistry.xml

If you have an empty group, there will be a line like:

    <allgroup name="default"/>

which you can just delete.

Thursday, July 04, 2024

Thunderbird (115.x.y) Use Body Text Style by Default

You can set Body Text as the default composition style from the Tools Menu ->  Settings -> Composition:
uncheck "Use Paragraph format instead of Body Text by default".

Still, if you reply to an email and find yourself using the Paragraph style, you might think the option has been disabled. It's not. You just moved inside a Paragraph block.

Tuesday, July 02, 2024

Can not extract resource from com.android.aaptcompiler.ParsedResource

 If you get this strange error while building an app with AndroidStudio:
"Can not extract resource from com.android.aaptcompiler.ParsedResource"
 
 check if you just introduced an unprotected apostrophe (') in strings.xml and replace it with (\').

Thanks to soulflavacrew.

Sunday, May 05, 2024

Download Your Data from Instagam

 The tricky part is to find how to start. 

  1. Log in.
  2. Choose your account in the top right corner.
  3. Click on the Options icon, right of "View Archive".
  4. Choose "Settings and Privacy".
  5. In the "Accounts Center", choose "Personal Details".
  6. Now in the left side menu, choose "Your Information and Permissions".
  7. Choose "Download your Information" and proceed with customizing your request.
  8. Wait for Instagram to notify you when the data is ready to be downloaded.

The End

Wednesday, March 27, 2024

AndroidStudio Archive

 The archive of older versions is here.

Thursday, February 15, 2024

Windows Explorer is Dead in Windows 11. How to Restart it.

Windows Explorer is dead. You cannot open the Taskbar, switch workspace or even summon an open application but the mouse is responsive.

This worked for me:

Press Ctrl + Shift + ESC to open the Task Manager.

You can now restart Windows Explorer clicking: Run new task (top left) and then typing: explorer.

That should do it!

Thursday, May 11, 2023

Android FragmentStateManager.createView IllegalArgumentException: No view found for id

I had this exception when replacing a fragment inside another fragment in a transaction where getParentFragmentManager() was called.

The solution was calling getChildFragmentManager():

Return a private FragmentManager for placing and managing Fragments inside of this Fragment.

Thanks to flodaniel here and Malachiasz here.

Saturday, February 25, 2023

Disable "Do you want to open this file?"

 It's really annoying that Windows 10/11? always asks this question when you try to open a file you created.

To disable for new files (old ones are not affected unfortunately):

Open the "Local Group Policy Editor" (search for it).

Go to "User Configuration" -> "Administrative Templates" -> "Windows Components" -> "Attachment Manager".

Double click on "Do not preserve zone information in file attachments" and set it to Enabled.

Trying to open all new files will not result in the dreaded pop up disturbing your work.

Thanks to this forum answer.


Friday, December 02, 2022

Show More Options by Default in Windows 11

 To enable:

Go to Search and type Run to add the following to the registry entry:

reg add HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32 /ve /d "" /f

Then restart the file explorer to see the change.

To disable:

reg delete “HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}” /f
References: allthings.how