maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SOLVED] How to create desktop shortcuts for “Notes” files on N900? (https://talk.maemo.org/showthread.php?t=81474)

Mk4ever 2012-01-09 18:33

[SOLVED] How to create desktop shortcuts for “Notes” files on N900?
 
Hey guys,

I’ve been trying to do something with my N900 for a while now, without success. I want to create shortcuts to “Notes” files on one of my N900’s desktops, just the way it’s done on any Windows OS on desktops.

The reason is: I need to make each file a to-do list for work and home tasks, things I want to buy, things I want to accomplish, etc. I can’t manage my time or make any achievements without notes and lists everywhere in my life. I want shortcuts on desktop to quickly open and edit them.

I tried apps other than notes (all that is available, literally) and didn’t like anything other than Nokia’s own “Notes”.
I tried searching for “Notes” specific commands, then xterminal’s commands, then busybox’s commands, then queen beecon’s scripts, at no avail (I’m a windows user, so my knowledge of Linux’s commands was minimal to start with, and I couldn’t figure out making scripts to be honest).

I consulted a friend of mine (a Linux guru), so he tried a few tricks, but nothing worked. Then he tried to switch me to vim. Of course I found that N900’s vim is without GUI, not to mention that I want my files to open with N900’s “Notes” anyways, as I love it.

I have spent over a month trying to figure it out, without results.

So once again, if anybody knows how to create a shortcut for N900’s “Notes” files, please let me know how.

Thank you very much.

JonWW 2012-01-09 19:02

Re: How to create desktop shortcuts for “Notes” files on N900?
 
Use QBW to create a widget for each of your files you want to open in "Notes". Edit the widget and click the "Edit Cmd" button and enter
Code:

osso_notes /full/path/to/file.note.html
Save the widget click on it and "Notes" will open with you chosen file.

Edit: The above solution doesn't work! :( Please ignore.
My working solution below
, which uses a variation of m750 code

m750 2012-01-09 19:42

Re: How to create desktop shortcuts for “Notes” files on N900?
 
Or you can add a new "phantom" application:
create a new .desktop file in /usr/share/applications/hildon
For example: mydocument.desktop
The file must contain these lines

Quote:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=mydocument
Exec=dbus-send --print-reply --dest=com.nokia.osso_notes/com/nokia/osso_notes com.nokia.osso_notes.mime_open string:/home/user/MyDocs/mydocument.txt
Icon=general_notes

blue text must be personalized.

note:
Exec=dbus-send --print-reply --dest=com.nokia.osso_notes/com/nokia/osso_notes com.nokia.osso_notes.mime_open string:/path_to_your_file
is all in one line

Now you can see a new application (mydocument) and you can add it on your desktop.

electroaudio 2012-01-09 19:46

Re: How to create desktop shortcuts for “Notes” files on N900?
 
1 Attachment(s)
What you want to do is not possible in maemo.
But that was the reason why i asked for some help to create a program to do it, which later got the name deskypplet...

With deskypplet you have the whole filesystem aviable to your disposal, and can create folders and notes or anything else, and put it in these folders just like on a real desktop.

However, because of the complete lack of feedback, we have put the updates in the repos on hold, the version there is 0.46 i think, while the version we have is 0.9 and soon 1.0
There is a great difference between these in functionality since our version can handle desktop files, folder customizations and a lot of other stuff that the repository version cant do.

But we may update the repository if we get enough requests to do so...

JonWW 2012-01-09 22:10

Re: How to create desktop shortcuts for “Notes” files on N900?
 
1 Attachment(s)
OK, my first solution, I should have checked properly as it doesn't work. :(
I have written a Queen Beacon Widget that does what you want. I hope you know how to import one.
In Advanced settings enter in the full path to the file you want. It will also place the file name on the widget to differentiate files on the home screen.

Estel 2012-01-09 22:36

Re: How to create desktop shortcuts for “Notes” files on N900?
 
Also, you can simply use Conboy ;) Not exactly w$ndoze way of taking notes, but that isn't con - it's *much* more efficient. Try it, and you'll forget about messing Your desktop with shortcuts for individual notes.

Not to mention that with Conboy (Maemo), you can synchronize notes - for example, with it's mainstream desktop equivalent, Tomboy.

/Estel

longuist 2012-01-10 00:05

Re: How to create desktop shortcuts for “Notes” files on N900?
 
I can second Estel, the best solution for taking notes probably is conboy.
But people sometimes have old (&stupid) habits. Like using a Desktop. And wanting this on a smartphone too. Me included :)
so @ electroaudio:
please update deskypplet, ideally in the repos.

rotoflex 2012-01-10 17:34

Re: How to create desktop shortcuts for “Notes” files on N900?
 
Quote:

Originally Posted by Mk4ever (Post 1148000)
I need to make each file a to-do list for work and home tasks, things I want to buy, things I want to accomplish, etc. I can’t manage my time or make any achievements without notes and lists everywhere in my life.

I use Multilist for this, & it works well for me. You can create several lists within it, for shopping, work tasks, etc., & view & maintain them.

Mk4ever 2012-01-10 19:11

Re: How to create desktop shortcuts for “Notes” files on N900?
 
Amazing!

Amazing indeed is your willingness to help guys. Thank you very much. I now regret not participating in the forum as much as I could.

@JonWW
I already know that osso_notes doesn't accept any switches, but you beat me to mentioning it. It doesn't care about the file you want to open using cli commands; it always opens the last opened file. I have yet to try your second post.

@ m750
Sounds really interesting. Unfortunately, I tried it yesterday but it didn't work. I'll have to repeat the process again carefully to roll out mistakes on my part. By the way, is this procedure dependent on the presence/installation of specific apps (like d-sub switchboard - if I remember the name correctly)?

To all
Many thanks guys for all your support. Unfortunately I have a deadline at work this Saturday, and my teammates are running late. So most likely I won't have the time to test your suggestions for a few days. But I sincerely thank you. I'll try all that you've mentioned (especially deskypplet, which sounds really interesting), and report back.

m750 2012-01-10 22:33

Re: How to create desktop shortcuts for “Notes” files on N900?
 
Quote:

Originally Posted by Mk4ever (Post 1148520)
@ m750
Sounds really interesting. Unfortunately, I tried it yesterday but it didn't work. I'll have to repeat the process again carefully to roll out mistakes on my part. By the way, is this procedure dependent on the presence/installation of specific apps (like d-sub switchboard - if I remember the name correctly)?

No, others apps are not necessary.
Befor posting, i have tested my solution.


All times are GMT. The time now is 06:11.

vBulletin® Version 3.8.8