tronping

What do you want to see in Armagetron soon? Any new feature ideas? Let's ponder these ground breaking ideas...
Post Reply
User avatar
cage
On Lightcycle Grid
Posts: 12
Joined: Wed Mar 18, 2009 11:26 am

tronping

Post by cage »

hi

I wanted to have the ping time to a peculiar server ALWAYS on my desktop, to be sure it's the right time to play (I have roommates...). I used to just use ping xxx -c3 as a command line, and then asked a friend for something more friendly.
He made this "utility" and I find it really sweet, so I would like to share !
Image

(I use GNU-Linux Debian 5.0 and Gnome, i'm a noob at this so my explanations will be highly noobish)

1. create a file in /usr/local/bin
name: tronping
content:
#!/bin/bash
ping -n $1 | cut -d' ' -f7

2. create a laucher where you want (for example, near your armagetronad launcher on your desktop)
Image

3. edit it like that:
Image

4. here is the command:
aterm -tr +sb -bl -geometry 30x5+0+850 -e tronping 85.25.64.75
(this is the IP of the Yellow Submarine server)

so it should give you this:
Image

Note: if scared you can skip 1. and call ping instead of tronping in the command, but the display is more confused.

---

How to deal with it:

- It is possible to move the window with ALT-right click
- The background is transparent, so it should work with fancy wallpapers
- The coordinates of the window are easy to experiment with :)
- To exit, press ALT F4 with the window selected

---

I would be pleased if anyone use or even improve this "tool".

thanks for your attention :)

* cage is a noob *
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Re: tronping

Post by epsy »

Is that a linux shell cheat sheet on your desk? :)
User avatar
cage
On Lightcycle Grid
Posts: 12
Joined: Wed Mar 18, 2009 11:26 am

Re: tronping

Post by cage »

o.O

I must admit now...

;)
Post Reply