Hide Cursor functions using startx or XINIT?
-
Hi all,
So I've been playing around with the standalone mgba emulator to try and compile that for RetroPie (https://github.com/mgba-emu/mgba/issues/1081 the answer is in here btw)
But I've run into a snag, when I boot the emulator with startx or xinit, the cursor appears and I can't get rid of it unless I move the mouse away. I've tried adding -- -no cursor but it doesn't seem to work. Am I using the function correctly? This is what I'm using in my emulators.cfg file.
mgba = "XINIT:/usr/local/bin/mgba-qt -f -l 0 %ROM% -nocursor"
-
@retropieuser555 Have you tried this?
mgba = "XINIT:/usr/local/bin/mgba-qt -f -l 0 %ROM% -- -nocursor"
(note the extra
--
to denote passing the command toxinit
and notmgba-qt
) -
@superfromnd Yeah I'll double check but I think when I tried with this it wouldn't boot. But I might've made a mistake and put the -- - no cursor outside the speech marks
-
@superfromnd So I tried this but the rom doesn't load, it boots to the emulator itself and I have to select the rom from the emulator GUI. It loaded the rom before without -- - nocursor. I also tried putting the %ROM% at the end but that didn't work either.
Any ideas?
-
@retropieuser555 said in Hide Cursor functions using startx or XINIT?:
@superfromnd So I tried this but the rom doesn't load, it boots to the emulator itself and I have to select the rom from the emulator GUI. It loaded the rom before without -- - nocursor. I also tried putting the %ROM% at the end but that didn't work either.
Any ideas?
Maybe not the answer you where after, but try installing unclutter and setting a timeout of 1s.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.