Announcement

Collapse
No announcement yet.

Autostart Howto - (Knetstats as an example)

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Autostart Howto - (Knetstats as an example)

    I searched the web looking for a simple way to get knetstats, a network monitoring tool, to start in the system tray at startup. I got nothing for my efforts. What I did find was a command for another program that works for any app that is located in /usr/bin/xxxxx, so here goes...

    In a terminal type the following to start app at KDE startup (knetstats as an example)
    ln -s /usr/bin/knetstats ~/.kde/Autostart/knetstats
    To remove, type in a terminal
    rm ~/.kde/Autostart/knetstats
    I know, pretty basic stuff, but it may help a newbie.

    #2
    Re: Autostart Howto - (Knetstats as an example)

    Just a few words of explanation. KDE gives every user a directory under /home/YOURUSERNAME/.kde (which is abbreviated as ~/.kde/) called Autostart. Any executable program in that directory will be run when KDE comes up. Rodneyck is establishing a link in that directory to the program knetstats which is found in /usr/bin/. He is using a "soft" link (the -s in the command line setting up the link) just in case /usr is on a different file system than /home.

    This trick will also work for programs residing in directories other than /usr/bin. You just have to know where they are.

    Comment

    Working...
    X