Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Other Community Discussions > Gaming & Leisure
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Gaming & Leisure
A section for users who strive to play the latest games on linux.

 
Thread Tools Display Modes
Old March 21st, 2006   #1
trent dillman
100% Pure Ubuntu
 
Join Date: Mar 2006
My beans are hidden!
qjoypad installation on breezy

After ripping my hair out trying to install qjoypad, I finally succeeded, so I figured I would share how I did it.

First, I downloaded the .rpm from http://qjoypad.sourceforge.net/

NOTE: the .deb doesn't work, because it suffers from the wretched libqt3-mt dependency hell. The source wouldn't compile for me, first throwing qmake errors and then (after a simple symlink) complaining about a type declaration in layout.h.

Then, I converted it with alien:

fakeroot alien qjoypad-3.4-1.i586.rpm

I installed using dpkg:

sudo dpkg -i qjoypad_3.4-2_i386.deb

I then linked the icons so they actually worked:

cd /usr/local/share/pixmaps/qjoypad/
sudo ln -s gamepad2-24x24.png icon24.png
sudo ln -s gamepad2-64x64.png icon64.png

NOTE: try `eog /usr/local/share/pixmaps/qjoypad/ &` first if you want a choice of icons!

Finally, I hope someone fixes this stupid libqt3-mt dependency crap.

Regards,
td
trent dillman is offline  
Old April 10th, 2006   #2
CornMaster
5 Cups of Ubuntu
 
Join Date: Nov 2005
Location: St. John's, NL
Beans: 37
Ubuntu 7.04 Feisty Fawn
Send a message via MSN to CornMaster
Re: qjoypad installation on breezy

I'd like to add a note that you have to disconnect and reconnect your device before it will be recognized.

Also...if you get lazy and skip the icon part....you won't realize it is running in the taskbar.
CornMaster is offline  
Old April 17th, 2006   #3
chammi
5 Cups of Ubuntu
 
Join Date: Nov 2005
Beans: 19
Question Re: qjoypad installation on breezy

After some digging around in synaptic ("Conflicts With:libqt3c102-mt, Replaces:libqt3c102-mt") I, too figured out that the deb package doesn't work.

But looking over your walk-thru, I was wondering why you use fakeroot instead of sudo or su? I'm pretty new to Linux, so I know there's a good reason. I just don't understand it yet.
chammi is offline  
Old April 17th, 2006   #4
trent dillman
100% Pure Ubuntu
 
Join Date: Mar 2006
My beans are hidden!
Re: qjoypad installation on breezy

Eh, just so the resulting .deb isn't owned by root.
trent dillman is offline  
Old April 26th, 2006   #5
zi99y
A Carafe of Ubuntu
 
Join Date: Nov 2005
Location: london
Beans: 134
Ubuntu 9.10 Karmic Koala
Send a message via MSN to zi99y
Re: qjoypad installation on breezy

Trent, thank you so very much for this, I have struggled in the past to get the deb or the source working - the deb tended to work but give you horrid dependency errors every time you use apt-get.

I never have meddled with the alien command, maybe in future I will experiment.

Thanks again, really happy to have this working - with tray icons too.
zi99y is offline  
Old May 3rd, 2006   #6
trent dillman
100% Pure Ubuntu
 
Join Date: Mar 2006
My beans are hidden!
Re: qjoypad installation on breezy

This method also works on Dapper, with the following amendment: you cannot as a user go into /usr/local/share/pixmaps/qjoypad, so the icon fix is as follows:

Code:
sudo chmod 755 -R /usr/local/share/pixmaps
cd /usr/local/share/pixmaps/qjoypad/
sudo ln -s gamepad2-24x24.png icon24.png
sudo ln -s gamepad2-64x64.png icon64.png

Last edited by trent dillman; May 3rd, 2006 at 12:28 AM..
trent dillman is offline  
Old June 4th, 2006   #7
crazygerad
5 Cups of Ubuntu
 
Join Date: Sep 2005
Beans: 14
Re: qjoypad installation on breezy

I am having problems, I first used the joypad and joystick calibration programs and it reads the buttons. I did a cat of the dev and it reads the buttons. I followed your instructions and I get this error when using Qjoypad:
Code:
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
  Major opcode:  145
  Minor opcode:  3
  Resource id:  0x0
Failed to open device
I am using a Saitek P880 Dual Analog Controller. Any help is aprecciated.
crazygerad is offline  
Old June 17th, 2006   #8
chrism66
A Carafe of Ubuntu
 
chrism66's Avatar
 
Join Date: Jun 2006
Beans: 110
Ubuntu 7.10 Gutsy Gibbon
Smile Re: qjoypad installation on breezy

Ok, I am a toatal 'Newbie' I can not follow the first instructions. i.e it just doesn't work on 6.06. Are there other commands to get it to work?
chrism66 is offline  
Old June 17th, 2006   #9
chrism66
A Carafe of Ubuntu
 
chrism66's Avatar
 
Join Date: Jun 2006
Beans: 110
Ubuntu 7.10 Gutsy Gibbon
Smile Re: qjoypad installation on breezy

Ok, da' 'Newbie' figured it out!! i had to install the Alien package and it worked like a dream!! I am so HAPPY now I have joystick support for Quake IV. Life is so great!!!! Thanks all for your previous postings to get me up and running!!

By the way crazygerad, I am getting the same message when I open Qjoypad. Howver it is working just fine.

Chris

Last edited by chrism66; June 17th, 2006 at 12:04 PM..
chrism66 is offline  
Old December 2nd, 2006   #10
dk5151
5 Cups of Ubuntu
 
Join Date: Jul 2006
Beans: 40
Re: qjoypad installation on breezy

The program doesn't run automatically for me, when I run it from the terminal it works fine but as soon as I close the terminal qjoystick also closes. I tried adding it to my startup programs also, but then it doesn't start in my tray. Any ideas?
dk5151 is offline  

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 09:01 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry