GNOME/Calendar: Difference between revisions
imported>Mic92 Created page with "The [https://wiki.gnome.org/Apps/Calendar Gnome calendar] is the desktop calendar application built into GNOME. == Using Gnome Calendar outside of GNOME == To use the gnome..." |
imported>Tomsrobots The Hyprland window manger overwrites XDG_CURRENT_DESKTOP which prevent gnome-control-center from launching. |
||
| (3 intermediate revisions by 3 users not shown) | |||
| Line 8: | Line 8: | ||
{ | { | ||
programs.dconf.enable = true; | programs.dconf.enable = true; | ||
services. | services.gnome.evolution-data-server.enable = true; | ||
# optional to use google/nextcloud calendar | # optional to use google/nextcloud calendar | ||
services. | services.gnome.gnome-online-accounts.enable = true; | ||
# optional to use google/nextcloud calendar | # optional to use google/nextcloud calendar | ||
services. | services.gnome.gnome-keyring.enable = true; | ||
} | } | ||
</syntaxHighlight> | </syntaxHighlight> | ||
| Line 19: | Line 19: | ||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
$ nix-shell -p | $ nix-shell -p gnome.gnome-control-center --run "gnome-control-center" | ||
</syntaxHighlight> | </syntaxHighlight> | ||
then add your accounts in the "Online Accounts" submenu. | |||
To get alarm | If gnome-control-center will not launch, it's possible the value of XDG_CURRENT_DESKTOP needs to be changed to GNOME during launch. This is the case when using the Hyprland window manager. | ||
<syntaxHighlight lang="console"> | |||
$ XDG_CURRENT_DESKTOP=GNOME gnome-control-center | |||
</syntaxHighlight> | |||
This should launch gnome-control-center and allow you to access the Online Accounts submenu. | |||
To get alarm reminders you need to start the evolution-alarm-notify daemon provided by the <code>gnome.evolution-data-server</code> package. When you enable <code>services.gnome.evolution-data-server.enable</code> it will add a desktop autostart entry to <code>/run/current-system/sw/etc/xdg/autostart/org.gnome.Evolution-alarm-notify.desktop</code>. If your desktop manager does not process autostart entries, you can use [https://github.com/jceb/dex dex] instead: | |||
<syntaxHighlight lang="console"> | <syntaxHighlight lang="console"> | ||
| Line 30: | Line 38: | ||
</syntaxHighlight> | </syntaxHighlight> | ||
As an alternative you can start <code>libexec/evolution-data-server/evolution-alarm-notify</code> from the <code> | As an alternative you can start <code>libexec/evolution-data-server/evolution-alarm-notify</code> from the <code>gnome.evolution-data-server</code> directly. | ||
[[Category:Applications]] | |||