apparent starter malfunction

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
galmei
Posts: 166
Joined: 1. Jun 2018, 21:54

apparent starter malfunction

Post 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
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: apparent starter malfunction

Post 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?
Image
Image
galmei
Posts: 166
Joined: 1. Jun 2018, 21:54

Re: apparent starter malfunction

Post by galmei »

Hello gapan,

Sorry about the language inaccuracy.

I mean an XFCE desktop starter that is located on the desktop area.
User avatar
gapan
Salix Wizard
Posts: 6238
Joined: 6. Jun 2009, 17:40

Re: apparent starter malfunction

Post 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.
Image
Image
Post Reply