Reply
Thread Tools
mikec's Avatar
Posts: 1,366 | Thanked: 1,185 times | Joined on Jan 2006
#31
Can these little xterm apps be packaged up into .debs?
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#32
Originally Posted by les_garten View Post
Also, my 26x26 works great for the shortcut but does not show up like yours does here in the main app menu. I just get a generic icon there??
Try installing an app or two from the repos. The app installation process typically refreshes the icon cache.

HTH
 

The Following User Says Thank You to archebyte For This Useful Post:
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#33
Originally Posted by mikec View Post
Can these little xterm apps be packaged up into .debs?
It should be trivial to pack two files and create a deb. Not a bad idea to start off a first maemo dev project.
 
Posts: 352 | Thanked: 231 times | Joined on Jul 2008 @ Vancouver
#34
thanks Archebyte,
my icons didn't show up until I installed a new app. now they are glowing on my desktop.

Now if i could run WOL SSH and RDP all from the same icon (app.desktop file) I will be set.
Can anyone tell me how to run 2 commands in the terminal from one app.desktop file?

Code:
Exec=/usr/bin/osso-xterm 'ssh -l root myip.com -p 22 /usr/sbin/wol -i 192.100.1.255 00:X3:18:F1:86:A1'

Exec=/usr/bin/osso-xterm 'ssh -l root -L 3389:192.100.1.1:3389 myip.com -p 22'
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#35
Originally Posted by timwatt View Post
thanks Archebyte,
Can anyone tell me how to run 2 commands in the terminal from one app.desktop file?

Code:
Exec=/usr/bin/osso-xterm 'ssh -l root myip.com -p 22 /usr/sbin/wol -i 192.100.1.255 00:X3:18:F1:86:A1'

Exec=/usr/bin/osso-xterm 'ssh -l root -L 3389:192.100.1.1:3389 myip.com -p 22'
I would suggest putting the two (or more) commands in a script for e.g. /home/user/myscript.sh
Code:
/usr/bin/osso-xterm 'ssh -l root myip.com -p 22 /usr/sbin/wol -i 192.100.1.255 00:X3:18:F1:86:A1' &
/usr/bin/osso-xterm 'ssh -l root -L 3389:192.100.1.1:3389 myip.com -p 22' &
Note the '&'. make the script executable
Code:
chmod a+x /home/user/myscript.sh
and call it from the .desktop file
Code:
Exec=/home/user/myscript.sh
clicking the app shortcut will launch the two X-Terminal sessions.

HTH
 

The Following User Says Thank You to archebyte For This Useful Post:
Posts: 352 | Thanked: 231 times | Joined on Jul 2008 @ Vancouver
#36
Thanks HTH,

what do i do whit this?

Note the '&'. make the script executable
Code:
chmod a+x /home/user/myscript.sh
Thanks,
Tim
 
Posts: 268 | Thanked: 304 times | Joined on Oct 2009 @ Orlando, USA
#37
Originally Posted by timwatt View Post
Thanks HTH,

what do i do whit this?


Thanks,
Tim
I was highlighting the '&' sign after the ssh commands. Its important to use it for executing the second ssh command.

after putting the two commands in /home/user/myscript.sh, open a terminal and change the permission of the file to make it executable using the above command.

'H'ope 'T'his 'H'elps.

archebyte
 

The Following User Says Thank You to archebyte For This Useful Post:
Posts: 233 | Thanked: 170 times | Joined on Nov 2009 @ Finland
#38
Slightly OT question: Is there any place where the coordinates of the various desktop icons are stored, that could be edited? I would like to manually adjust the x- and y-coordinates of for instance bookmark desktop items to align them properly.
__________________
Read about my N900 experiences from my blog.
 
Posts: 127 | Thanked: 54 times | Joined on Nov 2009
#39
Hi,

I've used this to run a little python script I've created in xterm. It works well. A couple of questions perhaps somebody could hlp with:

1) How do I get xterm to open maximised? I can't really find any extension to do this.
2) Anyway to keep the terminal open after the script completes? At the moment I have a raw_input("") at the end of my script - any way to remove this and get it to drop back into the terminal without closing it?

Hope you can help.

Cheers,

Wizbowes
 
Posts: 152 | Thanked: 41 times | Joined on Dec 2009 @ Sydney
#40
Originally Posted by goodfellabk718 View Post
truuuuueeee, but 2 things

1. I kind of what to see how much i can do on the device (just to know)
2. I haven't made a linux box yet and wasnt sure if doing that through windows was ideal. I'm a couple of weeks from getting another PC and at which time I was planning to install linux on my old machine


i know it would be much easier to grasp once i get a linux box
Why not just load up a Linux distro in a VM??
 
Reply

Tags
odod eht oollol

Thread Tools

 
Forum Jump


All times are GMT. The time now is 19:34.