LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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-11-2008, 11:26 PM   #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-11-2008 at 11:28 PM.
 
Old 01-11-2008, 11:40 PM   #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-11-2008, 11:52 PM   #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 12:20 AM.
 
Old 01-12-2008, 03:52 AM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

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, 04: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, 05: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, 03: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-14-2008, 11:43 PM   #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



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 04:09 AM
Is there a list for games that runs with cedega ? Overview Linux - Games 5 11-01-2005 04: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 08:11 PM
Native Linux Games list slightcrazed Linux - Games 31 02-07-2005 05:58 PM
A list of ported games ? slamp Linux - Games 3 10-23-2003 01:17 PM

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

All times are GMT -5. The time now is 04:42 AM.

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