You are not logged in.
Hi,
I use an on the desktop conky todo list but its not floating my boat....
Want something I can get too easily and edit in Gnome
Thought about a file page in the fox but a blank white page with a few lines on it looks awful
Are there any cool note apps? screenlets? google apps? I could use
RTM is not on the list waay over the top for my needs
Thanks
MrG
Mr Green
Offline
Gnotes/Tomboy? I just use Notecase but it is not an always display sort of thing...
Online
Here's a recipe: Take a terminal (e.g. urxvt), tell your WM to remove borders, fix placement, always below (or above with a hotkey if you like), make it autostart when starting the session and start it with -e "vi" and configure vi to autosave periodically (http://vim.wikia.com/wiki/Auto-save_cur … riodically)
This gets you a place to write stuff into, it saves automatically, and it's always there.
Result!
Offline
I wrote a little perl script which converts the output of calcurse to a format interpretable by conky. Currently, I'm
at work, but if you can wait approximately 2 hours, I can post it here.
Offline
Wow thanks guys something to get me started
Mr Green
Offline
Ok, there I am again. It's no magic and all, but like you said, maybe it's something to get you started. I wanted to post this on my Arch Linux blog
but crouse hasn't created one for me yet, so here it is:
#!/usr/bin/perl
my %inited;
while( <> )
{
if( /^to do:$/ )
{
# filter "to do:" line
}
if( /^([0-9]{2})\/([0-9]{2})\/([0-9]{2}):$/ )
{
# date of a task
if( ! exists $inited{"task"} )
{
print "\${template1 TASKS}\n\$font";
$inited{"task"} = 1;
}
print "\${color1}$2.$1.$3\n\${color1}";
}
elsif( /^\s+\*\s+(.+)/ )
{
# tasks for a whole day
print " - $1\n";
}
elsif( /^\s+-\s+(.+)/ )
{
# time range of tasks with special time
print " - $1: ";
}
elsif( /^[0-9]\. (.+)/ )
{
# reminders
if( ! exists $inited{"reminder"} )
{
print "\${template1 REMINDERS}\n\$font\${color1}";
$inited{"reminder"} = 1;
}
print "$1\n";
}
elsif( /\s+(.+)/ )
{
# description of tasks with special time
print "$1\n";
}
}
And this is how you might want to embed it in your .conkyrc:
[...]
# Headline color
color0 Tan1
# Information text
color1 83BF1B
# color of lines next to headline
color2 DarkSlateGray
[...]
# template for headline
template1 ${font Arial:bold:size=10}$color0 \1 $color2 ${hr 2}
[...]
TEXT
[...]
${execpi 300 calcurse -d14 | ~/.conky/calcurse_task_to_conky.pl}
${execpi 300 calcurse -t | ~/.conky/calcurse_task_to_conky.pl}
[...]
Have fun with it!
Edit: Added the removal of the "to do:" line
Last edited by the_isz (2009-06-16 17:29:01)
Offline
I use this it's pretty simple but very handy
"is adult entertainment killing our children or is killing our children entertaining adults?" Marilyn Manson
Offline
I use the todo.sh script (todotxt.com - also in the aur) for todos -- it's very easy to pop open a terminal and add/edit/list entries. It's formatted as a plain text file, so I use this little script to output it as a nicely formatted list with a heading for each 'context' to conky (assuming you use the @ notation to tag each entry) --
#!/bin/sh
for item in `todo.sh -d ~/.todotxt/todo.cfg lsc|sed 's/@//g'`
do
echo `echo $item|tr a-z A-Z`
todo.sh -pd ~/.todotxt/todo.cfg ls `echo @"$item"` |sed 's/@[^ ]*//g' |sed 's/^/ /'
done
Then added to conky like:
${font DejaVu Sans:size=8}${color #ffccaa}TODO
${font DejaVu Sans:size=8}${color #CCCCCC}${execi 300 /home/firecat53/scripts/todolist.sh }
As an added bonus I set up the AIM bot server as described on the website so I can add/view/list todo items from my non-smartphone. Quite cool to send a msg from my phone and see my todo list updated on the computer a couple of minutes later!
Good luck!
Scott
Last edited by firecat53 (2009-06-16 15:09:29)
Offline
If you're using Gnome, there is the sticky note applet that you can add to the panel. The notes don't look all that spiffy, but they sit on your desktop nagging . . . er, reminding you of things you need to do. You certainly can't beat it for "easy to use."
Basket Notes is another good app. Yes, it's designed for KDE, but it works fine with Gnome, sits in the system tray and has more options and features than Baskin-Robbins has flavors. Info about it here: http://basket.kde.org/
Smarter than a speeding bullet
My Goodreads profile
Offline
Take a look at xpad in the community repo.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
pad sticky things etc... are not the best looking thing in world
conky is very close to what I need, wondered if a page in the browser would do the trick?
you can view a file in firefox, could have tab with todos in it... sync with dropbox so I can get it on the move
there must be something like that already?
MrG
Mr Green
Offline
Is the only problem with conky the lack of a way to quickly edit the list?
It should be trivial to write a tray app that brings up an editor to let you change the list displayed by conky.
If this is what you want, I could probably write it for you.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
As the name denotes, calcurse has a curse-based front-end (with vi keybindings as default), so editing your todos and tasks is very easy.
Offline
@Xyne that is exactly how I have been using it, conky displays the todo list and I had a launcher linked to editor [that opens list] works fine but I have browser open most the time so thought about displaying it in a tab and so I could get to it quickly without trying to find my desktop [ctrl+alt+d]
Mr Green
Offline
So ideally you would want a bookmarked webpage that contains the list and which you could edit from within the browser, possibly keeping the list displayed in conky?
That might be possible with some javascript and a textarea.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I just feel that I use a browser more than the desktop, changing tabs [click] is easier
I can file:/// in firefox so can get a local todo list onscreen [but it does look awful] so yes a bit of html/php
java well I do not want it on the net saves uploading and logging in etc.... again I can add file to dropbox for use anywhere
Mr Green
Offline
This is somewhat related but I'm working on a Timekeeper for myself using python (cherrypy), and sqlite, and once it's finished it should be easy to package up. Because it uses sqlite as the backend it can be queried easily through scripts etc.
Offline
todo.py
#!/usr/bin/env python
from BaseHTTPServer import HTTPServer, BaseHTTPRequestHandler
from cgi import parse_header, parse_multipart
from sys import argv
class BHandler(BaseHTTPRequestHandler):
def do_GET(self):
global port
global fpath
try:
f = open(fpath)
except IOError:
self.send_error(404,'File Not Found: %s' % fpath)
except:
self.send_error(404,'Unexpected Error')
else:
todo = f.read()
f.close()
self.send_response(200)
self.send_header('Content-type', 'text/html')
self.end_headers()
response = """
<html><head><title>To Do</title><style type="text/css">
textarea {width:100%%;height:90%%;}</style></head><body>
<form method='POST' enctype='multipart/form-data' action='http://localhost:%d/'>
<textarea name="list">%s</textarea><br />
<input type=submit value="update">
</form></body></html>
""" % (port,todo)
self.wfile.write(response)
def do_POST(self):
#global rootnode
try:
ctype, pdict = cgi.parse_header(self.headers.getheader('content-type'))
if ctype == 'multipart/form-data':
query=cgi.parse_multipart(self.rfile, pdict)
newlist = query.get('list')[0]
except :
pass
else:
f = open(fpath,'w')
f.write(newlist)
f.close()
self.do_GET()
def main(port):
try:
server = HTTPServer(('localhost', port), BHandler)
server.serve_forever()
except KeyboardInterrupt:
server.socket.close()
if __name__ == '__main__':
if len(argv) == 3:
global port
global fpath
port = int(argv[1])
fpath = argv[2]
main(port)
else:
print "usage: %s <port> <file>" % argv[0]
Usage: ./todo.py <port> <file>
Browser URL: http://localhost:<port>
That will read a file on the disk and display it in a text area in your browser when you navigate to the URL. You can edit the list directly without any external editor.
Technical Notes
This does not use Javascript.
The script is bound to localhost so it can only be accessed locally on your computer.
It only has access to the file specified when you start the application.
If you like the basic idea, it would be easy to update the script to format the output with html tags (e.g. bullet lists, headwords and indented descriptions, etc). You would really need to be much more specific about what you actually want than you've been so far in this thread in that case.
Last edited by Xyne (2009-06-17 15:26:40)
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
emmm interesting .... no an in browser list would be better for me, I could link any file to dropbox...
Let me have a play see what I can do
Thanks
MrG
Mr Green
Offline
Are there any cool note apps? screenlets? google apps? I could use
Emacs org-mode is extremely simple yet very powerful. It utilizes a simple plain-text format - which also means you can grab your agenda from just about anywhere, a conky script, have cron e-mail it to you every morning, or simply display it on your desktop.
You need to install an RTFM interface.
Offline
Are there any cool note apps? screenlets? google apps? I could use
Emacs org-mode is extremely simple yet very powerful. It utilizes a simple plain-text format - which also means you can grab your agenda from just about anywhere, a conky script, have cron e-mail it to you every morning, or simply display it on your desktop.
I'd second this, I'm writing my Timekeeper to replace org-mode for me, but so far it wouldn't have a tenth of the features that org-mode has. It's the only reason I even use Emacs. Plus I have scripted it to send the current days appointments to my phone at 7:15 each morning in vcal format
Offline
Ok, perhaps Remember the Milk will suit? http://www.rememberthemilk.com/
It will integrate with tasque, which is in the AUR
aur/tasque 0.1.8-1 (67)
Simple Task Manager for the Linux Desktop
So you'd have your webpage interface and you'd be able to manage it from a smaller app on your desktop.
Smarter than a speeding bullet
My Goodreads profile
Offline
Xyne's Python App is very close to what I want
RTM well its an online thing and it takes too long to add items and in that time I could have done them
Conky does the job if only on the desktop, its the post ebay stuff reminders and collect bits for pc notes is what I need
my lists are not date specific do as I go along type things
Thanks for all the input and help
MrG
Mr Green
Offline