PDA

View Full Version : How to start a app in KDE from a script?



dwieberd
12-30-2006, 05:33 AM
OK. I've searched the postings and haven't been able to find a solution.

I've created a script to start tbird and fill in all fields of an email so all I have to do is press "send".
It works when I execute it manually, but where do I put the script to have it execute automatically after boot-up?

Can anybody help?

marhleet
12-30-2006, 07:32 AM
you wanna send an email after starting KDE every time ?

anyhoo, i found out how to start my BOINC
/home/username/.kde/Autostart
stick a script in that spot

my file
/home/username/.kde/Autostart/start-boinc
is

#!/bin/bash
cd /home/username/BOINC
./run_manager &

dwieberd
12-30-2006, 01:51 PM
yeah. i realize it sounds kind of strange. the deal is i'm trying to put together a bullet-proof system for my father who lives two states away. one of the goals is to be able to easily do vnc sessions with him to help administer his system. in the past it has literally taken 45 minutes to get his ip address from him on his windows system. this way i can get it emailed to me every time he boots (assuming i can get the ip address in the email somehow).

anyway. your suggestion worked! thanks for the quick response.

part of the problem was i wasn't seeing the hidden files/directories (like .kde).

marhleet
12-30-2006, 11:01 PM
set up a www.no-ip.com for him
this will update in the systray of windows or it can be run in linux too
then noip knows where he is and you can just
vnc-ssh mydad.noip.org

dwieberd
01-03-2007, 06:38 PM
Thanks again. I appreciate the info.