Results 1 to 7 of 7

Thread: 12.04 Unity: create link to a file to open it from the launchbar.

  1. #1
    Join Date
    Jan 2008
    Location
    Canada
    Beans
    393
    Distro
    Kubuntu 14.10 Utopic Unicorn

    Question 12.04 Unity: create link to a file to open it from the launchbar.

    Sorry if this has been asked before
    I searched thread titles with
    file
    shortcut
    symlink
    link
    with unity and came up with nothing

    I just want to open a file from the Unity launchbar.

    I wish it was as easy dragging a file to the launchbar.

    I have a pdf I open most every day. How do I open it with an icon on the launchbar?

    Anyone's help very appreciated.

  2. #2
    Join Date
    Jan 2008
    Location
    Canada
    Beans
    393
    Distro
    Kubuntu 14.10 Utopic Unicorn

    Re: 12.04 Unity: create link to a file to open it from the launchbar.

    ^

  3. #3
    Join Date
    Apr 2006
    Beans
    996
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 Unity: create link to a file to open it from the launchbar.

    No it is not as easy as dragging it to the launchbar.

    But you can have a manual, very complicated way.

    - First, install menulibre (sudo apt-get install menulibre)
    - Then use the menulibre program to create a launcher.

    The command should be like:

    evince /home/whateverusername/path/yourfile.pdf

    Then pick an icon . The "name" for the icon would be "application-pdf" (no quotes)
    Xye incredibly difficult puzzle game with minimal graphics. Also at playdeb
    Got a blog: Will Stay Free

  4. #4
    Join Date
    Jan 2008
    Location
    Canada
    Beans
    393
    Distro
    Kubuntu 14.10 Utopic Unicorn

    Re: 12.04 Unity: create link to a file to open it from the launchbar.

    Thanks! This looks like a cool menu editor.

    I've created the launcher in the menu editor (actually modified the Evince launcher)

    But how do I get it onto the Unity bar? Or anywhere else?

    also, what file formats are accepted for the icon?

  5. #5
    Join Date
    Apr 2006
    Beans
    996
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: 12.04 Unity: create link to a file to open it from the launchbar.

    The icon seems to admit svg or png. Maybe it admits more things, but those should cover all needs.

    Go to the dash (The menu that appears when you click the ubuntu icon). This is the moment in which you can drag and drop an app launcher to the side bar.
    Xye incredibly difficult puzzle game with minimal graphics. Also at playdeb
    Got a blog: Will Stay Free

  6. #6
    Join Date
    Oct 2009
    Location
    Arizona USA
    Beans
    251
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: 12.04 Unity: create link to a file to open it from the launchbar.

    When you start an app, the icon appears in the launcher. Right click it and select Lock to Launcher.

  7. #7
    Join Date
    Jan 2008
    Location
    Canada
    Beans
    393
    Distro
    Kubuntu 14.10 Utopic Unicorn

    Re: 12.04 Unity: create link to a file to open it from the launchbar.

    Oh wow
    This works great.

    When I opened dash, the menu editor got covered and I thought how can I drag? Then typed in the title I gave it and there it was. Dragged to unity bar

    It errored at first b/c there are spaces in the filename so I put the whole path in quotes.

    Now it works like a charm! Thanks vexorian

    and good tip PaulInBHC

Tags for this Thread

Bookmarks

Posting Permissions

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