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 01-12-2008, 12:26 AM   #1
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Rep: Reputation: 38
Question How do I add ./bt to the KDE> Games>Arcade list?


Hi
I have a game called btanks. Great game for the kids!
To run the game I first have to open a konsole and change directories, cd /usr/local/games/btanks-0.7.5
Then I have to type ./bt to run the game.

For my kids, who are rather young, that is difficult to do. So... I wanted to add it to the KDE>Games>Arcade list.

When I edit KDE, I can't seem to put in the right command to get it to start up. How would I do that?

okos

PS if any of you are interested in the game it is at:
http://btanks.sourceforge.net/blog/

Last edited by okos; 01-12-2008 at 12:28 AM.
 
Old 01-12-2008, 12:40 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Using the info you posted, the right command would be /usr/local/games/btanks-0.7.5/bt.
 
Old 01-12-2008, 12:52 AM   #3
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Thanks reddazz for the response.

Quote:
Originally Posted by reddazz View Post
Using the info you posted, the right command would be /usr/local/games/btanks-0.7.5/bt.
I tried that, but when I click on the game through kde, it acts like it is going to load but then nothing happens.

I don't know all of the usage when editing KDE. I tried to run in terminal still nothing. I am not sure what command to add.

Last edited by okos; 01-12-2008 at 01:20 AM.
 
Old 01-12-2008, 04:52 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Try this in a konsole:
Code:
cd ~
/usr/local/games/btanks-0.7.5/bt
Does it run? If not , try this:
Code:
cd /usr/local/games/btanks-0.7.5
/usr/local/games/btanks-0.7.5/bt
Does it run this time?
 
Old 01-12-2008, 05:34 AM   #5
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
Try what tredegar says. If the first way doesn't work but the second does, then you'll need to put /usr/local/games/btanks-0.7.5 under the ''Work Path'' option in your menu entry.
I'm getting the game now too
 
Old 01-12-2008, 06:31 PM   #6
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by tredegar View Post
Does it run? If not , try this:
Code:
cd /usr/local/games/btanks-0.7.5
/usr/local/games/btanks-0.7.5/bt
Does it run this time?
The second one works.

The first one gets the following error:
error while loading shared libraries: libmrt.so: cannot open shared object file: No such file or directory

Hey guys I got it to work!

I edited the kde
I entered in the command:
/usr/local/games/btanks-0.7.500/bt

and in the working dir
/usr/local/games/btanks-0.7.500

I saved and ran it through kde.

Thanks a bunch

I am not sure what the problem is with libmrt.so

arungoodboy, if you have any problem getting it to compile just let me know. The instructions are very sketchy.
 
Old 01-13-2008, 04:04 AM   #7
indeliblestamp
Member
 
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Blog Entries: 3

Rep: Reputation: 40
Quote:
Originally Posted by okos View Post
arungoodboy, if you have any problem getting it to compile just let me know. The instructions are very sketchy.
Phew you weren't kidding! It was quite a mess getting that darn thing working. I had to install scons, libsigc++, lua, and a couple others, and I still couldn't get it to build.
Finally I just got the deb packages and used the excellent src2pkg tool to get the tgz's for my OS. Runs perfect now.
 
Old 01-15-2008, 12:43 AM   #8
okos
Member
 
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by arungoodboy View Post
Phew you weren't kidding! It was quite a mess getting that darn thing working. I had to install scons, libsigc++, lua,
I got scons, libsig, and lua prepackaged at linux packages.
I always check there first
 
  


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
KDE 3.5 - add what to sources.list? PlainDave Debian 7 01-12-2007 05:09 AM
Is there a list for games that runs with cedega ? Overview Linux - Games 5 11-01-2005 05:37 AM
i want to add a new option to right-click menu list of a file in KDE kulkedar Linux - General 2 04-03-2005 09:11 PM
Native Linux Games list slightcrazed Linux - Games 31 02-07-2005 06:58 PM
A list of ported games ? slamp Linux - Games 3 10-23-2003 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:31 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
Open Source Consulting | Domain Registration