General way to autostart my application

Carl Friis-Hansen ubuntuuser at carl-fh.com
Wed Nov 19 10:46:11 UTC 2008


Roland Turcan wrote:
> Hello ubuntu-users at lists.ubuntu.com!
> 
> I need to use a common way for auto starting my application. I found
> out, that gnome and kde don't use the same way for registration an
> application for automatic start after user's login.

If you allow it to be with GUI, then in Gnome:
System / Preferences / Sessions

> gnome uses ~/.config/autostart/myapp.desktop
> 
> kde uses ~/.kde/autostart/myapp.desktop
> 
> but how to solve this with common solution for all environments,
> because to write information into all places is not the way I like.
> It must be, that standard user can do it for himself and not to
> require root's permissions.

If the configuration files you mention above work, then I cannot believe 
you would need root permission, unless the user in question is root, 
which is not exactly the default in Ubuntu.
-- 
       +---------------------------------+-------------------+
       | Carl Friis-Hansen               | Fiskeryd Nybygget |
       | http://computingconfidence.com/ | 341 91  Ljungby   |
       | Phone: +46 (0)372 15033         | Sweden            |
       +---------------------------------+-------------------+





More information about the ubuntu-users mailing list