Active Topics

 


Reply
Thread Tools
pipeline's Avatar
Posts: 693 | Thanked: 502 times | Joined on Jul 2007
#11
Sorry just saw your post.

Your right that would be more useful. If you were only interested in a single application you could probably hack that using the .desktop files. I know that when i install quiver, it makes itself the default viewer of image filetypes (overriding the default nokia image viewer)... so thats possible i just havent had time to figure that out. As long as you stay under Home/Documents or mmc.

I would want it to still give options for multiple associations though. Otherwise you might as well use splicer to edit the files to hack a real, differerent association.

I use splicer all the time to load and edit text files in any directory using leafpad.

Depending on whether the 2008 OS addresses association, i may enhance the program in the future.
 
Posts: 5 | Thanked: 2 times | Joined on Jan 2008 @ Helsinki, Finland
#12
I'm not sure if this thread is still relevant but i'd very much love to share a few words.

I think all of you should know about mailcap(5). It's great and has been quite common in various sorts of unixen, but regrettably not on vanilla OS2008. There's an RFC for mailcap, number 1524 so you know the system has some background and credibility. It's elegant, and to put it short it works like this: there's a systemwide definitiondatabase in /etc/mailcap or the user can have her own ~/.mailcap. An entry for the image/jpeg -type could look like this:

Code:
image/jpeg; /usr/X11R6/bin/xli '%s'; test=test -n "$DISPLAY"; description=JPEG Image; nametemplate=%s.jpg
Now if the user wants to view a file whose MIME-type is somehow known to be defined as image/jpeg or alternatively matches the template %s.jpg, the xli(1) program is invoked for eventually displaying the image. In addition to the view-function, the RFC defines such actions as compose, edit, print and some others too. Here is a more complicated entry, two lines for Microsoft Word documents:

Code:
application/msword; wvMime '%s'; copiousoutput; description=Microsoft Word Document; test=test -n "$DISPLAY"; print=wvWare --nographics -x /usr/share/wv/wvHtml.xml '%s' | lynx -dump -force_html -nolist /dev/stdin | print text/plain:-
application/msword; wvWare --nographics -x /usr/share/wv/wvHtml.xml '%s' | lynx -dump -force_html -nolist /dev/stdin; copiousoutput; description=Microsoft Word Document; print=wvWare --nographics -x /usr/share/wv/wvHtml.xml '%s' | lynx -dump -force_html -nolist /dev/stdin | print text/plain:-
On a normal GNU Linux system programs such as view(1) and edit(1) provide a simple and very useful command-line interface to this system. Mailreaders also understand it, and webbrowsers too and filebrowsers.

To me the perfect file manager is a graphical filesystembrowser plus an interface to mailcap. I'm an oldsk00l unix-dude, your mileage (and history) may vary.

I would assume a lot of the languages you'd implement a Maemo project in already has a mailcap -parser you could use.

Now how does that sound to you lot?
 
Posts: 45 | Thanked: 2 times | Joined on Dec 2009 @ Bulgaria
#13
I have similar problems. I uninstall Docs to go and now .doc file association is missing. I installed Abyword and KOffice, but they didnt associate themselves as default app for .doc file type ! Please help.
 
Reply


 
Forum Jump


All times are GMT. The time now is 13:20.