2015-01-19T08:47:51 *** contestbot has joined #aichallenge 2015-01-19T08:47:51 *** ChanServ sets mode: +o contestbot 2015-01-19T08:49:27 *** amstan has quit IRC (Ping timeout: 252 seconds) 2015-01-19T09:18:35 *** btiberi has joined #aichallenge 2015-01-19T09:39:10 *** antimatroid has joined #aichallenge 2015-01-19T09:44:08 *** smiley1983 has quit IRC (Ping timeout: 245 seconds) 2015-01-19T09:48:47 http://pastebin.com/FM6L0ZtL does anyone know how I could get that script when run by root (automatically in /etc/network/if-up.d when connecting to a network) to actually use notify-send to notify me that dropbox has been started/stopped (or any other way for the script to pop something up so I know it ran)? 2015-01-19T09:50:05 (on ubuntu) 2015-01-19T09:51:03 I've tried sudo -u nick at the front, no dice 2015-01-19T09:51:07 *** AlliedEnvy has quit IRC (Ping timeout: 245 seconds) 2015-01-19T09:57:21 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T09:57:38 *** antimatroid has joined #aichallenge 2015-01-19T10:04:08 *** AlliedEnvy has joined #aichallenge 2015-01-19T10:08:31 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T10:08:49 *** antimatroid has joined #aichallenge 2015-01-19T10:09:45 *** antimatroid1 has joined #aichallenge 2015-01-19T10:10:33 *** antimatroid1 has quit IRC (Client Quit) 2015-01-19T10:10:38 *** antimatroid has joined #aichallenge 2015-01-19T10:19:16 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T10:19:34 *** antimatroid has joined #aichallenge 2015-01-19T10:19:57 *** smiley1983 has joined #aichallenge 2015-01-19T10:23:52 *** antimatroid has quit IRC (Read error: No route to host) 2015-01-19T10:23:57 *** antimatroid1 has joined #aichallenge 2015-01-19T11:06:35 antimatroid1: completely untested but first thing I would try is sudo -iu nick the -i runs the users login shell 2015-01-19T11:07:09 janzert: cheers, pretty sure i've found a workaround which i'm currently playing with, otherwise will try that 2015-01-19T11:07:29 http://hackaday.com/2009/09/18/how-to-write-udev-rules/ that page outlines my problem 2015-01-19T11:11:39 *** antimatroid1 has quit IRC (Quit: Leaving.) 2015-01-19T11:11:51 *** antimatroid has joined #aichallenge 2015-01-19T11:13:38 *** antimatroid1 has joined #aichallenge 2015-01-19T11:13:41 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2015-01-19T11:16:18 janzert: don't think your suggestion works, the workaround i linked does though, so i'm all good, thanks 2015-01-19T11:30:15 *** antimatroid1 has quit IRC (Quit: Leaving.) 2015-01-19T11:30:19 *** antimatroid has joined #aichallenge 2015-01-19T11:32:23 *** antimatroid has quit IRC (Client Quit) 2015-01-19T11:33:25 *** antimatroid has joined #aichallenge 2015-01-19T11:35:39 *** antimatroid has quit IRC (Client Quit) 2015-01-19T11:36:34 *** antimatroid has joined #aichallenge 2015-01-19T11:37:34 *** antimatroid has joined #aichallenge 2015-01-19T11:39:28 *** antimatroid has quit IRC (Client Quit) 2015-01-19T11:39:39 *** antimatroid has joined #aichallenge 2015-01-19T11:56:43 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T11:56:56 *** antimatroid has joined #aichallenge 2015-01-19T11:57:55 *** antimatroid has joined #aichallenge 2015-01-19T11:59:52 *** antimatroid has quit IRC (Client Quit) 2015-01-19T12:00:17 *** antimatroid has joined #aichallenge 2015-01-19T12:09:06 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T12:09:17 *** antimatroid has joined #aichallenge 2015-01-19T12:10:16 *** antimatroid has joined #aichallenge 2015-01-19T12:11:47 *** antimatroid has quit IRC (Client Quit) 2015-01-19T12:12:03 *** antimatroid has joined #aichallenge 2015-01-19T12:12:49 http://pastebin.com/wgEgNeEc that was grosser than anticipated, but works 2015-01-19T12:15:14 so it is indeed a missing environment variable, just not one even a normal login shell will provide :( 2015-01-19T12:29:06 yeah, seems it was pretty gross, probably could try a different indicator thing, but this works now :P 2015-01-19T12:31:40 as far as i can tell it blindly throws "notify-send" to every pid matched with nick and gnome-panel, surely it wouldn't need to do it for every pid? 2015-01-19T12:34:57 *** mceier has quit IRC (Ping timeout: 252 seconds) 2015-01-19T12:36:50 *** mceier has joined #aichallenge 2015-01-19T13:05:43 *** dici has joined #aichallenge 2015-01-19T13:09:01 *** Scooper has joined #aichallenge 2015-01-19T13:09:52 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T13:10:09 *** antimatroid has joined #aichallenge 2015-01-19T13:11:14 *** antimatroid has quit IRC (Client Quit) 2015-01-19T13:11:29 *** antimatroid has joined #aichallenge 2015-01-19T13:12:34 *** antimatroid1 has joined #aichallenge 2015-01-19T13:12:35 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2015-01-19T13:25:44 *** antimatroid1 has quit IRC (Quit: Leaving.) 2015-01-19T13:26:27 *** antimatroid has joined #aichallenge 2015-01-19T13:28:26 *** antimatroid has joined #aichallenge 2015-01-19T13:42:26 *** foRei has quit IRC (Read error: Connection reset by peer) 2015-01-19T14:07:54 *** antimatroid has quit IRC (Read error: Connection reset by peer) 2015-01-19T14:25:02 *** antimatroid has joined #aichallenge 2015-01-19T15:30:53 *** contestbot has joined #aichallenge 2015-01-19T15:30:53 *** ChanServ sets mode: +o contestbot 2015-01-19T15:32:51 *** amstan_ has quit IRC (Ping timeout: 276 seconds) 2015-01-19T16:19:26 *** btiberi has quit IRC (Quit: This computer has gone to sleep) 2015-01-19T16:44:44 *** btiberi has joined #aichallenge 2015-01-19T16:51:15 *** sigh has joined #aichallenge 2015-01-19T17:01:27 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T17:01:50 *** antimatroid has joined #aichallenge 2015-01-19T17:26:04 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T17:44:08 *** sigh has quit IRC (Remote host closed the connection) 2015-01-19T17:44:50 *** antimatroid has joined #aichallenge 2015-01-19T18:16:19 *** cyphase has quit IRC (Ping timeout: 252 seconds) 2015-01-19T18:21:38 *** Scooper has quit IRC (Quit: Leaving) 2015-01-19T18:23:05 *** dici has quit IRC (Quit: Leaving.) 2015-01-19T18:31:57 *** antimatroid has quit IRC (Quit: Leaving.) 2015-01-19T18:56:49 *** btiberi has quit IRC (Quit: This computer has gone to sleep) 2015-01-19T19:22:21 *** btiberi has joined #aichallenge 2015-01-19T20:38:30 *** foRei has joined #aichallenge 2015-01-19T20:52:15 *** smiley1983 has quit IRC (Ping timeout: 265 seconds) 2015-01-19T21:42:43 *** btiberi has joined #aichallenge