Tiny Core Linux
Tiny Core Base => TCB Tips & Tricks => Topic started by: PDP-8 on August 07, 2019, 03:52:17 AM
-
I was reading bmarkus talking about popups from about 10 years ago ... and just now noticed how cool these lightweight notifications are!
The usual:
popup Hello World!
Hijinks:
popup About To Erase Boot Drive Y/N ?
with only the close button available.... :)
But I see it also works with backticks!
popup You have `calc 2*5` minutes left!
popup I really like using TinyCore `version`
Anyway, you get the drift. I can see using these with backgrounded scripts that merely need to notify me when say a compile is finished, or perhaps with cron jobs etc etc.
Looks like a neat alternative to always having another terminal open and glancing over at it all the time.
Shame on you veteran users and devs from keeping this totally cool secret from me! :)
-
Hi PDP-8
... Shame on you veteran users and devs from keeping this totally cool secret from me! :)
You know she has a sister called popask, right?
-
Is popup usable to another TCL computer, like net send in the old Windows days?
-
It is a local command, but you can use ssh (or remote X11).
-
WOW! I dig it - maybe I'm easily amused, but I can put this to use.
However, I need to file a bug report. If you don't use the mouse to click, but instead use a tab / return key, it will send a different value if you hit the space key!
For now, stick to mouse clicks.
-
Hi, how to add new line in popup?
popup Hello World \n Newline..
Literally printed
Hello World \n Newline..
I want to get
Hello World
Newline..
How to do that?
Thank you.
-
Hi pek
I don't think you can. I think it's limited to 1 line. It won't wrap long lines either. It just displays a wider popup.
If you do this:
tc@E310:~$ popup "Hello there" &
tc@E310:~$ popup "Helloooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo there" &
You'll see popup just uses a much wider window to display the text.
-
That's such a pity.
But good to know, so now I can stop tearing my hair trying to figure out how to do that ;D
Thanks for clarifying Rich.