![]() |
Re: xterminal "top" shortcut
Quote:
|
Re: xterminal "top" shortcut
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? |
Re: xterminal "top" shortcut
MyDocs is located under /home/user/MyDocs
just open up your shell and copy the file with : cp /home/user/MyDocs/YourFile.desktop /usr/share/applications/hildon and beware, linux is CaseSensitive ;) |
Re: xterminal "top" shortcut
Quote:
So your best course of action is: 1. Create /usr/local/bin/ssh-localforward.sh with contents: Code:
#!/bin/shCode:
chmod 755 /usr/local/bin/ssh-localforward.shCode:
Exec=/usr/bin/osso-xterm ssh -L 3389:xxx.xxx.1.xxx:3389 root@mydns -p XXXXCode:
Exec=/usr/bin/osso-xterm /usr/local/bin/ssh-localforward.sh |
Re: xterminal "top" shortcut
Quote:
Ahh does single quoting the argument to osso-xterm allow more than one argument [inside the quote]? |
Re: xterminal "top" shortcut
Quote:
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 |
Re: xterminal "top" shortcut
Quote:
Ok two thing. Try just running the script from an already open Xterm. Just run type in: Code:
/usr/local/bin/Ssh.shTake screenshots and put here if you are still stuck. |
Re: xterminal "top" shortcut
Managed to get it up and running using this tip
http://talk.maemo.org/showpost.php?p...6&postcount=15 Will try to get it into a script later this weekend Thanks for the help. |
Re: xterminal "top" shortcut
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?
|
Re: xterminal "top" shortcut
Quote:
Stumbled across this option while looking for a way to launch an application (mediaplayer in my case) in the background/minimized. Adding a "&" should normally do that, but it didnīt work... |
| All times are GMT. The time now is 19:34. |
vBulletin® Version 3.8.8