Results 1 to 4 of 4

Thread: Removing start up programs in terminal

  1. #1
    Join Date
    Feb 2010
    Location
    Rochester, Minnesota, USA
    Beans
    159
    Distro
    Ubuntu 14.04 Trusty Tahr

    Removing start up programs in terminal

    I recently learned how to add start up programs in the terminal using the following command:

    Code:
    ln /usr/bin/whateverprogram ~/.kde/Autostart
    This worked, but now I want to remove some start up programs using the command line. Can someone point me in the right direction to what I need to do for this?

    I'm assuming that default start up programs are not links in the ~/.kde/Autostart folder because when I run:

    Code:
    ls -a ~/.kde/Autostart
    I only find the files that I have set to start up.

    Any help would be appreciated!
    There is a light that never goes out...over and over again.

  2. #2
    Join Date
    Feb 2007
    Beans
    4,045
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Removing start up programs in terminal

    In Gnome, the default startup programs are controlled by .desktop-files in /etc/xdg/autostart/

    To disable one, you copy it to ~/.config/autostart/, edit it in a regular text editor and change
    Code:
    X-GNOME-Autostart-enabled=true
    to
    Code:
    X-GNOME-Autostart-enabled=false
    Might be similar in KDE, but I don't have much experience with KDE.

  3. #3
    Join Date
    Oct 2006
    Location
    Herts, UK
    Beans
    262
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Removing start up programs in terminal

    Quote Originally Posted by kyletstrand View Post
    I'm assuming that default start up programs are not links in the ~/.kde/Autostart folder because when I run:

    Code:
    ls -a ~/.kde/Autostart
    I only find the files that I have set to start up.

    Any help would be appreciated!
    You have created hard links - so the ls command shows essentially a 'copy' of the file you linked into the Autostart directory. You may safely delete these and check that the original file in the original location still exists, but the link in the Autostart has been removed:

    http://en.wikipedia.org/wiki/Ln_(Unix)
    I used to have a handle on life, but it snapped off.
    Ubuntu user number # 12234

  4. #4
    Join Date
    Jun 2005
    Location
    Framingham, MA
    Beans
    190
    Distro
    Kubuntu Development Release

    Re: Removing start up programs in terminal

    What sort of programs are you trying to remove from starting up?

    Many services on your system are started before you log in by init. Some programs use .config/autostart, similar to .kde/Autostart. KDE also restores all your programs from the last session. Those are in .kde/share/config/session
    (Intel Core i7 860, 2x2GB, Gigabyte GA-P55-UD3L, Radeon HD 4550, Audigy2 ZS Platinum, Sonata) + Asus V6J + Lenovo IdeaPad U330
    YOU can make Kubuntu Lucid a solid distro | My Blog

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •