[Trisquel-users] Re : Need a daily reminder

2017-11-22 Thread lcerf
Using 'sleep 1m && gnome-terminal -e gedit' as the command in the "Startup Applications" does not work: 'sleep' executes for a minute but GEdit is not launched afterwards). Simply 'gedit' works. "Startup Applications" apparently has troubles with "&&". The fix I proposed (write everything

[Trisquel-users] Re : Need a daily reminder

2017-11-21 Thread lcerf
I have just successfully up-voted aloniv's post. Are you sure you can up-vote in other threads? If not, it must deal with your Web browser settings or with some add-on.

[Trisquel-users] Re : Need a daily reminder

2017-11-21 Thread lcerf
Hmmm... I do not know why that does not work. Weirdly enough, it works if you write 'sleep 1m && gedit todo.txt' in an executable file and choose that file as the "Command" in the "Startup Applications".

[Trisquel-users] Re : Need a daily reminder

2017-11-20 Thread lcerf
Right. The definition of the display variable can be before in the crontab so that there is no need to define it for each command.

[Trisquel-users] Re : Need a daily reminder

2017-11-20 Thread lcerf
To execute graphical application, such as GEdit, the DISPLAY variable must be specified in the crontab: DISPLAY=:0.0

[Trisquel-users] Re : Need a daily reminder

2017-11-19 Thread lcerf
You can "Add" to the "Startup Applications" (in the "System Settings") a "Command" that start with 'sleep 1h &&'. For example, if you want GEdit to show your TODO text file (I assume it is "todo.txt" in your home folder) one hour after you logged into the graphical session: sleep 1h &&