Page 1 of 1

apparent starter malfunction

Posted: 29. Jan 2023, 19:15
by galmei
Hello,

At the risk of embarrassing myself here. But I have no idea.
No file timestamp.txt appears.
What do I have to do to make the following work in the starter?

Code: Select all

date >>/home/galmei/Desktop/timestamp.txt

Re: apparent starter malfunction

Posted: 30. Jan 2023, 12:08
by gapan
I'm not sure what you mean "in the starter". When the PC boots, when you log into xfce perhaps, when you open a terminal, starting an app from the menu, or creating an application starter that will do just that?

Re: apparent starter malfunction

Posted: 30. Jan 2023, 15:40
by galmei
Hello gapan,

Sorry about the language inaccuracy.

I mean an XFCE desktop starter that is located on the desktop area.

Re: apparent starter malfunction

Posted: 30. Jan 2023, 16:05
by gapan
OK, so create a script with that command:

Code: Select all

#!/bin/sh
date >>/home/galmei/Desktop/timestamp.txt
put it somewhere, anywhere, make it executable:

Code: Select all

chmod +x ~/myscript.sh
right click on the desktop to make a new launcher, point it to your script and you're done.