![]() |
2010-01-17
, 22:53
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#51
|
![]() |
2010-01-20
, 08:53
|
Posts: 35 |
Thanked: 2 times |
Joined on Dec 2009
@ sweden
|
#52
|
![]() |
2010-01-20
, 09:54
|
|
Posts: 93 |
Thanked: 36 times |
Joined on Nov 2009
@ Germany / Mainz
|
#53
|
![]() |
2010-01-20
, 22:30
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#54
|
Hello, i have managed to get the file to the right place and it shows i apps.
My code looks like this
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=topx
Exec=/usr/bin/osso-xterm ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX
Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
but the window dissapear and the nothing happens, can someone help med with this, new at this. Iwould like the shortcut to open upp ssh between n900 and home computer. Am i completly offroad?
#!/bin/sh ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX exit 0
chmod 755 /usr/local/bin/ssh-localforward.sh
Exec=/usr/bin/osso-xterm ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX
Exec=/usr/bin/osso-xterm /usr/local/bin/ssh-localforward.sh
![]() |
2010-01-20
, 23:08
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#55
|
Does anyone know why this doesn't work:
I am thinking that "Terminal=true" means that this command should be executed within an osso-term session in any case.Code:[Desktop Entry] Encoding=UTF-8 Version=0.1 Type=Application Terminal=true Name=ssh hostname Exec=/usr/bin/ssh hostname Icon=
Yet instead we must do this:
What does terminal=true mean then?Code:Terminal=true Exec=/usr/bin/osso-xterm 'ssh hostname'
![]() |
2010-01-21
, 17:55
|
Posts: 35 |
Thanked: 2 times |
Joined on Dec 2009
@ sweden
|
#56
|
osso-xterm only supports one argument.
So your best course of action is:
1. Create /usr/local/bin/ssh-localforward.sh
with contents:
2. Make executable:Code:#!/bin/sh ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX exit 0
3. Change:Code:chmod 755 /usr/local/bin/ssh-localforward.sh
to:Code:Exec=/usr/bin/osso-xterm ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXX
Code:Exec=/usr/bin/osso-xterm /usr/local/bin/ssh-localforward.sh
![]() |
2010-01-21
, 21:31
|
Posts: 152 |
Thanked: 41 times |
Joined on Dec 2009
@ Sydney
|
#57
|
When i launch the icon the terminal says internal fault and closes
I have made a Ssh.sh file in /usr/local/bin and chmod 755, changed the code to:Exec=/usr/bin/osso-xterm /usr/local/bin/Ssh.sh. Whats wrong? The code within Ssh.desktop look like this:
[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Terminal=true
Name=Ssh
Exec=/usr/bin/osso-xterm /usr/local/bin/Ssh.sh
Icon=
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
/usr/local/bin/Ssh.sh
![]() |
2010-01-22
, 06:14
|
Posts: 35 |
Thanked: 2 times |
Joined on Dec 2009
@ sweden
|
#58
|
![]() |
2010-02-06
, 18:46
|
Posts: 6 |
Thanked: 0 times |
Joined on Oct 2009
|
#59
|
![]() |
2010-02-07
, 08:36
|
|
Posts: 597 |
Thanked: 490 times |
Joined on Dec 2009
@ Germany
|
#60
|
OK, I have created a desktop icon that launches an application (actually a Qt application). The problem, is eventhough it launches OK, when I switch to another app, like web browser or such, my Qt app automatically closes - it doesn't show up or remain on the open apps window like Xterm, webbrowser or other apps do. Is there some special priority or something that must be set to keep a user created app alive?
![]() |
Tags |
odod eht oollol |
Thread Tools | |
|