Results 1 to 4 of 4

Thread: Not any launcher can be pinned to icons-only taskbar

  1. #1

    Default Not any launcher can be pinned to icons-only taskbar

    Hello!

    I'm running up-to-dated tumbleweed with KDE environment.
    Sometimes I need aplications which not available in the repo. And usually I (it's abstract sequence)
    Code:
    cd ~/Downloads
    wget example.com/app-arch.tar
    tar -xf app-arch.tar ./app/
    mv app ~/.app
    So I have `~/.app/bin/smth-app` executable.

    I want to run this executable with additional options, so I go to KDE Menu Editor (right click on main menu -> Edit applications) and create new menu item there, specifying `/home/user/.app/bin/smth-app -opt1 --option-2` as command. It's appears in main menu, I can add it to favorites, when I click on it, options are applying, all goes fine.

    Problem is that I cannot pin it to my icons-only taskbar: in main menu item's (just created one) context menu this action avaiable but has no effect. Same with taskbar item, which normally appears, when I launch it from main menu, but option "pin on taskbar" has no effect.

    What should I try? Maybe I should show some logs or configs?

    P.S. Before post it, I've tried this as another user, and faced same problems.

  2. #2
    Join Date
    Mar 2015
    Location
    Viçosa, Brasil
    Posts
    263

    Default Re: Not any launcher can be pinned to icons-only taskbar

    Quote Originally Posted by Storm_50 View Post
    Hello!

    I'm running up-to-dated tumbleweed with KDE environment.
    Sometimes I need aplications which not available in the repo. And usually I (it's abstract sequence)
    Code:
    cd ~/Downloads
    wget example.com/app-arch.tar
    tar -xf app-arch.tar ./app/
    mv app ~/.app
    So I have `~/.app/bin/smth-app` executable.

    I want to run this executable with additional options, so I go to KDE Menu Editor (right click on main menu -> Edit applications) and create new menu item there, specifying `/home/user/.app/bin/smth-app -opt1 --option-2` as command. It's appears in main menu, I can add it to favorites, when I click on it, options are applying, all goes fine.

    Problem is that I cannot pin it to my icons-only taskbar: in main menu item's (just created one) context menu this action avaiable but has no effect. Same with taskbar item, which normally appears, when I launch it from main menu, but option "pin on taskbar" has no effect.

    What should I try? Maybe I should show some logs or configs?

    P.S. Before post it, I've tried this as another user, and faced same problems.
    Try to crate a icon with .desktop extension in usr/share/applications
    --
    Biostatistics and Data Science
    https://bio-data.github.io/

  3. #3

    Default Re: Not any launcher can be pinned to icons-only taskbar

    Quote Originally Posted by viniciusbrbio View Post
    Try to crate a icon with .desktop extension in usr/share/applications
    Thank you. I've made it at two machines: desktop at work and personal laptop (both with Tumbleweed). It seems works now, but I wonder what exact action was necessary.
    If someone faced with similar problem I recommend first create .desktop for running your app without additional options, then pin it to taskbar and last — add execution options you need.
    I still have uncomfortable feeling like you did something but you don't know how…

  4. #4
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,644
    Blog Entries
    14

    Default Re: Not any launcher can be pinned to icons-only taskbar

    The .desktop file should be in ~/.local/share/applications, since it's owned by the user ( app is also in the user's homedir ).
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Tags for this Thread

Posting Permissions

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