![]() |
2010-09-28
, 17:09
|
Posts: 2,829 |
Thanked: 1,459 times |
Joined on Dec 2009
@ Finland
|
#22
|
![]() |
2010-09-28
, 17:22
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#23
|
![]() |
2010-09-28
, 19:09
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#24
|
I did'nt.
When i typed it in i just get a new line ">"
no errors and no result.
`openfile '/home/user/MyDocs/.images/Sketch/Face.jpg'`
![]() |
2010-09-28
, 19:17
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#25
|
That can happen if you have forgotten to complete the string. Like a forgotten citation mark.
What happens if you do:
Code:`openfile '/home/user/MyDocs/.images/Sketch/Face.jpg'`
![]() |
2010-09-28
, 19:27
|
Posts: 1,096 |
Thanked: 760 times |
Joined on Dec 2008
|
#26
|
You were spot on. I forgott the ' at the end.
Now it does open the pic from xterm.
But the problem of the actual .desktop shortcut still exist.
It does not show up in the list of desktop shortcuts or widgets.
(even tried rebooting)
My file is named img.desktop (no other extension like .txt)
It is placed at: usr/share/applications/hildon
This is its content:
[Desktop Entry]
Encoding=UTF-8
Version=0.13
Type=Application
Name=Image
Exec=openfile '/home/user/MyDocs/.images/Sketch/Face.jpg'
Icon=general_image
![]() |
2010-09-29
, 08:19
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#27
|
![]() |
2010-09-29
, 10:26
|
Posts: 1,751 |
Thanked: 844 times |
Joined on Feb 2010
@ Sweden
|
#28
|
i just used notepad on my pc. saved as utf 8. changed .txt to .desktop. then moved it to my phone. i have no idea on how to create it any other way.
ls -la /usr/bin/openfile
![]() |
2010-09-29
, 11:21
|
Posts: 82 |
Thanked: 197 times |
Joined on Jun 2010
|
#29
|
You could download leafpad on the n900.. it pretty much are the same as notepad. It might get a permission problem if you send it from your computer to the n900.
What do this give you?
Code:ls -la /usr/bin/openfile
![]() |
2010-09-29
, 11:44
|
|
Posts: 1,023 |
Thanked: 4,421 times |
Joined on Feb 2010
@ Argentina
|
#30
|
I tried another image and that one actually worked with desktop command widget.
But as far as shortcuts go, i still can't find any.
Are'nt they suppose to show up in the list for adding app shortcuts to the desktop?
Tnx alot btw for the assistance