![]() |
2010-09-16
, 13:37
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#2
|
![]() |
2010-09-16
, 13:38
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#3
|
The Following User Says Thank You to quipper8 For This Useful Post: | ||
![]() |
2010-09-16
, 13:50
|
Posts: 2 |
Thanked: 0 times |
Joined on Jun 2010
|
#4
|
![]() |
2010-09-16
, 13:56
|
Posts: 436 |
Thanked: 406 times |
Joined on Jan 2010
|
#5
|
![]() |
2010-09-28
, 00:55
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#6
|
You can try this to open files for the time being (Warning this maybe a bit buggy):
1) Download desktop execution widget
2) Make sure you have selected only "update when clicked" before adding a new command.
3) Add a new command which syntax goes like this:
cd /pathname && process filename.txt
where "pathname" is the directory of the file, "process" is the program you want to use and "filename" is the name of the file you want to open.
For example:
cd /home/user && leafpad Script.txt
![]() |
2010-09-28
, 01:16
|
Posts: 436 |
Thanked: 406 times |
Joined on Jan 2010
|
#7
|
I wanted to open an image with the image viewer this way, but had no luck. I tried cd /home/user/MyDocs/.images && image-viewer photo.jpg
also tried image_viewer. Both are stated as the exec in the real shortcut for the image viewer. Any ideas?
![]() |
2010-09-28
, 01:30
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#8
|
Basically if an app cant open with an xterm command, then it wont work with the command line I gave before.
For example leafpad can be called in xterm using
leafpad filename.txt
however image-viewer cant, at least not with a simple command. It may need a long dbus command which I'm not certain of. If i ever figure it out I would post back here.
![]() |
2010-09-28
, 01:55
|
|
Posts: 1,023 |
Thanked: 4,421 times |
Joined on Feb 2010
@ Argentina
|
#9
|
[Desktop Entry] Encoding=UTF-8 Version=0.13 Type=Application Name=Image Exec=openfile '/path/to/image.jpg' Icon=general_image
[Desktop Entry] Encoding=UTF-8 Version=0.13 Type=Application Name=DCIM Exec=filebox '/home/user/MyDocs/DCIM' Icon=general_folder
![]() |
2010-09-28
, 10:00
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#10
|
I have an idea, give me 10 minutes...
EDIT: here we go...
Untar openfile and paste the binary in /usr/bin
Then create your .desktop file.
Here's an example:
For open folders you can't use the default filemanager.Code:[Desktop Entry] Encoding=UTF-8 Version=0.13 Type=Application Name=Image Exec=openfile '/path/to/image.jpg' Icon=general_image
But FileBox can do this.
Here's an example:
Code:[Desktop Entry] Encoding=UTF-8 Version=0.13 Type=Application Name=DCIM Exec=filebox '/home/user/MyDocs/DCIM' Icon=general_folder
This is my first post on the forum, i've checked before posting but could not seem to find information about this; so i hope i'm not bringing back a long-closed topic.
I've been using and loving a N-900 for almost one year.
Something i happen to do quite often is go through the file manager to access several files/folders i use to work with.
So i've been wondering if there was a way to put a direct access to them on the desktop, apparently there's none.
I tried both from the "add shortcut" desktop option, which only offers apps/widgets; and from the file manager itself, but there's no "create shortcut" option for files/folder.
The way i see it, shortcuts to files could launch the matching application just the way the file manager does; and shortcuts to folders could open said folder in the file manager.
Anyone else interested in such features ?
Worth creating a brainstorm ?