• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

How can I show a borderless (Bash) shell terminal window on top of MM?

Scheduled Pinned Locked Moved Development
xtermshellbashterminalconsole
3 Posts 2 Posters 2.1k Views 2 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • E Offline
    E3V3A
    last edited by E3V3A Jan 23, 2018, 12:32 PM Jan 23, 2018, 11:07 AM

    Hello!

    I would like to show a borderless (Bash) shell terminal window on top of MM.

    At first I thought I’d have not make an entire new MMM, but then realized it would have to
    involve a lot coding in JS and integration of xterm.js etc etc. which would be crazy, compared to just showing a terminal “on top” of MM. (Coping sdout to MMM iFrame wouldn’t do it since, I need the colored xterm with terminal graphics.)

    However, I would like the appeatrance to be controlled or activated by some MMM module.

    How would I best go about this?

    Or perhaps there’s already an MMM-xterm somewhere?

    "Everything I do (here) is for free – altruism is the way!"
    MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

    N 1 Reply Last reply Jan 23, 2018, 1:51 PM Reply Quote 0
    • N Offline
      ninjabreadman @E3V3A
      last edited by Jan 23, 2018, 1:51 PM

      @E3V3A You can experiment with urxvt and with URxvt*borderLess:true in .Xdefaults. You can then use ChildProcess.exec() (primer here) to launch urxvt which should also permit you to kill it from MM.

      Problem with config or JavaScript? Copy/paste it into JSHint.
      Check out the detailed walkthroughs on install, config, modules, etc.

      E 1 Reply Last reply Feb 19, 2018, 1:55 PM Reply Quote 0
      • E Offline
        E3V3A @ninjabreadman
        last edited by Feb 19, 2018, 1:55 PM

        @ninjabreadman Hi! Thanks, I knew about that, but was hoping to use the default lxterminal, but unfortunately it only allows --geometry=CHARACTERSxLINES as option.

        Your solution of using rxvt-unicode seem pretty good as it supports 256 colors etc. However, in the end, I decided that I’d rather have a native MMM, than just throwing a window on top of everything. That complicates things though. I simply don’t see how to go about implementing the JS version of xterm into a Module. Perhaps something to suggest in the requests area?

        Anyway, could be useful for all those people and command-line junkies, who want to see their raw python output.

        "Everything I do (here) is for free – altruism is the way!"
        MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        • First post
          Last post
        Enjoying MagicMirror? Please consider a donation!
        MagicMirror created by Michael Teeuw.
        Forum managed by Sam, technical setup by Karsten.
        This forum is using NodeBB as its core | Contributors
        Contact | Privacy Policy