Thread: Linux: starting a prog autamatically w/KDE

  1. #1
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190

    Linux: starting a prog autamatically w/KDE

    Hei foks,

    I'm just wondering: how can I make a prog (say superkaramba) start autamatically after KDE is loaded? Is there any file I have to edit to do that?

    thnx
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well you could add it to the tools menu, but it wouldn't start automatically

    Or create a simple shell script which does
    Code:
    kdevelop &
    superkaramba &
    At a push, you could just edit /usr/bin/kdevelop, but that's liable to loss when you upgrade
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190
    wait a sec, what does kdevelop has to do with this? is /usr/bin/kdevelop executed each time KDE boots?

    my question was how do i make superkaramba (or any other app) start, say, right after the kicker? so i don't have to load it manually each time (i've already made a script which loads all the themes i want)

    is there any file which contains the commands executed on KDE startup? (if so i can edit it and add a line to it which will execute my script)
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    Well yeah, I just typed kdevelop at the command line, and there was KDE all up and running
    So I figured if you just did that in a script along with your other chosen apps, then all would be well.

    But if you want authoritative information, why don't you ask on the forum on the KDE homepage where you're sure to find the highest concentration of expert KDE users.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User MathFan's Avatar
    Join Date
    Apr 2002
    Posts
    190

    Thumbs up

    ok, thnx, i'll try that
    The OS requirements were Windows Vista Ultimate or better, so we used Linux.

  6. #6
    Registered User linuxdude's Avatar
    Join Date
    Mar 2003
    Location
    Louisiana
    Posts
    926
    You know the command when you type startx. It reads a file ~/.xinitrc just add it in there with the ambersand(&) after it. Here is mine
    Code:
    xmodmap ~/.xmodmaprc
    gkrellm2 &
    fluxbox
    The xmodmaprc is for my windows key to work for shortcuts in fluxbox

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Which distribution of Linux should I get?
    By joshdick in forum A Brief History of Cprogramming.com
    Replies: 50
    Last Post: 01-19-2003, 09:26 AM
  2. Linux for Windows!
    By Strut in forum Linux Programming
    Replies: 2
    Last Post: 12-25-2002, 11:36 AM
  3. Linux? Windows Xp?
    By VooDoo in forum Linux Programming
    Replies: 15
    Last Post: 07-31-2002, 08:18 AM
  4. Linux Under Windows
    By Strut in forum Linux Programming
    Replies: 3
    Last Post: 05-27-2002, 08:09 PM
  5. linux vs linux?
    By Dreamerv3 in forum Linux Programming
    Replies: 5
    Last Post: 01-22-2002, 09:39 AM