Announcement

Collapse
No announcement yet.

Add a bookmark as an "application" in the Launcher menu

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

    Add a bookmark as an "application" in the Launcher menu

    I've just installed "Plex" to go with my Chromecast, and it insists on using Rekonq as the browser, even though Chromium is the system default. And it's in french (I live in France). I can change the language to English, but it doesn't stick - I have to do it every session.

    The work-around is to put the "local-host" address into Chromium - this solves both problems. Then I can save it as a bookmark.

    But, is it possible to add a new item in the Launcher Applications menu (say in Multimedia) that points to (and launches) this bookmark? An icon on the desktop would also do, if needs be.

    Cheers

    #2
    The menu editor is kmenuedit. You should be able to launch Chromium from the command line with a URL loaded;

    /usr/bin/chromium --new-window http://google.com

    or

    /usr/bin/chromium --new-tab-page-1 http://google.com

    Both should work. The first would open a new window while the second would open a new tab if chrome is already open. Obviously, you would put the URL to Plex in there and verify the path to the chromium binary is correct. Then pick an icon (or even better, make a new one!)

    Please Read Me

    Comment


      #3
      oshunluvr, you're a gem.

      That works perfectly, even down to opening in a new window.

      Thanks

      Comment


        #4
        Great! That was easy - a one poster!

        Please Read Me

        Comment


          #5
          Originally posted by oshunluvr View Post
          The menu editor is kmenuedit. You should be able to launch Chromium from the command line with a URL loaded;

          /usr/bin/chromium --new-window http://google.com

          or

          /usr/bin/chromium --new-tab-page-1 http://google.com
          I've always wondered - Is there a good guide on the web as to what switches one can use when launching an app? For example, most menu entries always have the path to the file being lunched, with a "%u" at the end...what is this? And what switches are valid? Does it vary by application, as a switch that would be shown in the application's man page? Curious...
          ​"Keep it between the ditches"
          K*Digest Blog
          K*Digest on Twitter

          Comment


            #6
            Originally posted by dequire View Post
            I've always wondered - Is there a good guide on the web as to what switches one can use when launching an app? For example, most menu entries always have the path to the file being lunched, with a "%u" at the end...what is this? And what switches are valid? Does it vary by application, as a switch that would be shown in the application's man page? Curious...
            To identify any KDE Application 'options', type applicationname --help in a console. Also, see Chapter 2. Adding a Menu Entry
            Windows no longer obstructs my view.
            Using Kubuntu Linux since March 23, 2007.
            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

            Comment


              #7
              For valid field codes in a .desktop exec entries, see the desktop entry spec:
              http://standards.freedesktop.org/des...t/ar01s06.html

              Edit: too slow

              Comment


                #8
                Originally posted by Snowhog View Post
                To identify any KDE Application 'options', type applicationname --help in a console. Also, see Chapter 2. Adding a Menu Entry
                Originally posted by kubicle View Post
                For valid field codes in a .desktop exec entries, see the desktop entry spec:
                http://standards.freedesktop.org/des...t/ar01s06.html

                Edit: too slow
                Thanks you two!
                ​"Keep it between the ditches"
                K*Digest Blog
                K*Digest on Twitter

                Comment

                Working...
                X