Announcement

Collapse
No announcement yet.

Autostart Quicklaunch

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Autostart Quicklaunch

    What is the correct method of auto-starting a quicklaunch application?

    I have Quicklaunch configured in Desktop 4 to launch Yahoo Mail.

    I note that there is a command line in Quicklaunch, and I thought that I might be able to paste this command into Autostart, but it appears not.

    Advice please.
    kubuntu version: 16.04.5 LTS

    Laptop: Toshiba-Satellite-L350

    #2
    What is the correct method of auto-starting a quicklaunch application?
    What quicklaunch application ?


    Do you mean the Quicklaunch plasma widget ?



    The Quicklaunch is part of the plasma desktop and it is restored / started when the plasma desktop is started.
    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

    Comment


      #3
      That's right, Quicklaunch (the one with the rocket)
      kubuntu version: 16.04.5 LTS

      Laptop: Toshiba-Satellite-L350

      Comment


        #4
        What is the problem ?

        i.e.

        What you expected to happen ?
        What actually happened ?
        A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
        Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

        Comment


          #5
          I have a quicklaunch icon in desktop 4 that will start Yahoo Mail.

          I would like to start this application using Autostart, but can't see how to use this utility for this purpose. It(Autostart) seems to require a link to a programme, or a script. Perhaps I could drop the icon in! or use the command line within the icon in Autostart(somehow)

          What do I expect to happen? - I expect yahoo Mail to start automatically in desktop 4 on start up.
          kubuntu version: 16.04.5 LTS

          Laptop: Toshiba-Satellite-L350

          Comment


            #6
            Originally posted by anonprivate View Post
            What do I expect to happen? - I expect yahoo Mail to start automatically in desktop 4 on start up.
            You do not need quick launch widget for this at least from what I know anyway.

            Session Management should do this automatically, I guess yahoo mail is a web page so if you just leave your browser open on desktop 4 with yahoo mail and you logout then back in it will still be there just like you left it. Check out the Session Management tab in system settings.

            Also, you can create an activity with just the browser/yahoo and have it open all the time too.
            Last edited by anika200; Sep 11, 2014, 09:04 AM.

            Comment


              #7
              Autostart & Session Management

              About KDE session management: https://userbase.kde.org/System_Sett...p_and_Shutdown

              KDE autostart handbook (online): http://docs.kde.org/stable/en/kde-wo...rol/autostart/


              Cutting corners aka 1-2-3

              I have a quicklaunch icon in desktop 4 that will start Yahoo Mail.

              I would like to start this application using Autostart,...

              1) The Quicklaunch widget is saving the created/edited desktop /1/ files to the ~/.local/share/applications/.

              2) The KDE is launching everything (or trying to launch) from the Autostart directory.

              3) Launch .desktop files from command line?: https://forum.kde.org/viewtopic.php?t=37981

              Copying (drag&drop) the wanted desktop file from the ~/.local/share/applications/ to the ~/.kde/Autostart/



              Marking the desktop file as executable.



              ... and here the KDE is launching the wanted application at start.


              More

              1. http://standards.freedesktop.org/des...y-spec/latest/
              A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
              Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

              Comment


                #8
                I have managed to start Yahoo Mail in Desktop 4 automatically by using Autostart (home - .kde - Autostart).

                I am having difficulty in starting a webpage in Desktop 1 (I have named this Portal) automatically. I enclose the code below

                [Desktop Entry]
                Comment[en_GB]=
                Comment=
                Exec=kstart --Portal firefox -new-window http://www.ighome.com &
                GenericName[en_GB]=
                GenericName=
                Icon=exec
                MimeType=
                Name[en_GB]=Portal
                Name=Portal
                Path=
                StartupNotify=true
                Terminal=false
                TerminalOptions=
                Type=Application
                X-DBUS-ServiceName=
                X-DBUS-StartupType=
                X-KDE-SubstituteUID=false
                X-KDE-Username=

                Can you tell me what is wrong here?

                Thanks

                Ps. I did see a message box saying something to the effect that I needed to close a browser (can't remember the exact message)
                Last edited by anonprivate; Sep 11, 2014, 09:57 AM.
                kubuntu version: 16.04.5 LTS

                Laptop: Toshiba-Satellite-L350

                Comment


                  #9
                  Originally posted by anonprivate View Post
                  Exec=kstart --Portal firefox -new-window http://www.ighome.com &
                  You probably meant to run:
                  Exec=kstart --desktop 1 firefox -new-window http://www.ighome.com &

                  Comment


                    #10
                    I am having difficulty in starting a webpage in Desktop 1 (I have named this Portal)
                    ...
                    Exec=kstart --Portal firefox -new-window http://www.ighome.com &
                    ...
                    What if you use the numbers ? - as the kstart help is telling:
                    Code:
                    :~$ kstart --help
                    ...
                     --desktop <number>        Desktop on which to make the window appear
                    'kubicle' was faster
                    Last edited by Rog132; Sep 11, 2014, 11:02 AM. Reason: Slow
                    A good place to start: Topic: Top 20 Kubuntu FAQs & Answers
                    Searching FAQ's: Google Search 'FAQ from Kubuntuforums'

                    Comment


                      #11
                      Originally posted by Rog132 View Post
                      'kubicle' was faster
                      Yay, must be the first time ever.

                      Comment


                        #12
                        I made the adjustment, but there is still a problem.

                        After booting I get messages.

                        1. Error - Lancelot process died.

                        Lancelot is not installed, but is in the set of widgets.

                        2. Close Firefox. FF is already running, but not responding. Close existing FF.

                        I end up with Yahoo Mail starting in desktop 1, should be in desktop 4

                        ighome.com does not start.

                        Note. Before I attempted to start ighome automatically, things worked well - Yahoo Mail started in desktop 4.

                        Ps. I noticed on booting that the icons in the lower pane were loading at the same time, and wonder if this caused the problem.

                        I might need to remove the autostart for ighome.

                        Advice, please
                        kubuntu version: 16.04.5 LTS

                        Laptop: Toshiba-Satellite-L350

                        Comment


                          #13
                          Originally posted by anonprivate View Post
                          1. Error - Lancelot process died.

                          Lancelot is not installed, but is in the set of widgets.
                          Do you have "plasma-widget-lancelot" package installed?

                          Originally posted by anonprivate View Post
                          2. Close Firefox. FF is already running, but not responding. Close existing FF.

                          I end up with Yahoo Mail starting in desktop 1, should be in desktop 4

                          ighome.com does not start.
                          This is probably a race condition, trying to open two firefox instances simultaneously.
                          You can test this by adding a "timeout" for the other firefox instance in the .desktop file in the Autostart directory, for example:
                          Exec=sleep 10 && kstart --desktop 1 firefox -new-window http://www.ighome.com &
                          (this will wait for ten seconds before starting firefox)

                          Comment


                            #14
                            I have the widget in the 'Add Widgets' tray (bottom of screen)

                            At one time, I moved it to the desktop and tried it out, but thought it too complex and deleted it from the desktop, but it is still in the tray.

                            I'll try your timeout suggestion (what does && signify).

                            When I next re-boot, I'll let you know the result.

                            Best wishes
                            kubuntu version: 16.04.5 LTS

                            Laptop: Toshiba-Satellite-L350

                            Comment


                              #15
                              && runs one command after another (maby runes is not the right word,,,,links 2 ?) with the condition that the first one completes if the second one is to run.

                              VINNY
                              i7 4core HT 8MB L3 2.9GHz
                              16GB RAM
                              Nvidia GTX 860M 4GB RAM 1152 cuda cores

                              Comment

                              Working...
                              X