如何更改 Gnome Shell 日曆預設應用程式?

如何更改 Gnome Shell 日曆預設應用程式?

在 Gnome shell 日曆選單中,當我點擊“打開日曆「它試圖打開演化-即使沒有安裝- 是否可以更改預設日曆?

Gnome Shell 日曆


聚苯乙烯Gnome shell 日曆不遵循預設日曆應用程式

答案1

在終端機中鍵入以下內容。

對於雷鳥:

gsettings set org.gnome.desktop.default-applications.office.calendar exec thunderbird

對於鉻

gsettings set org.gnome.desktop.default-applications.office.calendar exec "chromium-browser 'https://www.google.com/calendar'"

答案2

在 Gnome 3.8 中使用 gvfs-mime 來操作日曆 mime 關聯:

檢查:

gvfs-mime --query text/calendar

設定您的應用程式:

gvfs-mime --set text/calendar google-calendar.desktop

而 google-calendar.desktop 可以這樣建立:

gnome-desktop-item-edit --create-new ~/.local/share/applications/google-calendar.desktop

然後在對話方塊中填寫以下內容作為使用Google日曆開啟瀏覽器的命令:

xdg-open https://www.google.com/calendar

然後重新啟動 gnome-shell 或登出/登入以重新載入設定。

答案3

打開右上角的系統設置,然後轉到系統訊息,然後轉到預設應用程式並在那裡進行更改!

答案4

我從以下位置重新發布此內容名為 Wonder 的用戶

[稍作編輯] Thunderbird 不是日曆應用程序,除非您使用擴充功能對其進行調整。因此它不應該在那裡,但是......如果你真的想要它在那裡,你需要執行以下兩個步驟(作為root)。

# vi /usr/share/applications/mozilla-thunderbird.desktop  
# update-desktop-database -q

在編輯桌面檔案時,將 Mimetype 行附加到文字/日曆;文字/x-vcard;

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

我嘗試了這個,該應用程式確實出現了,但我還沒有看到日曆選單小工具同步。

相關內容