Home network hardware Synchronization of Yandex calendar and to-do list between your computer and other devices. Mozilla Thunderbird email client and Lightning calendar Setting up synchronization on smartphones and tablets

Synchronization of Yandex calendar and to-do list between your computer and other devices. Mozilla Thunderbird email client and Lightning calendar Setting up synchronization on smartphones and tablets

I have a suspicion that in the depths of Microsoft there is a special team of developers that specifically makes sure that everything related to the Windows command line has rakes, pitfalls and problems.

Examples:

  1. %comspec% (cmd.exe) requires that all parameters after /C or /K be in quotes. For example, you cannot do
    cmd.exe /C "%ProgramFiles%\notepad2\notepad2.exe" "%USERPROFILE%\Documents\test.txt"
    , necessary
    cmd.exe /C ""%ProgramFiles%\notepad2\notepad2.exe" "%USERPROFILE%\Documents\test.txt""
    What’s even worse is that cmd.exe disguises this jamb, and where it “notices” its call, it itself inserts outer quotes (and it doesn’t always guess). But other programs don’t know about this! For example, this is very disruptive when using the Windows Scheduler.
  2. START "notepad.exe" - does not work. Works
    START "" "notepad.exe"
  3. "%windir%\System32\find.exe" /n "4" "test.txt" separately - works.
    FOR /F "usebackq tokens=*" %%A IN (`"%windir%\System32\find.exe" /n "4" "test.txt"`) DO ECHO %%A – does not work. Works
    FOR /F "usebackq tokens=*" %%A IN (`%windir%\System32\find.exe /n "4" "test.txt"`) DO ECHO %%A
  4. ECHO 123>test.txt – does not work.
    ECHO "123">test.txt – writes "123" with quotes.
    ECHO 123 >test.txt – with a space.
    To make it work without a space, you need to write
    ECHO 12^3>test.txt
    or
    (ECHO 123)>test.txt
  5. ECHO - outputs ECHO is on. or a localized phrase (in Russian - four long words). To output an empty line, you need to write
    ECHO.
    (with a dot together; ECHO\, ECHO], etc. also works)
  6. If inside a block (...) there will be a comment with parentheses, for example, rem (check) , the command line interpreter will read the closing brace as the end of the block.
  7. FOR %%A in ("C:\test.file") DO ECHO%%A outputs C:\test.file regardless of whether test.file is there.
  8. Some commands do not change the ERRORLEVEL error code when called with invalid command line parameters. The most annoying examples:
    1. NET SHARE (in this case NET USER – changes)
    2. defrag.exe (on Win8 and higher it should be launched with the /O key; on 7 this key is not supported)
  9. Before Windows Vista, there was no preset environment variable that specified the location %USERPROFILE%\Local Settings\Application Data. Vista added %LOCALAPPDATA% , but also added the %USERPROFILE%\AppData\LocalLow folder, the location of which is again not specified in any environment variable.
  10. Finding out the hostname is a non-trivial task. There is a variable %COMPUTERNAME% , but therealways uppercase and truncated if forNetBIOS it is "too long". However, it can be read from the registry, only...
  11. When reading keys using reg.exe, problems begin if there are spaces in the key name, since reg.exe never displays only the value - it is always displayed after the key name and value type. So, in order, for example, to read hostname, you need to write

    FOR /F "usebackq tokens= 2 *" %%I IN (`REG QUERY "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "Hostname"`) DO SET "Hostname=%%~J"

    FOR /F "usebackq tokens= 3 *" %%I IN (`REG QUERY "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "NV Hostname"`) DO SET "NVHostname=%%~J"

    I wonder what reg.exe was already in XP (in NT4 and 2000 it was in the Resource Kit). But the XP command in the REG QUERY output separates the fields with a tab (character with code 8). Since there are no tabs in the names of the keys, such output is much easier to parse (however, you still can’t get rid of the header). Something like this:

    FOR /F "usebackq tokens= 2 *delims= " %%I IN (`REG QUERY "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters" /v "Hostname"`) DO SET "Hostname=%%~J"

    indicated in bold italics

    must be in the text of the batch file as a single character with code 8, and not in the form of triangular brackets and letters. In this case, the number after tokens= does not depend on the number of spaces in the key name.
    By the way, if you are reading the path from the registry, pray that there are no international characters there. Detecting them on the command line is unrealistic, and they are issued by reg in ANSI encoding (I remind you that cmd.exe works in OEM), so if there are non-ASCII characters, when you try to chdir (or anything else), the batch file will wait bummer.
  12. Copying folders is an epic example of a fail (or the win command from the first paragraph?). A typical command for copying a folder in Windows:

    xcopy s:\WindowsImageBackup r:\WindowsImageBackup /E /I /Q /G /H /R /K /O /Y /B /J

    were you able to count the number of keys the first time? Well, ok, probably not all of them are required. Here's the minimum required so that xcopy doesn't stop somewhere in the middle and ask a stupid question, waiting for an interactive answer:/E /I /G /H /R /Y . Oh, by the way, did you use copy ? The bummer will be waiting for you unnoticed :) The copy keys are indicated before the arguments from where and where, xcopy - after the arguments.
  13. %comspec% /U /C "ECHO 123>test.txt" writes the file to UNICODE.
    %comspec% /U /C "FOR /F %A IN (test.txt) DO ECHO %A" can't read it!

Google Calendar is one of many Google services designed for planning events and linking them to the calendar. In order to start using Google Calendar, you only need a valid Google account (you can use the same one as for Gmail). The calendar is accessed through the web interface using any browser. Thus, you can make changes to your schedule (work with the calendar) from any computer with Internet access.

Key features of Google Calendar:

  • notifications about events by e-mail and SMS
  • support for multiple calendars for one account
  • sharing your calendar
  • support for multiple interface languages
  • export and import of calendars (ICS)
  • additional functions (Laboratory)
  • inserting a calendar into a blog using HTML code
  • accessing the calendar from other applications

Sync ThunderBird and Google Calendar

To synchronize your email client ThunderBird And Google calendar, you need to do the following:

  1. Lightning(settings available).
    Lightning is an add-on that allows you to add full Google Calendar integration to ThunderBird.
  2. Install the ThunderBird add-on Provider for Google Calendar.
    Provider for Google Calendar- an add-on that allows you to get bi-directional access to the Google calendar (requires add-on Lightning)
  3. Restart ThunderBird
  4. Go to the calendar page and add Google calendar
    go to calendar

    open google calendar in the browser and go to the settings of the desired calendar

    go to private calendar address

    and copy it

    go back to ThunderBird and create a new calendar

    specify the location of the calendar - Online

    choose Google Calendar and in the field Address indicate the private address of your Google calendar

  5. Make Lightning settings (specify time zone)
    Go to menu Edit > Settings>tab Calendar>tab Timezone
    in field Select the nearest city in your time zone indicate the time zone of your calendar.

Error “Google Calendar is temporarily unavailable” - What to do?

If, after adding the Google calendar to ThunderBird, the error “Google calendar is temporarily unavailable” is displayed, follow the steps described in point 5 above.

For a long time I wanted to have a calendar planner in such a way that the events were the same on the computer, on laptops and on the phone. Today I will tell you how to use Yandex calendar using the Lightning add-on for the Mozilla Thunderbird email client. Mozilla Thunderbird will be synchronized with Yandex, accordingly, new events added to the calendar in Mozilla Thunderbird will automatically fly to Yandex and arrive on other devices on which Mozilla Thunderbird with the same add-on is installed, as well as on the iPhone. I’ll tell you how to set up synchronization of Yandex calendar with iPhone in a couple of days. And now we will install the Lightning add-on to synchronize the Mozilla Thunderbird calendar

Let's get started, here's a link to the Lightning add-on. As always, I have a version of Mozilla Thunderbird for Linux, the add-on, respectively, and the description of installation and configuration are all for Linux. In the Windows version, the differences are not significant.

For those who can't see

How to install in Thunderbird

Download and save the file to your hard drive.

In Mozilla Thunderbird, open the Tools menu and select Add-ons.

From the settings button menu located next to the add-on search field, select "Install add-on from file..." and find the downloaded add-on.

Specify the path to the downloaded Lightning add-on

We give approval for installation

After installing the Lightning add-on, Mozilla Thunderbird will ask you to restart - allow it

The Lightning add-on has been installed, now you need to set up synchronization with the Yandex calendar. Open the calendar that appears

We delete the existing standard calendars so as not to get confused. Right-click on an empty space and add a new calendar. Selecting a storage location for the new calendar Online

And enter the address

https://caldav.yandex.ru/calendars/(your login)@yandex.ru/events-default

After this, you will need to enter your username and password for your Yandex account in the pop-up window

On the next page we write down the name of the new calendar, for example Ya.Calendar and specify the email for notifications that the calendar will send as reminders of events

05/25/2012 Romchik

Good day! In this article I want to tell you about the settings of the Thunderbird email client. Or more precisely, how to add a calendar to Thunderbird and synchronize it with Google calendar. What is this for? Many people use Google Calendar to plan their events, meetings, events and tasks. And me too. And who doesn’t use it - try planning it saves a lot of time and effort. But the WEB interface is not very convenient, for one thing, you don’t always have access to the Internet at hand. That's why I started looking for an offline calendar with the ability to synchronize with Google. And how glad I was that such a thing was found and found as an addition to my favorite email client Thunderbird. Now I have both an email client and a calendar in one program. Well, enough words, let's get started setting up Thunderbird

The first thing we need to do is install Thunderbird, for those who have not done so yet. You can download it from the official website. Thunderbird is available for Windows, Linux, Mac OS, and FreeBSD.
Now let's install the Thunderbird add-on - calendar.

Installing a calendar in Thunderbird

Go to Tools->Add-ons

In the “Get add-on” tab, look for “lightning” in the search bar and select Lightning 1.4 (this is the latest version at the time of writing this article):

After installation you need to restart thunderbird.
Now let's see what we got. Go to the Events and tasks menu -> Calendar or press Ctrl+Shift+C:

And we will see the default calendar.


Creating a calendar that syncs with Google calendar

In order to organize synchronization of the calendar in Thunderbird with the calendar in Google. You need to install one more add-on - Provider for Google Calendar. Let's install this add-on by analogy with installing Lightning. Only now we look for Provider for Google Calendar and select Provider for Google Calendar 0.13 (this is the latest version at the time of writing this article)

Restart Thunderbird. Now we are all ready to create a calendar that will sync with Google Calendar.
To do this, go to the mail tab, go to any mailbox or to “Local Folders” and click “Create a new calendar”:

In the “Create a new calendar” window, select “Online” and click “Next”.

Now we need to go to the Google calendar WEB interface, go to settings and select calendars:

Select the calendar with which synchronization will occur or create a new one:

In the next window, look for “Private address” and click on “xml”:

Now we copy the address.

Hello, Habra residents!

I've been keeping a calendar on Google Calendar for quite some time. It seemed practical to me, because you can work with it using a phone, a web interface and many applications.

But recently, in addition to the personal calendar, the need arose to simultaneously maintain a working calendar of meetings, which was maintained locally using Thunderbird/Lightning. This blatant injustice upset me, so I decided to combine the management of all calendars in the way that is familiar to me - using any device connected to the Internet.

So, what is the input:

  • Personal calendar in Google Apps
  • Work Calendar in Lightning
The end result is two different calendars that can be managed using Lightning, Google Apps, and a Windows Phone 7 phone.

Details and necessary crutches are under the cut.

Create and merge calendars in Google Apps
First, we need to register a new Google account (not Gmail) for our “work” email address. The easiest way to do this is from the Google Calendar page. This is done, by and large, so that the people you invite to meetings receive notifications from their “work” address.

After that, you need to grant access to this calendar from your Google Apps account. This is done as follows:

Then you should enter your Google Apps email address and give yourself full access.

After adding this calendar to your Google Apps account, we will be able to manage two calendars at once from one account.

Adding Calendars to Lightning
To add calendars to Lightning, you can take two routes. The first way (also easy) is to install the Thunderbird add-on. The calendar address is taken from the same page where access to the calendar was opened.

The second way is even simpler. Use CalDAV. To do this, when creating new calendars, you should specify a path to them like: www.google.com/calendar/dav/%Your Google ID%/events. Access is carried out using the https protocol.

Once you add calendars, Lightning will display them.

And, most importantly, we synchronize everything with Windows Phone 7
To do this, you need to connect your Google account on your phone. This is done in the “Settings → Mail + accounts” item.

Now, actually, the most important crutch. From your phone, or from any browser that allows you to replace the User-Agent with a “phone” one, go to http://m.google.com/sync/.
Google may throw an error saying: Google Sync doesn't work on your device. This can be treated by clicking on the “Change language” link and selecting English.

Settings must be changed for the Windows Phone device.
Here, with a checkbox, we select the calendars that need to be displayed on the device. Obviously, you can select not only our “work” calendar, but any one to which you are subscribed.

After that, you should delete your Google account on your Windows Phone device and create it again. After synchronization, all calendars selected in Sync will be displayed in the calendar settings.

New on the site

>

Most popular