View Single Post
Old 09-08-2020, 11:14 AM   #298
Mercador
I'm not a number!
Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.Mercador can tame squirrels without the assistance of a chair or a whip.
 
Posts: 244
Karma: 11496
Join Date: Jul 2011
Location: Quebec City
Device: Kobo Elipsa
Quote:
Originally Posted by NiLuJe View Post
@Mercador:

We don't have a crystal ball. Show us *exactly* what you're trying to do.

Fair warning: if you're using an old version of UMR, you won't be able to launch it outside of vlasovsoft (without much extra hoop-jumping, that is).

Current versions (i.e., check GitHub Releases, not the MR post), on the other hand, should behave. Emphasis on *should*: I've never tried either version myself.
Yeah, sorry, here's the breakdown.

1) I installed Nickelmenu
2) I installed Ultimate Manga Reader
3) I created a menu list (code below)
--> At this point, I was wondering what was wrong
4) After, I installed KFmon (it added menu items by itself -- because of the generator? - it seems to read the files into folder \.adds\kfmon\config )

Now, Ultimate Reader launch (I got an KFMon overlay message saying it launch the .sh. Plato and KOReader got an error -- PID XXXX existed unexpectedly) but that I supposed it's because they aren't installed yet.

Menu code right now
Code:
#menu_item :main    :Show an Error      :dbg_error          :This is an error message!
#menu_item :main    :Do Nothing         :cmd_spawn          :sleep 60
menu_item :main    :Dump Syslog        :cmd_spawn          :logread > /mnt/onboard/.adds/syslog.log
menu_item :main    :Kernel Version     :cmd_output         :500:uname -a
menu_item :main    :Sketch Pad         :nickel_extras      :sketch_pad
menu_item :main    :Plato              :kfmon              :plato.png
generator :main    :kfmon
menu_item :reader  :Invert Screen      :nickel_setting     :toggle :invert
menu_item :reader  :Invert Orientation :nickel_orientation :invert
menu_item :main    :IP Address         :cmd_output         :500:/sbin/ifconfig | /usr/bin/awk '/inet addr/{print substr($2,6)}'
menu_item :main    :Telnet             :cmd_spawn          :quiet:/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; }
  chain_success                        :cmd_spawn          :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1023" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1023 /usr/sbin/telnetd -i -l /bin/login
  chain_success                        :dbg_toast          :Started Telnet server on port 1023.
menu_item :main    :FTP                :cmd_spawn          :quiet:/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 1021" || true && exec /usr/bin/tcpsvd -E 0.0.0.0 1021 /usr/sbin/ftpd -w -t 30 /mnt/onboard
  chain_success                        :dbg_toast          :Started FTP server for KOBOeReader partition on port 1021.
menu_item :main    :Telnet (toggle)    :cmd_output         :500:quiet :/usr/bin/pkill -f "^/usr/bin/tcpsvd -E 0.0.0.0 2023"
  chain_success:skip:5
    chain_failure                      :cmd_spawn          :quiet :/bin/mount -t devpts | /bin/grep -q /dev/pts || { /bin/mkdir -p /dev/pts && /bin/mount -t devpts devpts /dev/pts; }
    chain_success                      :cmd_spawn          :quiet :exec /usr/bin/tcpsvd -E 0.0.0.0 2023 /usr/sbin/telnetd -i -l /bin/login
    chain_success                      :dbg_toast          :Started Telnet server on port 2023
    chain_failure                      :dbg_toast          :Error starting Telnet server on port 2023
    chain_always:skip:-1
  chain_success                        :dbg_toast          :Stopped Telnet server on port 2023
menu_item :library :Import books       :nickel_misc        :rescan_books_full
menu_item :browser :Invert Screen      :nickel_setting     :toggle :invert
menu_item :browser :Open Pop-Up        :nickel_browser     :modal
Mercador is offline   Reply With Quote