Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

12 votes
1 answers
3337 views
How do I refresh the Google calendar in Gnome?
I'm using Gnome 3.14 on Arch Linux. I'm fond of the calendar drop-down when you click on the time in the top panel. I've set up my Google calendar to show there, but if I happen to be offline when logging in, the calendar is not shown. Is there a way to manually refresh the Gnome calendar?
I'm using Gnome 3.14 on Arch Linux. I'm fond of the calendar drop-down when you click on the time in the top panel. I've set up my Google calendar to show there, but if I happen to be offline when logging in, the calendar is not shown. Is there a way to manually refresh the Gnome calendar?
To Do (1396 rep)
Jan 27, 2015, 12:43 PM • Last activity: Jul 25, 2025, 04:05 AM
0 votes
1 answers
48 views
adding alternate date (e.g., julian) to Gnome panel
Is there an extension which would allow me to add an additional date (Julian) to the Gnome panel?
Is there an extension which would allow me to add an additional date (Julian) to the Gnome panel?
argentwolf (101 rep)
Sep 29, 2024, 02:36 PM • Last activity: Sep 29, 2024, 06:03 PM
0 votes
0 answers
40 views
How to search future events in Evolution calendar
I use Evolution 3.42.4 under OpenSUSE Leap 15.5 on x86 hardware. I want to do an advanced search for calendar events of a particular type in the future. According to my notes from previous searches, selecting "Active Appointments" used to show only future events, but this does not seem to work any m...
I use Evolution 3.42.4 under OpenSUSE Leap 15.5 on x86 hardware. I want to do an advanced search for calendar events of a particular type in the future. According to my notes from previous searches, selecting "Active Appointments" used to show only future events, but this does not seem to work any more: it shows all past events matching my search conditions as well. Is there any way of specifying a date range in an Evolution advanced search? I can't see anything. An "Expression" condition might help, but I can't find any documentation for this.
Richard Parkins (191 rep)
Sep 28, 2024, 09:07 PM
3 votes
2 answers
2902 views
Merge multiple ics calendar files into one file
From the command line, how can I merge multiple `.ics` calendar files in to one `.ics` calendar file?
From the command line, how can I merge multiple .ics calendar files in to one .ics calendar file?
Julia (425 rep)
Sep 8, 2019, 10:30 AM • Last activity: Jun 19, 2024, 03:59 PM
1 votes
0 answers
27 views
How to change my calendar to icelandic traditional in linux
This is similar to what Svante Janson described in the article: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=8c996f399e30ccc6c55164bb8e169fa5ff398168 | | Icelandic | Begins | Gregorian | |--| --------- | ------ | --------- | |S1| Harpa | Thursday | 19–25 April| |S2| Skerpla | Satur...
This is similar to what Svante Janson described in the article: https://citeseerx.ist.psu.edu/document?repid=rep1&type=pdf&doi=8c996f399e30ccc6c55164bb8e169fa5ff398168 | | Icelandic | Begins | Gregorian | |--| --------- | ------ | --------- | |S1| Harpa | Thursday | 19–25 April| |S2| Skerpla | Saturday | 19–25 May | |S3| Sólmánuður| Monday | 18–24 June| |S4| Heyannir | Sunday | 23–30 July| |S5| Tvímánuður| Tuesday | 22–29 August| |S6| Haustmánuður| Thursday| 21–28 September| |W1| Gormánuður | Saturday| 21–28 October| |W2| Ýlir | Monday | 20–27 November| |W3| Mörsugur | Wednesday| 20–27 December| |W4| Þorri | Friday | 19–26 January| |W5| Góa | Sunday | 18–25 February |W6| Einmánuður| Tuesday| 20–26 March|
Broshward (51 rep)
Feb 6, 2024, 08:08 PM
1 votes
4 answers
167 views
Double match - substitute pattern on subsequent line if prevous line matches another pattern?
I'm trying to replace `VEVENT` to `VTODO` entries in an .ics file if it matches current `date` on another line (it was exported incorrectly): ``` BEGIN:VCALENDAR BEGIN:VEVENT DTSTART:20220340T140000 END:VEVENT BEGIN:VEVENT DTSTART:20230620T193700 END:VEVENT BEGIN:VEVENT DTSTART:20210210T193800 END:V...
I'm trying to replace VEVENT to VTODO entries in an .ics file if it matches current date on another line (it was exported incorrectly):
BEGIN:VCALENDAR
BEGIN:VEVENT
DTSTART:20220340T140000
END:VEVENT
BEGIN:VEVENT
DTSTART:20230620T193700
END:VEVENT
BEGIN:VEVENT
DTSTART:20210210T193800
END:VEVENT
END:VCALENDAR
The second VEVENT entry has current time so it should become:
BEGIN:VTODO
DTSTART:20230620T193700
END:VTODO
There are more entries between BEGIN:VEVENT and END:VEVENT lines, I've redacted them for clarity. I've tried this with sed, but the ranges pick the first occurrence of VEVENT in the entire file, not first occurrence **after** (or before) the matched pattern, so it replaces all of them. sed -i "/BEGIN:VEVENT/,/DTSTART:$(date +%Y%m%dT%H%M)/{s/VEVENT/VTODO/}" org.ics I was trying to adapt it to another question here, which I thought was relevant: https://unix.stackexchange.com/questions/418946/find-a-string-and-replace-another-string-after-the-first-is-found sed -n "/DTSTART:$(date +%Y%m%dT%H%M)/,${/END:VEVENT/{x//{x b}g s/VEVENT/VTODO/}}" org.ics but it didn't work at all: sed: -e expression #1, char 25: unexpected ,'`
Daniel Krajnik (371 rep)
Jun 20, 2023, 06:50 PM • Last activity: Jun 21, 2023, 02:25 PM
0 votes
1 answers
69 views
Google is not authenticating a request from a third party Linux app. Why?
My Evolution version up to just prior to this writing had been 3.36.5. Since I'm using metered internet not all of the applications are updated all of the time. Consequently, I would have the following error, Access blocked: GNOME's Evolution request is invalid
My Evolution version up to just prior to this writing had been 3.36.5. Since I'm using metered internet not all of the applications are updated all of the time. Consequently, I would have the following error, Access blocked: GNOME's Evolution request is invalid
wmdfrnyc (1 rep)
Jun 14, 2023, 12:39 AM • Last activity: Jun 14, 2023, 02:15 AM
1 votes
1 answers
261 views
Show Non-US holidays in the KDE Digital Clock calendar view
I recently moved to a different country and want to see the national holidays in the KDE calendar that shows when you click the clock (the Digital Clock 3 in the taskbar). However, the KDE cal only shows US holidays and I cannot find a way in the config and on the web to change that. [![enter image...
I recently moved to a different country and want to see the national holidays in the KDE calendar that shows when you click the clock (the Digital Clock 3 in the taskbar). However, the KDE cal only shows US holidays and I cannot find a way in the config and on the web to change that. enter image description here
wp78de (198 rep)
Jun 1, 2023, 04:27 PM • Last activity: Jun 3, 2023, 02:33 AM
2 votes
1 answers
244 views
Calendaring daemon
I'm looking for a calendaring application that runs as a daemon, engages with the system eg starting applications or interacting with the desktop environment ( KDE ,Gnome ,E17, Lxde etc. ). I would like it to be able to sync with common calendaring applications probably via iCal but not being well v...
I'm looking for a calendaring application that runs as a daemon, engages with the system eg starting applications or interacting with the desktop environment ( KDE ,Gnome ,E17, Lxde etc. ). I would like it to be able to sync with common calendaring applications probably via iCal but not being well versed in calendaring I'm not certain.
HandyGandy (2239 rep)
Dec 9, 2011, 05:26 AM • Last activity: May 22, 2023, 05:57 PM
2 votes
1 answers
1623 views
Make calendar systemd timers run after boot if the machine was powered off
I'm using a Laptop with GNU/Linux and I would like certain jobs to run automatically on certain calendar events even if the machine was off. I understand I should use the `OnCalendar=` directive but how can I make sure that if the machine was off during that time, the corresponding service unit will...
I'm using a Laptop with GNU/Linux and I would like certain jobs to run automatically on certain calendar events even if the machine was off. I understand I should use the OnCalendar= directive but how can I make sure that if the machine was off during that time, the corresponding service unit will run after the next boot?
Doron Behar (773 rep)
Aug 10, 2019, 03:34 PM • Last activity: Mar 12, 2023, 04:42 PM
0 votes
0 answers
28 views
Can gcal automate highlighting days on|off for this "shift work" roster?
I've been reading the man page for gcal, and I'm unsure if I can do the following: Description: I would like to print a roster with the output like cal -y but highlight all days a person is rostered on. The Roster is a repeatable pattern of: 4 days on, 3 days off, then 5 days on, 4 days off. (This p...
I've been reading the man page for gcal, and I'm unsure if I can do the following: Description: I would like to print a roster with the output like cal -y but highlight all days a person is rostered on. The Roster is a repeatable pattern of: 4 days on, 3 days off, then 5 days on, 4 days off. (This pattern repeats over the whole year) start from date: [year,month,day] for the whole year: { highlight 4 days // Working skip 3 days // Days off highlight 5 days // Working skip 4 days // Days off } print output to screen as year calendar thanks for your time.
named (1 rep)
Mar 2, 2023, 09:33 AM • Last activity: Mar 2, 2023, 01:18 PM
3 votes
2 answers
1296 views
Evolution fails to connect to my Google calendar
I've configured 2-Step Verification with my Google accont (under https://myaccount.google.com/security). Emails with OAuth 2 seem to come through fine but I keep getting "Failed to connect calendar “my.mail@gmail.com : MyName” Data source “MyName” does not support OAuth 2.0 authentication and Failed...
I've configured 2-Step Verification with my Google accont (under https://myaccount.google.com/security) . Emails with OAuth 2 seem to come through fine but I keep getting "Failed to connect calendar “my.mail@gmail.com : MyName” Data source “MyName” does not support OAuth 2.0 authentication and Failed to connect address book “my.mail@gmail.com : Contacts” why is this and how can I fix that? I'm using Evolution 3.34.1
stdcerr (2099 rep)
Nov 16, 2019, 01:45 AM • Last activity: Nov 4, 2022, 09:16 AM
1 votes
1 answers
43 views
Can `cal` show other Gregorian adoptions?
On my host I can show the [adoption of the Gregorian calendar](https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar) as it occurred for [Great Britain and its colonies](https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar#Great_Britain_and_its_colonies) in 1752: $ cal septemb...
On my host I can show the [adoption of the Gregorian calendar](https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar) as it occurred for [Great Britain and its colonies](https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar#Great_Britain_and_its_colonies) in 1752: $ cal september 1752 September 1752 Su Mo Tu We Th Fr Sa 1 2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 The corresponding adoption for [Denmark and Norway](https://en.wikipedia.org/wiki/Adoption_of_the_Gregorian_calendar#Denmark_and_Norway) happened much earlier: > Sunday, 18 February 1700, was followed by Monday, 1 March 1700. I thought I could override the timezone environment variable to show this, but that doesn't work: $ TZ=DK february 1700 February 1700 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 How do I get cal to show Denmark's adoption of the Gregorian calendar? My cal is supplied by [bsdmainutils](https://salsa.debian.org/meskes/bsdmainutils) version 11.1.2.
therealneil (984 rep)
Oct 26, 2022, 02:41 PM • Last activity: Oct 26, 2022, 03:05 PM
29 votes
11 answers
21936 views
Displaying week's number in certain format using ncal or cal
Don't you just love it when two commands each do one thing you want but neither do both? This is what `cal` does. Nice formatting. Lacks week numbers though: $ cal January 2012 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 This is what `ncal...
Don't you just love it when two commands each do one thing you want but neither do both? This is what cal does. Nice formatting. Lacks week numbers though: $ cal January 2012 Su Mo Tu We Th Fr Sa 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 This is what ncal does. Weird formatting, but with week numbers: $ ncal -w January 2012 Su 1 8 15 22 29 Mo 2 9 16 23 30 Tu 3 10 17 24 31 We 4 11 18 25 Th 5 12 19 26 Fr 6 13 20 27 Sa 7 14 21 28 1 2 3 4 5 The kind of output I want, actually a crossbreed between cal and ncal -w: $ cal --magik-calendar-week-option January 2012 Su Mo Tu We Th Fr Sa 1 1 2 3 4 5 6 7 2 8 9 10 11 12 13 14 3 15 16 17 18 19 20 21 4 22 23 24 25 26 27 28 5 29 30 31
k0pernikus (16501 rep)
Jan 19, 2012, 09:53 AM • Last activity: Sep 19, 2022, 01:11 PM
14 votes
5 answers
74173 views
First and last day of a month
Given two numbers, month and year, how can I compute the first and the last day of that month ? My goal is to output these three lines: 1. month / year (month in textual form but that is trivial) 2. for each day of the month: name of the day of the week for the current day: Fri. & Sat. & Sun. [...]...
Given two numbers, month and year, how can I compute the first and the last day of that month ? My goal is to output these three lines: 1. month / year (month in textual form but that is trivial) 2. for each day of the month: name of the day of the week for the current day: Fri. & Sat. & Sun. [...] 3. day number within the month: 1 & 2 & 3 [...] & 28 & .. ? I'm looking for a solution using GNU date or BSD date (on OS X).
alecail (1663 rep)
Jul 17, 2012, 09:28 AM • Last activity: Sep 11, 2022, 05:36 AM
2 votes
2 answers
838 views
Calendar Highlight in UNIX
I have tried several but could not highlight multiple dates in year calendar ``` cal -y 2022 January February March Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa Su Mo Tu We Th Fr Sa 1 1 2 3 4 5 1 2 3 4 5 2 3 4 5 6 7 8 6 7 8 9 10 11 12 6 7 8 9 10 11 12 9 10 11 12 13 14 15 13 14 15 16 17 18 19 13 14 15 1...
I have tried several but could not highlight multiple dates in year calendar
cal -y
2022                               

       January               February                 March       
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
                   1          1  2  3  4  5          1  2  3  4  5   
 2  3  4  5  6  7  8    6  7  8  9 10 11 12    6  7  8  9 10 11 12   
 9 10 11 12 13 14 15   13 14 15 16 17 18 19   13 14 15 16 17 18 19   
16 17 18 19 20 21 22   20 21 22 23 24 25 26   20 21 22 23 24 25 26   
23 24 25 26 27 28 29   27 28                  27 28 29 30 31         
30 31                                                                
        April                   May                   June        
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
                1  2    1  2  3  4  5  6  7             1  2  3  4   
 3  4  5  6  7  8  9    8  9 10 11 12 13 14    5  6  7  8  9 10 11   
10 11 12 13 14 15 16   15 16 17 18 19 20 21   12 13 14 15 16 17 18   
17 18 19 20 21 22 23   22 23 24 25 26 27 28   19 20 21 22 23 24 25   
24 25 26 27 28 29 30   29 30 31               26 27 28 29 30         
                                                                     
        July                  August                September     
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
                1  2       1  2  3  4  5  6                1  2  3   
 3  4  5  6  7  8  9    7  8  9 10 11 12 13    4  5  6  7  8  9 10   
10 11 12 13 14 15 16   14 15 16 17 18 19 20   11 12 13 14 15 16 17   
17 18 19 20 21 22 23   21 22 23 24 25 26 27   18 19 20 21 22 23 24   
24 25 26 27 28 29 30   28 29 30 31            25 26 27 28 29 30      
31                                                                   
       October               November               December      
Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa   Su Mo Tu We Th Fr Sa
                   1          1  2  3  4  5                1  2  3   
 2  3  4  5  6  7  8    6  7  8  9 10 11 12    4  5  6  7  8  9 10   
 9 10 11 12 13 14 15   13 14 15 16 17 18 19   11 12 13 14 15 16 17   
16 17 18 19 20 21 22   20 21 22 23 24 25 26   18 19 20 21 22 23 24   
23 24 25 26 27 28 29   27 28 29 30            25 26 27 28 29 30 31   
30 31
I want to highlight multiple dates in the year calendar. Is it possible in UNIX?
user515514
Feb 22, 2022, 07:03 AM • Last activity: Aug 21, 2022, 12:17 AM
5 votes
2 answers
2142 views
How to make gnome-shell calendar open calendar app's event details when clicking onto calendar entry?
In gnome-shell's top bar, calendar items are shown. This is great. However, I miss the possibility to click onto an item and then see more details/or simply to be led to the specific event item in evolution or another preferred calendar application. The missing functionality is this: `click on calen...
In gnome-shell's top bar, calendar items are shown. This is great. However, I miss the possibility to click onto an item and then see more details/or simply to be led to the specific event item in evolution or another preferred calendar application. The missing functionality is this: click on calendar item@top bar --> open default calendar's details about this calendar item. Is it configurable, and if yes how, to make gnome-shell calendar open a specific calendar app when clicking onto a calendar item?
ingli (2029 rep)
Feb 25, 2018, 02:29 PM • Last activity: May 12, 2022, 10:02 PM
1 votes
0 answers
55 views
Are there any graphical / text-based user interface calendar programs which use the UNIX calendar utility format to store entries?
On some UNIX systems, there is a [calendar utility][1] which acts as a reminder service and which reads entries from files specified in tab-separated format, e.g.: 01/01\tNew Year's Day 01/02\tBank holiday in Scotland 01/25\tBurns' Night in Scotland 02/14\tSaint Valentine's Day 03/01\tSaint David's...
On some UNIX systems, there is a calendar utility which acts as a reminder service and which reads entries from files specified in tab-separated format, e.g.: 01/01\tNew Year's Day 01/02\tBank holiday in Scotland 01/25\tBurns' Night in Scotland 02/14\tSaint Valentine's Day 03/01\tSaint David's Day in Wales 03/17\tSaint Patrick's Day in Northern Ireland (also a bank holiday there) Are there any graphical or text-based user interface calendar programs which support this format?
user92403 (21 rep)
Apr 6, 2022, 10:15 AM • Last activity: Apr 6, 2022, 10:24 AM
0 votes
1 answers
542 views
Calcurse cant sync with Nextcloud
Hello I've recently setup a nextcloud instance with a calendar and wanted to sync my calcurse with it. This is my calcurse-caldav config(password, username and hostname obviously changed): ``` [General] Binary = calcurse Hostname = nextcloud.example.com/nextcloud Path = remote.php/dav/ AuthMethod =...
Hello I've recently setup a nextcloud instance with a calendar and wanted to sync my calcurse with it. This is my calcurse-caldav config(password, username and hostname obviously changed):
[General]
Binary = calcurse
Hostname = nextcloud.example.com/nextcloud
Path = remote.php/dav/
AuthMethod = basic
HTTPS = Yes 
DryRun = No  
Verbose = Yes

[Auth]
Username = BestUsername
Password = SuperSecretPassword
I get the following error though:
╰─$ calcurse-caldav --init keep-remote
Connecting to nextcloud.example.com/nextcloud...
Removing all local calcurse objects...
error: The server at nextcloud.example.com/nextcloud replied with HTTP status
error: code 415 (Unsupported Media Type) while trying to access
error: https://nextcloud.example.com/nextcloud/remote.php/dav/ .
I strongly suspect that there is something wrong with my config but I can't understand what as this config worked perfectly with Calibre.
Jocomol (101 rep)
Nov 27, 2021, 09:31 PM • Last activity: Nov 29, 2021, 07:32 PM
0 votes
1 answers
439 views
Displaying Calcurse Notes on the command line in non-interactive mode
[Calcurse](https://calcurse.org/files/manual.html) is a text-based calendar and scheduling application that is simple, light-weight, and highly effective. After a quick set up, I added my schedule (lectures and meetings) for a month (appointments, to-do, and notes) and wanted to create a bash-script...
[Calcurse](https://calcurse.org/files/manual.html) is a text-based calendar and scheduling application that is simple, light-weight, and highly effective. After a quick set up, I added my schedule (lectures and meetings) for a month (appointments, to-do, and notes) and wanted to create a bash-script that can read out the notes associated with each appointment (basically, the details of each lecture and some reference links) where a note file is a SHA1 hash of the note itself. I went through the documentation available [here](https://calcurse.org/files/manual.html) and tried the following on the shell : calcurse -a gave me all the appointments for the day calcurse -t gave me all the to-dos calcurse -at gave me all the appointments and todos for the day. However, as mentioned in the documentation the -N option should > print note content if one is associated with the displayed item When I run calcurse -aN, I do not get any output. I also tried the [Format-string](https://calcurse.org/files/manual.html#basics_format_strings) section but it *does not give me my notes associated with any appoinment*. Please let me know if I should provide additional details. Thank you in advance !
quics-ilver (1 rep)
Nov 6, 2020, 07:57 AM • Last activity: Nov 10, 2021, 03:17 AM
Showing page 1 of 20 total questions