[SOLVED] Got another issue -- program starts from command line but not from application menu
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Got another issue -- program starts from command line but not from application menu
If anyone saw my previous topic, this started happening after I resolved all of those issues. qBittorrent launches OK from the command line but the application launcher in the menu no longer works, it does nothing.
I'm not sure where to begin troubleshooting this. All I could do was try to reinstall it, but no joy there.
How do you launch it from the command line... like ./this from the program directory, or is it in your binary path? (/usr/bin, /usr/local/bin). If you have installed it to a user directory you would have to add it to your PATH environment variable to be able to launch it from an application launcher.
There are various ways to do it ~/.bash_profile or ~/.bashrc ... I just add things like that to /etc/profile so it's global but that wouldn't be appropriate to add something in your home directory there. For example, I put the results of my Chromium builds in /opt/chromium and I want it to launch from panel launchers and friends. So I need /opt/chromium added to my path:
# Set the default system $PATH:
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games:/opt/chromium"
If you use another method, make sure you don't override that PATH variable... include it in any PATH variables.
export PATH=$PATH:/additional/directory/here
If not that, view properties of your application launcher and see if anything is amiss (working directory for example)
I'm sorry but I am not aware of your previous thread and I don't know what you already know.
Last edited by TheRealGrogan; 09-14-2015 at 01:36 PM.
In that case, it might not be getting the correct PATH variable from the environment. (or overriding it)
See gdm.conf (/etc/gdm.conf or /etc/gdm/gdm.conf or perhaps /usr/local/etc if you didn't set --sysconfdir when compiling it)
DefaultPath=
You might also try creating a ~/.bashrc file and adding the path there.
It's got to be something to do with the environment for it to work in a terminal (that would get the variables from shell configuration files) vs. application launchers.
Last edited by TheRealGrogan; 09-14-2015 at 02:36 PM.
It says it couldn't find libtorrent-rasterbar shared library.
The question now becomes: how did you install qbittorrent and its dependency libtorrent-rasterbar?
Did you compile from sources, did you use the SlackBuilds.org scripts or did you use my packages?
The question now becomes: how did you install qbittorrent and its dependency libtorrent-rasterbar?
Did you compile from sources, did you use the SlackBuilds.org scripts or did you use my packages?
I was using the slackbuilds scripts originally. I tried removing qbittorrent and installing your package, which didn't fix it. I didn't even consider installing your libtorrent-rasterbar package until now, and that did fix it, so thank you sir!
I just wish I knew what caused it to break suddenly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.