Feeds:
Posts
Comments

Posts Tagged ‘autostart’

Semiautostart

I always had the problem that I couldn’t decide if I should use autostart to start things like kmail and kopete. On the one hand I don’t want to start 10 apps manually at 7am but on the other hand I really hate that everything autostarts in other situations like restarting KDE because of debugging my X11 config.

So finally I found a good solution (which is also desktop environment independent):

#!/bin/bash
if kdialog --yesno "Autostart?"
then
  echo "Autostarting"
  kmail
  akregator --hide-mainwindow
  kopete
  basket --start-hidden
  gmpc&
  skype&
fi

I start this script with the normal autostart routine of KDE, an now I’ve got a simple popup asking me if this particular time I want to autostart. Super nice.

Advertisements

Read Full Post »