panzi / qjoypad

fork of qjoypad http://qjoypad.sourceforge.net/
GNU General Public License v2.0
120 stars 25 forks source link

Failed to find a layout named [NO LAYOUT]. #30

Open Volker-Weissmann opened 4 years ago

Volker-Weissmann commented 4 years ago

I installed qjoypad on my Ubuntu 19.04 machine, with the commands:

sudo apt install libqt5x11extras5-dev libudev-dev libxtst-dev
git clone https://github.com/panzi/qjoypad
mkdir qjoypad/build
cd qjoypad/build
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
make -j`nproc`
sudo make install

If I execute "/usr/bin/qjoypad ", the following window pops up: Screenshot from 2019-11-09 16-22-38

aselus-hub commented 4 years ago

:+1: having the exact same problem in 19.10

OlivierFRDierick commented 1 year ago

Hello,

Issue still present with qjoypad 4.3, from Debian 12 repository.

I run 'qjoypad "MyGame" &' before running my game to use the profile for that game, and 'qjoypad "[NO LAYOUT]" &' when I'm done, to set the default profile back. Of course, all that is in a script, as I have many games and I want to automate all that preliminary stuff.

When I run the script from a gnome-terminal, I get the reported error dialog, but if I run the script from a .desktop menu entry, I don't get it. I wonder if that's linked to the presence of an interactive terminal (.desktop commands run in a non-interactive terminal).

Anyway, this workaround works for me: Create an empty file named "[NO LAYOUT].lyt" in "~/.qjoypad3". This will show [NO LAYOUT] twice in the tray icon list, but at least the error dialog doesn't show in any case.

Regards.