Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I recently installed the program Ksim (a system info program) using Adept. When I updated the applications menu using the menu editor, a link to the program didn't appear like it normally does after I install programs. I tried running the command "ksim" but that must not of been the actual name of the program because it could not run the specified command. I looked in /usr/bin but I could not find anything like it there. It is installed correctly in usr/share/apps. I reinstalled it, but it still isn't there. Help with this would be appreciated.
locate uses a pre-built database, it doesn't search the filesystem, so it doesn't matter what directory you are in, nor do you need to be root. In any case, it won't show anything unless the database has been updated since the app was installed, and it's pointless anyway since that's partly what package managers are for. I assume Adept is some sort of package manager, so use whatever facilities it has to list the package contents.
It's probably there, installed in a diffrent directory then you'd expect it. It doesn't run because only specific paths are set. Have you tried to run under root, or as a regular user?
I ran the locate command but what exactly am I looking for? There seems to be nothing about ksim in /usr/bin according to the search and Adept (which is a package manager). It is installed in /usr/share/apps.
I tried to install another program, CPUID, but that didn't appear on the menu either. I can run the command "cpuid" and it is valid (the executable is in /usr/bin), but when I run it nothing happens. Is there something I'm supposed to type after, like another command such as -r or something else?
Hmm, what kind of program is that? Maybe it's a text-based program, and you should run it in a shell (kconsole, xterm), and see the output. Also, maybe you have to run it as root.
You can put a link in the menu manually afterwards, if it's working. Because, opposed to windows, where every program puts itself in the start menu (and my old start menu used to be 2 rows long, top to bottom), Linux gives you a choice, and most programs don't place a link there.
Hmm... I tried to install another program, HWInfo, but I got the same result as CPUID. I created a link in the applications menu, but that did the same thing as trying to run it. When I went into Applications:/System in Konquorer and clicked on HWInfo, it gave me this message:
Service '/home/mattmodica/.local/share/applications/HWInfo.desktop' is malformatted.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.