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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
01-12-2008, 12:26 AM
|
#1
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Rep:
|
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.
|
|
|
01-12-2008, 12:40 AM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Using the info you posted, the right command would be /usr/local/games/btanks-0.7.5/bt.
|
|
|
01-12-2008, 12:52 AM
|
#3
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Original Poster
Rep:
|
Thanks reddazz for the response.
Quote:
Originally Posted by reddazz
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.
|
|
|
01-12-2008, 04:52 AM
|
#4
|
LQ 5k Club
Registered: May 2003
Location: London, UK
Distribution: Fedora40
Posts: 6,153
|
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?
|
|
|
01-12-2008, 05:34 AM
|
#5
|
Member
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Rep:
|
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
|
|
|
01-12-2008, 06:31 PM
|
#6
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Original Poster
Rep:
|
Quote:
Originally Posted by tredegar
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.
|
|
|
01-13-2008, 04:04 AM
|
#7
|
Member
Registered: Feb 2006
Distribution: Fedora
Posts: 341
Rep:
|
Quote:
Originally Posted by okos
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.
|
|
|
01-15-2008, 12:43 AM
|
#8
|
Member
Registered: May 2007
Location: California
Distribution: Slackware/Ubuntu
Posts: 609
Original Poster
Rep:
|
Quote:
Originally Posted by arungoodboy
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
|
|
|
All times are GMT -5. The time now is 10:31 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|