anyone know, how to:
automate all user actions in KDE4 -
for example -
I want my laptop perform following actions:
8.30am start firefox, go to a torrent site, download a torrent named “bbc news current date”,
5.30pm start downloaded “bbc news” video
is it possible to automate such actions with a “script” or any other way ?
Starting things on specific times is the task of cron and every user (when not forbidden by the system manager) can have a crontab to use it. See:
man 1 crontab
man 5 crontab
In the crontab there must be a command to be executed. As sson as that what must be executed is a bit more then one command line it is of course better to make a script and let that script be executed with the command in the crontab.
Take care. the desktop itself has no relation to this crontab, The crontab wil execute if that user is loged in or not. Thus maybe a check if the user is loged in is needed in the script. Also from the script it is not by default allowe to open windows in any desktop session that may be open at the time.
EDIT: BTW things like downloading a predetermined file can of course be done by a command line tool (wget or other) and thus in a script and thus by cron. No need for a GUI there.
BTW in KDE there is System Settings > Advanced > Task planner (or similar wording, I have a dutch translation here). It is a GUI to configure your crontab. Maybe easier for you then* crontab -e*.