You are not logged in.

#1 2017-09-06 19:40:04

ab90
Member
Registered: 2017-09-06
Posts: 195

Gamepad - antimicro/ alternative

Is it possible to install antimicro? Or is there a more direct way to configure a gamepad as controller?


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#2 2017-09-06 19:45:35

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

Does this help:

https://wiki.debian.org/Gamepad

EDIT: no, not much big_smile

This link looks better:

https://wiki.archlinux.org/index.php/Gamepad

Last edited by Head_on_a_Stick (2017-09-06 19:50:13)

Offline

#3 2017-09-06 19:51:10

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

Is it possible to install antimicro?

They have some .debs available for Debian, apparently:

http://packages.libregeek.org/debian/po … antimicro/

I probably should have posted that first  big_smile

Offline

#4 2017-09-07 12:24:25

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

Thanks for the packages.
Next step is for me to manage an autostart behaviour of this software.
Was easy in Ubuntu/elementary but i guess ill need some help here...

EDIT: the software is actually not executable

antimicro
bash: /usr/bin/antimicro: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei

Last edited by ab90 (2017-09-07 12:27:19)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#5 2017-09-07 16:44:17

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

the software is actually not executable

That's strange because the executable contained within the .deb package runs just fine in my Arch system:

Screenshotfrom2017-09-0717-41-09.th.png

My German is pretty rusty so can we please see the full output of:

LC_ALL=C /usr/bin/antimicro

Offline

#6 2017-09-07 18:51:23

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

LC_ALL=C /usr/bin/antimicro
bash: /usr/bin/antimicro: Kann die Binärdatei nicht ausführen: Fehler im Format der Programmdatei

it says: cant execute the binary file: error in format of application file

this is the .desktop file created in the /usr/shared/applications folder:

[Desktop Entry]
Name=AntiMicro
Comment=Use a gamepad to control a variety of programs
Name[sr]=Анти-микро
Comment[sr]=Користите џојстик или играћу тастатуру за управљање различитим програмима
Name[fr]=AntiMicro
Comment[fr]=Utilisez une manette de jeu pour commander un logiciel
Name[de]=AntiMicro
Comment[de]=Nutze das Gamepad um Programme/Spiele zu steuern
Comment[uk]=Використовуйте ігровий маніпулятор для керування програмами
Exec=antimicro
Icon=antimicro
StartupNotify=true
Terminal=false
Type=Application
Categories=Qt;Utility;
MimeType=application/x-amgp;
Keywords=game;controller;keyboard;joystick;mouse;

Last edited by ab90 (2017-09-07 18:53:04)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#7 2017-09-07 19:23:06

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

Download a new .deb and try again, yours must have been corrupted somehow.

I've just installed the .deb in my BunsenLabs Helium-dev system and it all seems to work (although I have no gamepads to test the program does start normally).

Offline

#8 2017-09-07 19:31:01

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

Wait a minute...

Is yours a 32-bit system?

uname -a

There are .debs for 64-bit ("amd64") but you may need the mixed .ded ("all") instead.

Offline

#9 2017-09-07 20:15:00

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

its i686 aka 32bit

EDIT: BTW, i chose the first 2.2 from last year deb-all;
and installed it via package manager that poped up and made me finish an installation

Last edited by ab90 (2017-09-07 20:17:30)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#10 2017-09-07 20:36:52

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

Can we see

LC_ALL=C file /usr/bin/antimicro

Offline

#11 2017-09-07 21:20:34

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

LC_ALL=C file /usr/bin/antimicro
/usr/bin/antimicro: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=167331e7dea6d8296455ec36a7e780e388390983, not stripped

it is 64 bit... can i properly remove this program and find the 32 bit version?


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#12 2017-09-08 06:04:53

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

can i properly remove this program

Yes, run this command:

sudo apt purge antimicro

and find the 32 bit version?

Not sure about that tbh, you did try the .all .deb, right?

You could try compiling it from source:

http://packages.libregeek.org/debian/po … rig.tar.gz

Extract the tarball with `tar xf antimicro*.tar.gz` and follow the intructions in the README file:

## Building under Linux

In order to build this program, open a terminal and cd into the antimicro
directory. Enter the following commands in order to build the program:

    cd antimicro
    mkdir build && cd build
    cmake ..
    make
    sudo make install

EDIT: `sudo apt install build-essential` will install the stuff you need to compile programs from source.

EDIT2: it is safest to remove the compilation packages afterwards as they present a security risk.

Last edited by Head_on_a_Stick (2017-09-08 06:07:27)

Offline

#13 2017-09-09 12:47:45

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

Yes, the 2.22 all.deb.

So iam going to keep the installation and start to compile the script with help of the software you posted in EDIT1.


About EDIT2, what exactly should i remove? (for later)

Last edited by ab90 (2017-09-09 12:50:08)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#14 2017-09-09 12:56:42

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

Don't know how to cd it. I'am only aware of the

/usr/share/applications/antimicro

and

/usr/share/antimicro 

last one has a file called translation...


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#15 2017-09-09 17:32:47

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

About EDIT2, what exactly should i remove? (for later)

The build-essential metapackage and all of it's dependencies.

This might do the job:

sudo apt purge build-essential && sudo apt-get autoremove

If not, then try:

apt-cache depends build-essential | awk '/Depends on/{print "sudo apt-get remove "$NF}'

https://askubuntu.com/questions/166803/ … -a-package

This is a bugbear with metapackages, the convenience they grant for installation is matched by the inconvenience of their removal...  roll

The `apt-cache depends` command will list the dependencies if you prefer to remove them manually.

EDIT: removed superfluous grep from askubuntu command string.

Last edited by Head_on_a_Stick (2017-09-09 17:40:06)

Offline

#16 2017-09-09 17:37:24

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

Don't know how to cd it.

The antimicro folder is contained within the downloaded tarball and can be found in whichever directory your shell was running when the `tar xf` command was issued, probably $HOME.

To disambiguate:

mkdir -p ~/antimicro && cd ~/antimicro
wget http://packages.libregeek.org/debian/pool/main/a/antimicro/antimicro_2.23+git.orig.tar.gz
tar xf antimicro*.tar.gz
cd antimicro
mkdir build && cd build
cmake ..
make
sudo make install

You should really build a .deb package from this rather than using `sudo make install`, as per http://forums.debian.net/viewtopic.php?t=38976

I can recommend this guide:

https://www.debian.org/doc/manuals/maint-guide/

Last edited by Head_on_a_Stick (2017-09-09 17:37:55)

Offline

#17 2017-09-09 18:15:09

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

do you think there is a more convinient way to make my gamepad configured for usage on bunsenlabs at startup?
need to remote my pc with it for studying, maybe i have some more time after my exams for that^^


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#18 2017-09-09 18:25:00

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

do you think there is a more convinient way to make my gamepad configured for usage on bunsenlabs at startup?

Install a 64-bit system instead and use the amd64 .deb, if your hardware supports it.

The vast majority of hardware is now 64-bit, are you sure you can't use that?

maybe i have some more time after my exams for that^^

It took me not much longer to type out those commands (and hence for you to run them yourself) than it did for you to type out that reply...  big_smile

Making a .deb from source is optional but correct, IMO.

Last edited by Head_on_a_Stick (2017-09-09 18:26:09)

Offline

#19 2017-09-09 19:17:19

ab90
Member
Registered: 2017-09-06
Posts: 195

Re: Gamepad - antimicro/ alternative

..but you are aware you made me wget a different .deb now?!...

EDIT: ddnt find the antimicro with cd again:

ab90@ab90:~/antimicro$ tar xf antimicro*.tar.gz
ab90@ab90:~/antimicro$ cd antimicro
bash: cd: antimicro: Datei oder Verzeichnis nicht gefunden
ab90@ab90:~/antimicro$ 

Last edited by ab90 (2017-09-09 19:18:54)


"Be humble, be cool, dance techno-style to heavy metal music."

Offline

#20 2017-09-09 19:30:15

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,093
Website

Re: Gamepad - antimicro/ alternative

ab90 wrote:

..but you are aware you made me wget a different .deb now?!...

That's not a .deb, it's a source tarball  wink

ddnt find the antimicro with cd again

Tab-completion is your friend — try typing in tar xf antimicro then press the <Tab> key to get the shell to complete the filename, it will only do this if the file is present.

Did you try using the `ls` command to check of the tarball had been downloaded correctly?

We also have a graphical file manager that can be used to unpack the tarball so that you can access the antimicro folder that is contained within.

Finally, German command output tells me *nothing* so please remember to prepend all commands with LC_ALL=C (this makes the command "speak" English) if you are posting the output here.

Offline

Board footer

Powered by FluxBB