Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Korganizer auto start

  1. #1

    Default Korganizer auto start

    I am really liking this app and it has me on a mission to get my tasks better organized.

    So, is there a way to auto start it whenever I boot up ?

    I looked all over for Autoexec.bat and surprise, surprise, I could not find it.
    Just kidding of course and thanks
    openSUSE 13.2

  2. #2

    Default Re: Korganizer auto start

    I think I might have figured it out.
    Create a txt file (oops that might not work) in
    ~/.kde4/Autostart which holds this:
    /usr/bin/korganizer



    Not sure if a txt file will execute nor if the /usr/bin/korganizer is correct format for execute. Maybe I need a run or su or something else on it. Well, I will see.
    Hey, Linux is funnnnn.
    openSUSE 13.2

  3. #3
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,733
    Blog Entries
    20

    Default Re: Korganizer auto start

    Right click it in the tray and select to startup
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  4. #4

    Default AW: Re: Korganizer auto start

    Quote Originally Posted by hextejas View Post
    I think I might have figured it out.
    Create a txt file (oops that might not work) in
    ~/.kde4/Autostart which holds this:
    /usr/bin/korganizer



    Not sure if a txt file will execute nor if the /usr/bin/korganizer is correct format for execute. Maybe I need a run or su or something else on it. Well, I will see.
    Hey, Linux is funnnnn.
    Nothing like this is necessary.
    KDE automatically restarts all programs that were running when you logout/shutdown/reboot.

    So just leave KOrganizer running and it should get started on the next login.

  5. #5

    Default Re: Korganizer auto start

    You guys make this too darn easy.
    openSUSE 13.2

  6. #6
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: Korganizer auto start

    FYI if you put a file in ~/.kde4/autostart folder it should be a script and permissions set to execute. A script is a text file that start with the line

    #!/bin/bash


    followed with bash script code you want to run

    Much like a bat file but much much better

  7. #7

    Default Re: Korganizer auto start

    Yee Gods, but this can be scary !
    And I take back what I said about it being fun.

    Let me tell you what happened and how I fixed it.
    Gogal, I think you hold the key about how I made that file.
    Anyway I had the simple one line of /usr/bin/korganizer
    in a file in Autostart and that thing caused all kinds of weird stuff to happen after I rebooted.
    1st was that Kate (my Python editor) was auto invoked ( I think openSuse or something knew that the file in Autostart was hosed and wanted me to fix it.

    Since I had no clue what to do, the system hung up, everything except the mouse movement stopped. I had to power off a few times to start it again.
    When I say a few times is because rebooting into "safe" mode, threw me into an endless loop of displaying the lizard, show some bootup statements, show the lizard, etc,,,endlessly.
    What I finally had to do was to boot off of a USB, delete that stupid, 1 statement file, and reboot.
    And TADA, here I am.

    I dare any of you to include that file in your Autostart folder.
    WOW !!! How could that little thing cause such grief.

    Anyway, I am back in business but a bit leery.

    My reputation is preserved. If it can be broken, I will break it.
    openSUSE 13.2

  8. #8

    Default Re: Korganizer auto start

    Quote Originally Posted by hextejas View Post
    YI dare any of you to include that file in your Autostart folder.
    WOW !!! How could that little thing cause such grief.
    Did you make the file executable? Could you post the exact content?

    But as I said, it should be enough to just have KOrganizer (or any other program) running on logout for it to be restarted on login.

    And if you already used KOrganizer you should get the "KOrganizer Reminder Client" started on login. Just click on that icon (normally hidden, so click on the green up-arrow) in the system tray to open KOrganizer.

  9. #9
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,748

    Default Re: Korganizer auto start

    I can do the same damage with one line in autoexec.bat LOL

    Well let see why. if you did not put the bash header line in then the system sees an executable file but does not what kind so trys to run but it does not know how to interpret the file. Or at least an error is thrown and KDE stops maybe in an infinite loop or just hung

  10. #10

    Default Re: Korganizer auto start

    Quote Originally Posted by gogalthorp View Post
    Well let see why. if you did not put the bash header line in then the system sees an executable file but does not what kind so trys to run but it does not know how to interpret the file. Or at least an error is thrown and KDE stops maybe in an infinite loop or just hung
    The bash header line doesn't matter in this case, but the file has to have the executable bit set ("chmod +x").
    Otherwise KDE treats it as simple text file, which of course should be opened with a text editor (Kate).

    And since Kate doesn't return to the calling process until it is closed, the login process hangs at this point then. (for KOrganizer this is no problem because it forks itself to the background)

Page 1 of 2 12 LastLast

Posting Permissions

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