How do I set Lightning as the default calendar app?

10,414

Solution 1

Thunderbird can be set as default calendar application by opening the file:

$HOME/.local/share/applications/mimeapps.list*

In a text-editor such as GEdit and adding the line text/calendar=thunderbird.desktop to the [Default Applications] section. You may or may not need to add that same line to the [Added Associations] section too.

*To find and open this file, press the button combo Ctrl+H in your home folder, and look for .local, then find the file, right-click it and Open with..., or just double-click. After adding the line, press CTRL+Q, answer YES when asked to save.

See also this comment in the bug report.

Solution 2

Edit the MIMETYPE line in /usr/share/applications/thuderbird.desktop to read:

MimeType=message/rfc822;x-scheme-handler/mailto;text/calendar;text/x-vcard;

Then run sudo update-desktop-database -q

Now in "Default Applications" you will find Thunderbird in the list of calendar applications.

Source: http://onemoretech.wordpress.com/2014/02/12/thunderbird-as-default-gnome-calendar/

Solution 3

Calendar Extension for Thunderbird

Install this plug-in by clicking this link: xul-ext-lightning Install xul-ext-lightning

or open a terminal (e.g. gnome-terminal) and type:

sudo apt-get install xul-ext-lightning

That's all, folks!

Share:
10,414
Panagiotis K
Author by

Panagiotis K

Updated on September 18, 2022

Comments

  • Panagiotis K
    Panagiotis K over 1 year

    I want to set Thunderbird's calendar extension, Lightning, as the default calendar app. Is this possible?

    • Admin
      Admin about 12 years
      @ Johannski: well perfectly right, this command installs the add-on quite nice but I'm afraid it is not the answer to the question if one can set up lightning/thunderbird as the default calendar application (within the system info).. and as far as I looked it up on other posts, it is not possible at the moment - for further information please follow the link below to the latest thread: askubuntu.com/questions/101261/is-it-possible-to-set-lightni‌​ng-as-the-default-ca‌​lendar-application
  • Panagiotis K
    Panagiotis K over 12 years
    thanks, but how can i install it? i tried through software center, but it doesnt work. What do i need to do? thanx
  • klox
    klox over 12 years
    just click on the icon
  • Panagiotis K
    Panagiotis K over 12 years
    what icon? lightning extension is installed, but i cannot set it up as the default calendar for ubuntu...
  • user77287
    user77287 over 12 years
    Thanks works perfectly well for me! actually the right command is sudo apt-get install xul-ext-lightning @Panagiotis: You have to open the terminal. Just open the Dashsite (the ubuntuicon in your sidebar) and search for terminal. Then copy my command and change to the terminal. There paste the code (right click-> paste). Then you only have to type in your password and press y for agreeing to install it. But you will get the instructions anyways. :)
  • theFisher86
    theFisher86 over 12 years
    I installed this and it said that it was already at the latest version however I don't have the option to set Thunderbird/Lightning as the default calendar app in Unity?
  • Knowledge Cube
    Knowledge Cube about 12 years
    Bug 841409 may be to blame if you cannot set Lightning as the default calendar app in Ubuntu 11.10 or later.
  • igi
    igi over 11 years
    Following this answer makes Thunderbird the default calendar application. By the way, opening a calendar files makes Thunderbird to create a new mail message with the calendar attached.
  • orschiro
    orschiro over 7 years
    This worked perfectly under Ubuntu 16.10 to add Thunderbird to "Details > Default Applications". Thank you. :-)