Results 1 to 4 of 4

Thread: KDE/konsole autostart

  1. Back To Top    #1
    Contributing Member
    Join Date
    May 2006
    Posts
    92
    Threads
    36
    Local Date
    Jan 12th 2018
    Local Time
    08:11 AM

    KDE/konsole autostart

    When I save a session in KDE, sometimes when I return, the changes I have made show up when I start up, sometime not. It would be nice to know under what conditions, the KDE
    environment get saved, but that is not really my question. For example, for some of my konsole terminal windows, KDE comes up in the working directory in which I was last working (this
    I like), and in other konsoles the terminal windows always start up in my home directory (I don't care for this too much).

    My question is, where can I find documentation on the KDE startup script(s)? In particular, I would like to have better control of how konsole start up in KDE.

    Thanks for any advise.

    Jim A

  2. Back To Top    #2
    Veteran Member rms's Avatar
    Join Date
    Jan 2012
    Posts
    412
    Threads
    24
    Local Date
    Jan 12th 2018
    Local Time
    08:11 AM
    Quote Originally Posted by jjanderson5 View Post
    My question is, where can I find documentation on the KDE startup script(s)? In particular, I would like to have better control of how konsole start up in KDE.

    Thanks for any advise.

    Jim A
    Hi,

    Have you tried with

    Code:
    konsole --help
    in konsole?
    Ok, got it: Ashes come from burning.

  3. Back To Top    #3
    Contributing Member
    Join Date
    May 2006
    Posts
    92
    Threads
    36
    Local Date
    Jan 12th 2018
    Local Time
    08:11 AM
    Quote Originally Posted by rms View Post
    Hi,

    Have you tried with

    Code:
    konsole --help
    in konsole?
    Thank you. That helps some. I had tried looking a number of different ways, but I had not tried that. That sheds some light on what I'm trying to do, but I will still need more documentation. I think with what shows up with 'konsole --help', 'konsole --help-kde', and with some experimentation, I will be able to start a konsole window from a command line and have it come up as I desire.

    The next step will be to figure out how to put that command into a KDE startup script so that when I log on to my PC, kde starts up with konsole, configured as I want them, on the KDE desktop(s).

    Jim

  4. Back To Top    #4
    Veteran Member rms's Avatar
    Join Date
    Jan 2012
    Posts
    412
    Threads
    24
    Local Date
    Jan 12th 2018
    Local Time
    08:11 AM
    Quote Originally Posted by jjanderson5 View Post

    The next step will be to figure out how to put that command into a KDE startup script so that when I log on to my PC, kde starts up with konsole, configured as I want them, on the KDE desktop(s).

    Jim
    Well, you jot down a bash script with your favourite editor, something like

    Code:
    #! /bin/bash
    
    konsole --workdir path to some directory goes here
    save it into some directory of your choice, make it executable, then run System Settings and go to System Startup and Shutdown, than pick Autostart and than click on Add Script and there you pick your script. Than Log Off - Login and you'll have the konsole(s) running where you want it. I'm using Kubuntu in my native language so the names might be slightly different in English but you'll manage to find your way...

    But if it is only one instance that you need to open you can edit konsole's profile and set default path to directory of your choice.

    EDIT: If you could use some help with scripting as well then here's a useful link link: http://linuxconfig.org/Bash_scripting_Tutorial
    Last edited by rms; Feb 8th 2012 at 06:56 PM.
    Ok, got it: Ashes come from burning.

Similar Threads

  1. How to add Guarddog to Autostart?
    By Chopstick in forum Software Support
    Replies: 4
    Last Post: Aug 6th 2009, 10:23 PM
  2. autostart
    By computador in forum Software Support
    Replies: 1
    Last Post: Jun 4th 2008, 07:24 AM
  3. KDM won't autostart
    By callMeTom in forum KDE Support
    Replies: 1
    Last Post: Feb 10th 2008, 02:20 AM
  4. Not to 'autostart'
    By mistrynitesh in forum Software Support
    Replies: 7
    Last Post: Sep 16th 2007, 01:31 AM
  5. Help with autostart please
    By adrianoftyriel in forum Installation and Boot
    Replies: 1
    Last Post: Jun 19th 2007, 04:35 PM

Posting Permissions

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