delete topic obsolete

What features/apps/bugfixes needed in a future Puppy
Post Reply
Message
Author
User avatar
klhrevolutionist
Posts: 1121
Joined: Wed 08 Jun 2005, 10:09

delete topic obsolete

#1 Post by klhrevolutionist »

I was thinking this is a simple thing and it would be puppy's very own I would call'em pupnotes so if anyone is interested in writing this
please do I think it would make a good alt. rather than using leafpad
what I'm thinking is using tknotepad and placing it in the docktray that way when your browsing and see something you need to remember you don't have to leave the browser!!! so PuPnotes will be there to pop up a note and write type what you need to save it somewhere and keep surfing!!!
Any one interested in Project PuPnotes please im me

(!) sticky notes

Answer from Roy

Want to set a sticky note reminder on your screen? Create the tcl/tk script "memo"

#!/usr/bin/wish

button .b -textvariable argv -command exit

pack .b

and call it with

sh -c 'memo remember opera tickets for dinner date &'

Want to make a larger investment in script typing? Then make "memo" look like this:

#!/usr/bin/wish

if [lindex $argv 0] == "-"

set argv [lrange $argv 1 end]

exec echo [exec date "+%x %H:%M"] $argv >>$env(HOME)/.memo

button .b -textvariable argv -command exit
.b config -fg black -bg yellow -wraplength 6i -justify left
.b config -activebackground yellow
.b config -activeforeground black
pack .b

and the memo will appear black on yellow. Also, if the first argument to memo is a dash, the memo will
be logged in the .memo file. The simpleness of the script precludes funny characters in the message, as
the shell will want to act on them.

In either case, left-click the button and the memo disappears.

Preceed it with a DISPLAY variable,

DISPLAY=someterm:0 sh -c 'memo your time card is due &'

and the note will pop up on another display.

Post Reply