From: Vahis on
On 2009-12-30, Vahis <waxborg(a)gmail.com.invalid> wrote:

zsnip>

I added one line there, kdialog:
>
> #!/bin/bash
> #In case an instance of audacious was left running
> killall audacious2
>
> #In case the directory was left mounted
> umount -l /music/server
>
> #Check if the connection to the server is up
> while ! ping -c 3 -w 4 waxborg.servepics.com >/dev/null 2>&1
> do
### kdialog --error "Connect to Internet first!"
> sleep 10
> done
>
> #Mount the directory
> sshfs waxborg.servepics.com:/music /music/server
>
> #Start player
> /usr/bin/audacious2 -i gtkui
>
> That's it for now.
> If nothing happens before the bouncing cursor disappears the connection
> is not up.
> I'd like a notification of this, other than nothing happening.
>
> When I then start umtsmon, the player starts as when ping is answered the
> script goes on.
>
>>> The script could give a warning

It does now :)
>
> So there's something built in in KDE for interaction.

Kdialog it was.
>
> It gets a little bigger if interactive prompting is added :)

One more line :)

Vahis
--
"Sunrise 9:28am (EET), sunset 3:17pm (EET) at Espoo, FI (5:49 hours daylight)"
http://waxborg.servepics.com
Linux 2.6.25.20-0.5-default #1 SMP 2009-08-14 01:48:11 +0200 x86_64
9:28pm up 61 days 2:29, 10 users, load average: 0.64, 0.26, 0.14
From: Moe Trin on
On Wed, 30 Dec 2009, in the Usenet newsgroup alt.os.linux.suse, in article
<20091230203035(a)usenet.waxborg.local>, Vahis wrote:

>houghi <houghi(a)houghi.org.invalid> wrote:

>> Vahis wrote:

>>>> But on the plus side, you now don't have the sun bother you all
>>>> the time. ;-)

>> Brussels 30/12 Sunrise 8:45 Sunset 16:45
>> Helsinki 30/12 Sunrise 9:25 Sunset 15:21

>OK. Your sun-times are better for the moment.

Phoenix 31/12 Sunrise 07:32 Sunset 17:31

>But I bet it's cloudy there though.

Actually, I'm freezing at the moment (it's 11C outside, and I'm sure
there are icebergs in the swimming pool) but it's clear with a
visibility of 20 KM in haze..

>Wait 6 months, you :)

Phoenix 30/6 Sunrise 05:22 Sunset 19:42 and we don't use daylight time.

The pool will be up in the mid 30s (~33C last June) - just the thing
to cool off when it's down to 42C at sunset. ;-)

Happy New Year anyway!

Old guy
From: Kevin Nathan on
On Thu, 31 Dec 2009 21:10:10 -0600
ibuprofin(a)painkiller.example.tld.invalid (Moe Trin) wrote:

>Phoenix 30/6 Sunrise 05:22 Sunset 19:42 and we don't use daylight
>time.
>
>The pool will be up in the mid 30s (~33C last June) - just the thing
>to cool off when it's down to 42C at sunset. ;-)
>
>Happy New Year anyway!
>
> Old guy

I'm an old guy in Mesa -- we should get together some time... :-)


--
Kevin Nathan (Arizona, USA)
Linux Potpourri and a.o.l.s. FAQ -- (temporarily offline)

Open standards. Open source. Open minds.
The command line is the front line.
Linux 2.6.31.5-0.1-default
20:16pm up 14 days 2:01, 19 users, load average: 0.00, 0.04, 0.09