LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This 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


Reply
  Search this Thread
Old 09-01-2007, 06:29 PM   #1
rn5a
Member
 
Registered: Aug 2007
Posts: 48

Rep: Reputation: 15
Question Where are the toys?


I am working on Mandriva. I downloaded a few toys which the software media manager installed but after installing, I donīt find them in KMenu (the menu which is the counterpart of the Windows Start menu).

I searched for them & found them & even added them to the KMenu using the KDE Menu Editor but they refuse to run (I added the files which have the gear icon). How do I run those toys?

Also the description of some of the toys says that they are meant for X Window System. What is this X Window System? When I navigate to Mandriva Control Centre-->System-->Choose the display manager that enables to select which user to log in, I find 2 options - KDM (KDE Display Manager) & XDM (X Display Manager). Does XDM mean the X Window System or are both KDM & XDM parts of the X Window System?

Thanks,

Ron
 
Old 09-01-2007, 06:58 PM   #2
Brian1
LQ Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 62
Not every app install may add themselves to the menu. It can all depend on the window maker or manager you are running. Many of them out there.

Now does the app run from the command line?

If so then when adding them to the kmenu are you entering the full path to the command?

Is it a gui app or a cli app only?

I would look at other menu item properties and see how they do them and use them as a reference.

Brian
 
Old 09-01-2007, 07:23 PM   #3
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Xwindows (which identifies itself as X) sits above the kernel and below KDE and is the basis of everything graphical on your mandriva system. In most Linux distros these days, X is implemented in the xorg packages.

Both KDM and XDM are display managers. They take care of user logins and maintain the information needed to build a display (you can have multiple displays on a system that uses X, including multiple displays on just one monitor). You can run KDE without either KDM or XDM, just by logging into a console and manually starting KDE. Display managers are not essential, they just make things a bit nicer.

If the toys (particularly something like glxgears) refuse to run, it may be because your system lacks the hardware necessary to run them (glxgears requires a video card with OpenGL support), or you could be using a driver that does not provide the necessary support (for instance, if you have an NVidia card with OpenGL support, Mandriva will by default install the nv video driver which is open source and not very good, rather than installing the proprietary NVidia driver which is much better).

More generally, if something refuses to run it means you are lacking something that is required. This typically is a library or package, and usually you will find out by invoking the program from a command line and watching what the resulting error messages are. In more difficult cases, you can find out using the strace program (man strace to learn about it) but you need to be pretty knowledgeable to sort out what it is telling you.
 
Old 09-01-2007, 08:31 PM   #4
rn5a
Member
 
Registered: Aug 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Thanks to both of you for your prompt responses & suggestions.

Brian, I had a look at the properties of other items in the menu & then added the toys. I had downloaded a game named LPairs which did not get listed in KMenu after installation. I searched for it & found it in the /usr/games directory. In the KMenu Editor, I added it as a new item & entered the entire path

/usr/games/lpairs

as the Command. When I opened it from KMenu, it ran as expected & I could play that game. Thatīs what I did to add the toys in KMenu & then run them from KMenu but I donīt know why they are refusing to run.

I also tried running the toys from the Konsole. For e.g. thereīs a toy named xpenguins in the /usr/bin directory. After logging in as the root (which I donīt think was necessary) in the Konsole, I navigated to the /usr/bin directory, typed xpenguins & pressed the Enter button but nothing happened after that. Neither did it start nor did it generate any error messages. The cursor just kept on blinking. When I pressed Ctrl+C, it just said

Interupt received: Exiting.............Done.

Once while restarting my PC, I could see xpenguins running (immediately after I clicked the Restart Computer button which gets invoked when I click Log Out... in KMenu) but that was the only time I could see it running; never after that!

Thereīs another toy named xcockroach in the same directory. After typing xcockroach & pressing the Enter button, the cursor shifted to the next line which showed

>

(just the greater than sign) & the cursor kept on blinking. When I pressed Ctrl+C, this is what the next 3 lines showed:

Press Ctrl-D to quit
> quit
Bye!


When I pressed Ctrl+D, the program exited. Thatīś it! Neither did it run nor did it generate any error messages.

Another toy named xfishtank runs for one second when I run it from the Konsole but immediately disappears after that.

How do I run the toys under such circumstances? Moreover none of the toys are accompanied with a help file or documentation.
 
Old 09-01-2007, 10:47 PM   #5
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
Actually, I downloaded xfishtank (mandriva package) and ran it. It ran.

Had some trouble getting it to display, though, because I am running beryl and it seems that the root window (in which xfishtank renders) is only visible in beryl if I set the cube to transparent. Once I turned off the background in the KDE control panel and set the cube transparency to complete transparency, I had the fish swimming around on my display.

I stopped it because it isn't nice about how it uses the CPU, and I don't see any reason to let my CPU run at 100% when it should be idling. This also has a substantial impact on the responsiveness of other applications running on the machine.

I will bet that when you start it, it is running. Try running this command:

pgrep xfishtank

If you get a process number back, it is running but you can't see it because something is preventing it from displaying.

In the KDE control panel there is a desktop option where you permit or deny programs to run in the root window. If you don't permit it to run in the root window, you won't see anything when it does run.
 
Old 09-02-2007, 02:11 PM   #6
rn5a
Member
 
Registered: Aug 2007
Posts: 48

Original Poster
Rep: Reputation: 15
I unearthed the reason why they were not running. Right-click on the desktop & then navigate to Configure Desktop-->Behavior & the Allow programs in desktop window checkbox was unchecked. When I checked it, the toys ran! But, as you said, they eat up quite a lot of RAM slowing down the machine considerably especially xfishtank.

Another question please - in WinXP, thereīs a utility called Task Manager which displays various system info like RAM, CPU currently being used, programs currently running etc. Even programs that arenīt responding can be stopped from the Task Manager. Is there anything similar to Task Manager in Mandriva?

The reason I am asking this is I couldnīt figure out a way to quit xfishtank. Finally I had to reboot my machine to quit xfishtank. If thereīs anything similar to Task Manager in Mandriva, then I can exit xfishtank without having to reboot.

Anyway, after seeing the RAM consumption, I will seldom run it!

Thanks,

Ron
 
Old 09-02-2007, 04:58 PM   #7
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
It is called KDE System Guard and you can access it via ctrl-alt-esc key combination.
 
Old 09-04-2007, 04:40 AM   #8
rn5a
Member
 
Registered: Aug 2007
Posts: 48

Original Poster
Rep: Reputation: 15
Jim, the Ctrl+Alt+Esc key combination doesnīt always invoke the System Guard. Why so? But the mouse pointer always changes to the danger (skull with two bones) cursor & clicking any app with that cursor terminates the app.

Thanks,

Regards,

Ron
 
Old 09-04-2007, 11:31 AM   #9
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 115Reputation: 115
IN that case, you need to look in the KDE control panel at the hotkeys that are defined to figure out which combo gets you kde system guard. Apparently that combo on your machine is getting you xkill. You can also invoke it from the command line: ksysguard is the name.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware toys issinho Slackware 11 02-23-2006 03:08 AM
A couple new toys for me Tux_Phoenix General 5 12-21-2005 03:49 AM
Hardware Toys Matir Linux - Hardware 12 09-15-2005 08:10 AM
SUSE 9.1 Toys? ZingSter SUSE / openSUSE 3 10-15-2004 08:44 AM
I want my toys efi360 Linux - Newbie 0 02-29-2004 03:53 PM


All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration