I have had a situation where I would properly receive email notifications (both visual and sound) for all my emails in Thunderbird but one. That one was Gmail-based with a custom domain. Even though notifications for other two Gmail accounts I have would work properly, I would never receive them for that third one.
The reason behind this problem turned out to be in the Conditional Store (constore) facility which provides a protected update mechanism for message state information that can detect and resolve conflicts between multiple writing mail clients. It also allows a client to quickly resynchronize mailbox flag changes.
Thunderbird still doesn't have a full support for that feature and you will have to disable it. Go to Menu > Options > Advanced > Config Editor and search for "condstore". Double click on "mail.server.default.use_condstore" to set it to false and you are done.
Now just restart the Thunderbird and send yourself a test email to make sure notifications are working as they should.
Solving the issues by yourself
I decided to start this blog in order to share solutions to the problems I encountered in my everyday computer use.
The main purpose of this blog is to help you resolve those same issues by yourself, in case you encounter them.
2015-05-22
2013-10-24
Simple Minimizer
A simple tool for minimizing any active window. Comes in handy with those stubborn games that won't minimize when running in full screen like Doom 3 or The Dark Mod.
Here is an info from the readme file:
This is a simple software that will minimize any active window if you press Alt+M. All you have to do to use it is run it once and it will sit in your tray area. Written in AHK using only one line of code. Made for The Dark Mod community, but available for anyone to use.
Download: Simple Minimizer v1.0 (2013-10-24)
Read more about The Dark Mod here: http://thedarkmod.com
EDIT: Doesn't work with Quake 4.
Here is an info from the readme file:
This is a simple software that will minimize any active window if you press Alt+M. All you have to do to use it is run it once and it will sit in your tray area. Written in AHK using only one line of code. Made for The Dark Mod community, but available for anyone to use.
Download: Simple Minimizer v1.0 (2013-10-24)
Read more about The Dark Mod here: http://thedarkmod.com
EDIT: Doesn't work with Quake 4.
2012-03-18
Issuu Publication Downloader
I created a tool named Issuu Publication Downloader and decided to share it.
Here is an info from the readme file:
The tool itself is a batch script that uses GNU Wget made by Giuseppe Scrivano and Hrvoje Nikšić. The main purpose of it is downloading Issuu publications which aren't available for the download the usual way. Normally, to download an Issuu publication, one has to register first, and publication itself needs to have download enabled. When using this tool neither of these two requirements are needed because it downloads the images, shown to users through a Flash application when they are reading them, directly from the server.
Download: Issuu Publication Downloader v1.0 (2012-03-18)
EDIT: Look at the source code of the website to find a document ID. If you are using Firefox, just press Ctrl+U to open the source, and then use Ctrl+F and search for "documentid".
Add-on: ICDL Book Downloader v1.0 (2013-10-02)
Here is an info from the readme file:
The tool itself is a batch script that uses GNU Wget made by Giuseppe Scrivano and Hrvoje Nikšić. The main purpose of it is downloading Issuu publications which aren't available for the download the usual way. Normally, to download an Issuu publication, one has to register first, and publication itself needs to have download enabled. When using this tool neither of these two requirements are needed because it downloads the images, shown to users through a Flash application when they are reading them, directly from the server.
Download: Issuu Publication Downloader v1.0 (2012-03-18)
EDIT: Look at the source code of the website to find a document ID. If you are using Firefox, just press Ctrl+U to open the source, and then use Ctrl+F and search for "documentid".
Add-on: ICDL Book Downloader v1.0 (2013-10-02)
Labels:
book,
childrenslibrary.org,
downloader,
free,
icdl,
issuu,
publication,
tool
2012-03-08
Hiding a console window when coding in Bloodshed Dev-C++
There exist a several ways of hiding a console window of your program.
Let me explain a few of them.
First method:
This method will hide the console window right after it shows up. Because console window will still be displayed for a fraction of second, this is probably not a method you would want to use.
Second method:
This method behaves same as the first one, hiding console window right after it shows up.
So let's see the last method which solves this problem.
Third method:
Considering you are using Dev-C++ by Bloodshed, do the following:
Tools > Compiler Options > Settings > Linker > Do not create a console window > Yes
This method actually doesn't hide a console window.
Because it isn't created in the first place, there is nothing to hide. :)
Let me explain a few of them.
First method:
#include <windows.h>
int main() {
HWND hWnd = GetConsoleWindow();
ShowWindow(hWnd,SW_HIDE);
}
int main() {
HWND hWnd = GetConsoleWindow();
ShowWindow(hWnd,SW_HIDE);
}
This method will hide the console window right after it shows up. Because console window will still be displayed for a fraction of second, this is probably not a method you would want to use.
Second method:
#include <windows.h>
int main() {
FreeConsole();
}
int main() {
FreeConsole();
}
This method behaves same as the first one, hiding console window right after it shows up.
So let's see the last method which solves this problem.
Third method:
Considering you are using Dev-C++ by Bloodshed, do the following:
Tools > Compiler Options > Settings > Linker > Do not create a console window > Yes
This method actually doesn't hide a console window.
Because it isn't created in the first place, there is nothing to hide. :)
2011-02-04
Batch scripting: Reading paths from registry
Reading paths from registry can be extremely useful if you are making your own automated installation or something similar. Getting the path from registry removes the need for manual entry of the path.
As there exist a few differences when running commands from batch file and entering them directly into command window, I'll explain how to do it with a batch file.
Let's presume we have JDownloader installed on our computer.
Registry key "HKEY_LOCAL_MACHINE\SOFTWARE\JDownloader" contains a string "Path" which has an installation path stored in it.
We can store its value in a temporary variable "installpath" using following command:
Our current command will only work on Windows with 32-bit architecture, because on Windows with 64-bit architecture that same registry key is stored in a different location. That location is: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JDownloader"
The reason for this is because 32-bit applications on 64-bit Windows put their registry keys under Wow6432Node branch. Using the fact that 64-bit Windows have SysWOW64 folder under Windows folder, we'll make our command architecture independent by modifying it like this:
If registry string which value you are getting has multiple words in its name, value of tokens should be increased by number of spaces inside the name. For example, if string is named "Install Path" you must change tokens to "tokens=3*".
If path you are reading from a registry key is stored in default string, there exists another problem. On Windows XP and earlier, "reg query" command returns the name of default string as "(NO NAME)", while on Windows Vista and later returns as "(Default)".
Because of this change, value of tokens is different as there is one additional space on Windows XP and earlier. If JDownloader had its path stored in default string, to make our command independent of Windows version, we would have to modify it like this:
There is one other thing I would like to mention, which doesn't effect our way of getting a path, but is good to be aware of when working with "reg query".
As there is a difference in a name of the default value, there also exists a difference in a way columns are being separated. While on Windows XP and earlier tabulator character has been used , on Windows Vista and later, it has been changed to four space characters.
That should be all. :)
As there exist a few differences when running commands from batch file and entering them directly into command window, I'll explain how to do it with a batch file.
Let's presume we have JDownloader installed on our computer.
Registry key "HKEY_LOCAL_MACHINE\SOFTWARE\JDownloader" contains a string "Path" which has an installation path stored in it.
We can store its value in a temporary variable "installpath" using following command:
for /f "tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JDownloader" /v "Path"') do set installpath=%%b)
Our current command will only work on Windows with 32-bit architecture, because on Windows with 64-bit architecture that same registry key is stored in a different location. That location is: "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JDownloader"
The reason for this is because 32-bit applications on 64-bit Windows put their registry keys under Wow6432Node branch. Using the fact that 64-bit Windows have SysWOW64 folder under Windows folder, we'll make our command architecture independent by modifying it like this:
if exist "%windir%\SysWOW64" (
for /f "tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JDownloader" /v "Path"') do set installpath=%%b
) else (
for /f "tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JDownloader" /v "Path"') do set installpath=%%b
)
If registry string which value you are getting has multiple words in its name, value of tokens should be increased by number of spaces inside the name. For example, if string is named "Install Path" you must change tokens to "tokens=3*".
If path you are reading from a registry key is stored in default string, there exists another problem. On Windows XP and earlier, "reg query" command returns the name of default string as "(NO NAME)", while on Windows Vista and later returns as "(Default)".
Because of this change, value of tokens is different as there is one additional space on Windows XP and earlier. If JDownloader had its path stored in default string, to make our command independent of Windows version, we would have to modify it like this:
for /f "tokens=2 delims=[]" %%x in ('ver') do set winver=%%x
set winver=%winver:~8,1%
if %winver% geq 6 (
set winver=%winver:~8,1%
if %winver% geq 6 (
if exist "%windir%\SysWOW64" (
for /f "tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JDownloader" /ve') do set installpath=%%b
) else (
for /f "tokens=2*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JDownloader" /ve') do set installpath=%%b
)
) else (
if exist "%windir%\SysWOW64" (
for /f "tokens=3*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JDownloader" /ve') do set installpath=%%b
) else (
for /f "tokens=3*" %%a in ('reg query "HKEY_LOCAL_MACHINE\SOFTWARE\JDownloader" /ve') do set installpath=%%b
)
)
There is one other thing I would like to mention, which doesn't effect our way of getting a path, but is good to be aware of when working with "reg query".
As there is a difference in a name of the default value, there also exists a difference in a way columns are being separated. While on Windows XP and earlier tabulator character has been used , on Windows Vista and later, it has been changed to four space characters.
That should be all. :)
2011-01-30
Telnet client in Windows Vista and 7
Recently I had a need for telnet client, and when tried to access the one that comes with Windows, I was surprised it was missing. At first I thought it was removed from Windows 7, but later found out it was only disabled since Vista came out.
To re-enable it go to Start > Control Panel > Programs and Features > Turn Windows features on or off. Tick Telnet Client and click on OK.
To re-enable it go to Start > Control Panel > Programs and Features > Turn Windows features on or off. Tick Telnet Client and click on OK.
Opening command window in current Explorer window path
If you tend to use command window (cmd.exe) now and then, you may have come to situation when you wanted to open it in directory of the active Explorer window so you don't have to manually change directory.
That function is already integrated in Windows Explorer, all you have to do is hold Shift button while right clicking and you'll see 'Open command window here' which usually isn't present.
Note: This function is only present on Windows Vista and newer.
That function is already integrated in Windows Explorer, all you have to do is hold Shift button while right clicking and you'll see 'Open command window here' which usually isn't present.
Note: This function is only present on Windows Vista and newer.
Multiple unknown devices in Device Manager with Hardware ID: sun_VBoxNetFltmp
After you have been using Oracle VM VirtualBox for a longer period, continuous updates and reinstallations may have left some unnecessary things in Device Manager.
You may have multiple instances of unknown devices in network section of Device Manager.
If you take a look at their properties, you will that everyone of them is VirtualBox Bridged Networking Driver Miniport. These are leftovers of previous versions of VirtualBox present because of the issues regarding permissions in registry.
I had an amazing number of 41 such unknown devices.
Because they refuse to uninstall the normal way, they have to be removed manually.
You will need to have administrator rights to take ownership and give yourself full permisions and auditing control for the following registry key in order to delete it, as this registry key is all that is left of them:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\SUN_VBOXNETFLTMP
When you got rid of it, reinstall VirtualBox to make sure everything works fine.
You may have multiple instances of unknown devices in network section of Device Manager.
If you take a look at their properties, you will that everyone of them is VirtualBox Bridged Networking Driver Miniport. These are leftovers of previous versions of VirtualBox present because of the issues regarding permissions in registry.
I had an amazing number of 41 such unknown devices.
Because they refuse to uninstall the normal way, they have to be removed manually.
You will need to have administrator rights to take ownership and give yourself full permisions and auditing control for the following registry key in order to delete it, as this registry key is all that is left of them:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Enum\Root\SUN_VBOXNETFLTMP
When you got rid of it, reinstall VirtualBox to make sure everything works fine.
Long time is being taken before internet connection is established
Connecting to internet whether using Ethernet cable or WiFi adapter should be almost instant in both cases. Sometimes, installation of a new software which modifies your internet connection in some way, may result in increase of that time as high as few minutes.
Software usually responsible for this is Virtual Machine or Antivirus software.
Uninstalling and then reinstalling your Ethernet and WiFi driver from Device Manager will most likely fix this issue.
Software usually responsible for this is Virtual Machine or Antivirus software.
Uninstalling and then reinstalling your Ethernet and WiFi driver from Device Manager will most likely fix this issue.
Updating Toshiba Tecra BIOS: "The computer is not supported"
You may came to situation you want to update your BIOS for whatever reasons you find it necessary. Downloading the installation file from Toshiba's official site, and executing it may result in a message: "The computer is not supported."
This error occurs because Toshiba ACPI Common Modules aren't present on your system.
Although the installation guide they provide doesn't says anything about this, they are required prior to installation of BIOS update.
ACPI Common Modules came as a part of Value Added Package available for download on Toshiba's drivers section on their web site, presumably the same location you downloaded your BIOS update in the first place.
Installing Toshiba ACPI Common Modules and rebooting afterwards when asked, results in successful execution of BIOS update installation file.
This error occurs because Toshiba ACPI Common Modules aren't present on your system.
Although the installation guide they provide doesn't says anything about this, they are required prior to installation of BIOS update.
ACPI Common Modules came as a part of Value Added Package available for download on Toshiba's drivers section on their web site, presumably the same location you downloaded your BIOS update in the first place.
Installing Toshiba ACPI Common Modules and rebooting afterwards when asked, results in successful execution of BIOS update installation file.
Subscribe to:
Posts (Atom)