Quote:
You can try to get launcher to "show" via second SSH window where you launch command:
# echo 'show' > /run/remux.api
|
Another step forward!
Running remux-0201, issuing
echo 'show' > /run/remux.api in the second ssh window launches the menu! Menu items that refer to programs that would work when launched from cli (such as input_demo, rpncalc) can then be launched from the menu.
After running
echo 'show' > /run/remux.api the menu shows and the window running remux says:
NEW THREAD EXC Unknown error 759165664
NEW THREAD EXC Unknown error 768111328
NEW THREAD EXC Unknown error 776913632
NEW THREAD EXC Unknown error 785732320
NEW THREAD EXC Unknown error 794272480
NEW THREAD EXC Unknown error 803054304
NEW THREAD EXC Unknown error 812266208
NEW THREAD EXC Unknown error 821236448
NEW THREAD EXC Unknown error 830251744
NEW THREAD EXC Unknown error 839172832
NEW THREAD EXC Unknown error 848065248
NEW THREAD EXC Unknown error 856732384
NEW THREAD EXC Unknown error 865923808
NEW THREAD EXC Unknown error 874996448
NEW THREAD EXC Unknown error 884101856
NEW THREAD EXC Unknown error 892920544
NEW THREAD EXC Unknown error 901657312
NEW THREAD EXC Unknown error 910340832
NEW THREAD EXC Unknown error 919360224
NEW THREAD EXC Unknown error 928658144
NEW THREAD EXC Unknown error 937951968
NEW THREAD EXC Unknown error 946873056
NEW THREAD EXC Unknown error 955974368
HANDLING API LINE show
NEW THREAD EXC Unknown error 965087968
CURRENT APP IS Nickel
current app took 0.0133834
SENDING 19 TO GROUP -736 RET 0
SENDING 19 TO GROUP -614 RET 0
stopping apps took 0.0222954
SNAPSHOTTING Nickel
COMP TOOK 0.220952 TOTAL SIZE 3572 KBYTES, 228656 ELEMENTS
No such file or directory
No such file or directory
No such file or directory
memory stats took 0.0319325
DISPLAYED LAUNCHER FOR 4232 MS
LAUNCHING APP input_demo input_demo
POWER MANAGEMENT: 1
RESETTING MT GESTURES
CHECKING PROCESS input_demo 0
COULDNT OPEN machine id FILE 2
[FBInk] Detected a Kobo Aura One (373 => Daylight @ Mark 6)
[FBInk] Clock tick frequency appears to be 100 Hz
[FBInk] Screen density set to 300 dpi
[FBInk] Variable fb info: 1404x1872, 32bpp @ rotation: 3 (Counter Clockwise, 270°)
[FBInk] Fixed fb info: ID is "mxc_epdc_fb", length of fb mem: 10813440 bytes & line length: 5632 bytes
[FBInk] Canonical rotation: 0 (Upright, 0°)
[FBInk] Fontsize set to 32x32 (IBM base glyph size: 8x8)
[FBInk] Line length: 43 cols, Page size: 58 rows
[FBInk] Vertical fit isn't perfect, shifting rows down by 8 pixels
[FBInk] Pen colors set to #000000 for the foreground and #FFFFFF for the background
W: 1404 H: 1872 S: 1408
*** UNRECOGNIZED KOBO DEVICE, TOUCH MAY NOT WORK ***
OPENING /dev/input/event0 AS BUTTONS
OPENING /dev/input/event1 AS TOUCH
OPENING /dev/input/event2 : UNKNOWN EVENT DEVICE
RENDERING input_demo
DECOMP TOOK 0.0162585
OPENING /dev/input/event3 : UNKNOWN EVENT DEVICE
ERROR OPENING INPUT DEVICE /dev/input/event4
Quote:
Let's add a second way to get the launcher to show in remux-0202:
# echo 'show2' > /run/remux.api
|
This method works too. However, it appears that when using this method touch input is sent to both the menu, the program that was started from the menyu, and Nickel below it. With the original method to launch the menu touch input is sent only to the menu and app launched from it.
It appears to me that this is because method2 doesn't stop the currently running app.
The lines from method1
SENDING 19 TO GROUP -736 RET 0
SENDING 19 TO GROUP -614 RET 0
stopping apps took 0.0222954
don't appear with method2. Instead, with method2 only this line appears:
SENDING 18 TO GROUP -2725 RET 0
Sometimes, regardless of the method used to spawn the menu, there will be a long (or even endless) loop of
NEW THREAD EXC Resource temporarily unavailable
put out to the window running remux. I haven't been able to find a pattern or cause yet.
Also the screen isn't always (re)drawn completely. E.g. when launching the menu or one of the menu items, only part of the screen is redrawn. Input elements do work at that time even when invisible, and if input actions give reason to redraw (part of) the screen, the program is displayed (more) completely.
I added the
echo 'show' > /run/remux.api command as an entry to NickelMenu too. That way to spawn the menu works too.